evio  6.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
evio::CompositeData::DataItem Class Reference

This class defines an individual data item. More...

#include <CompositeData.h>

Public Member Functions

 DataItem ()=default
 No arg constructor. More...
 
 DataItem (DataItem const &other)
 Copy constructor. More...
 

Public Attributes

SingleMember item = {0}
 Place for holding a primitive type. More...
 
std::vector< std::string > strVec {}
 Place for holding strings, NOT a primitive type. More...
 

Detailed Description

This class defines an individual data item.

The class, CompositeData#Data, which defines all data in a composite data object, contains a vector of these, individual data items. There is a separation between members of primitive types which are stored as CompositeData#SingleMember objects, from those of strings which are stored in a vector of strings. This is done since it doesn't make sense to include a vector in the union with primitives.

Constructor & Destructor Documentation

evio::CompositeData::DataItem::DataItem ( )
default

No arg constructor.

evio::CompositeData::DataItem::DataItem ( DataItem const &  other)
inline

Copy constructor.

Parameters
otherobject to copy.

References item, and strVec.

Member Data Documentation

std::vector<std::string> evio::CompositeData::DataItem::strVec {}

Place for holding strings, NOT a primitive type.

Referenced by evio::CompositeData::Data::addString(), DataItem(), and evio::CompositeData::process().


The documentation for this class was generated from the following file: