evio
6.0
|
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... | |
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.
|
default |
No arg constructor.
|
inline |
SingleMember evio::CompositeData::DataItem::item = {0} |
Place for holding a primitive type.
Referenced by evio::CompositeData::Data::addChar(), evio::CompositeData::Data::addDouble(), evio::CompositeData::Data::addFloat(), evio::CompositeData::Data::addInt(), evio::CompositeData::Data::addLong(), evio::CompositeData::Data::addm(), evio::CompositeData::Data::addN(), evio::CompositeData::Data::addn(), evio::CompositeData::Data::addShort(), evio::CompositeData::Data::addString(), evio::CompositeData::Data::addUChar(), evio::CompositeData::Data::addUint(), evio::CompositeData::Data::addULong(), evio::CompositeData::Data::addUShort(), DataItem(), and evio::CompositeData::process().
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().