| evio
    5.3
    | 
This class defines an entry in the XML dictionary. More...
#include <evioDictEntry.hxx>
| Public Member Functions | |
| evioDictEntry () | |
| Zero arg constructor.  More... | |
| evioDictEntry (uint16_t tag) | |
| Constructor for tag-only entry.  More... | |
| evioDictEntry (uint16_t tag, uint8_t num, uint16_t tagEnd) | |
| Constructor for tag-range entry.  More... | |
| evioDictEntry (uint16_t tag, uint8_t num) | |
| Constructor for tag and num entry.  More... | |
| evioDictEntry (uint16_t tag, uint8_t num, uint16_t tagEnd, DataType type, bool numIsUndefined=false, string format="", string description="") | |
| General constructor.  More... | |
| evioDictEntry (uint16_t tag, uint8_t num, uint16_t tagEnd, bool hasParent, uint16_t parentTag, uint8_t parentNum, uint16_t parentTagEnd, DataType type, bool numIsUndefined=false, string format="", string description="") | |
| General constructor.  More... | |
| evioDictEntry (const evioDictEntry &entry) | |
| Copy constructor.  More... | |
| virtual | ~evioDictEntry () | 
| Destructor.  More... | |
| uint16_t | getTag () const | 
| Get the tag value of this entry.  More... | |
| uint16_t | getTagEnd () const | 
| Get the ending value of a tag range defined by this entry.  More... | |
| uint8_t | getNum () const | 
| Get the num value of this entry.  More... | |
| bool | isNumUndefined () const | 
| Get whether num is undefined.  More... | |
| DataType | getType () const | 
| Get the data type of this entry.  More... | |
| DictEntryType | getEntryType () const | 
| Get the type of this entry.  More... | |
| string | getFormat () const | 
| Get the string describing the data format of this entry.  More... | |
| string | getDescription () const | 
| Get the string describing the data of this entry.  More... | |
| uint16_t | getParentTag () const | 
| Get the tag of parent entry if any.  More... | |
| uint16_t | getParentTagEnd () const | 
| Get the tagEnd of parent entry if any.  More... | |
| uint8_t | getParentNum () const | 
| Get the num of parent entry if any.  More... | |
| bool | hasParent () const | 
| Does this entry have a valid parent entry?  More... | |
| string | toString () const | 
| Create a string representation of this object.  More... | |
| bool | inRange (uint16_t tagArg) | 
| Is the given tag within the specified range (inclusive) of this dictionary entry?  More... | |
| bool | operator== (const evioDictEntry &tn) const | 
| bool | operator< (const evioDictEntry &tn) const | 
| Static Public Member Functions | |
| static DataType | getDataType (const char *type) | 
| Given a string data type, return the equivalent DataType enum.  More... | |
| Friends | |
| class | evioDictionary | 
This class defines an entry in the XML dictionary.
| evioDictEntry::evioDictEntry | ( | ) | 
Zero arg constructor.
References evio::EVIO_UNKNOWN32.
| 
 | explicit | 
| evioDictEntry::evioDictEntry | ( | uint16_t | tag, | 
| uint8_t | num, | ||
| uint16_t | tagEnd | ||
| ) | 
Constructor for tag-range entry.
If tag > tagEnd, these values are switched.
| tag | beginning tag of range | 
| num | num is used only to differentiate this from the tag-num constructor. | 
| tagEnd | ending tag of range | 
References evio::EVIO_UNKNOWN32.
| evioDictEntry::evioDictEntry | ( | uint16_t | tag, | 
| uint8_t | num | ||
| ) | 
| evioDictEntry::evioDictEntry | ( | uint16_t | tag, | 
| uint8_t | num, | ||
| uint16_t | tagEnd, | ||
| DataType | type, | ||
| bool | numIsUndefined = false, | ||
| string | format = "", | ||
| string | description = "" | ||
| ) | 
General constructor.
If tag > tagEnd, these values are switched.
| tag | tag or the beginning tag of a range. | 
| num | num. | 
| tagEnd | ending tag of a range. Set to 0 or same value as tag if no range desired. | 
| type | type of evio data contained in evio structure this entry represents. | 
| numIsUndefined | if desiring a tag-range or tag-only entry, set this to true  false  | 
| format | string describing data format. Defaults to "". | 
| description | string describing data. Defaults to "". | 
| evioDictEntry::evioDictEntry | ( | uint16_t | tag, | 
| uint8_t | num, | ||
| uint16_t | tagEnd, | ||
| bool | hasParent, | ||
| uint16_t | parentTag, | ||
| uint8_t | parentNum, | ||
| uint16_t | parentTagEnd, | ||
| DataType | type, | ||
| bool | numIsUndefined = false, | ||
| string | format = "", | ||
| string | description = "" | ||
| ) | 
General constructor.
If tag > tagEnd, these values are switched.
| tag | tag or the beginning tag of a range. | 
| num | num. | 
| tagEnd | ending tag of a range. Set to 0 or same value as tag if no range desired. | 
| type | type of evio data contained in evio structure this entry represents. | 
| numIsUndefined | if desiring a tag-range or tag-only entry, set this to true  false  | 
| format | string describing data format. Defaults to "". | 
| description | string describing data. Defaults to "". | 
| evioDictEntry::evioDictEntry | ( | const evioDictEntry & | entry | ) | 
Copy constructor.
| 
 | virtual | 
Destructor.
| 
 | static | 
Given a string data type, return the equivalent DataType enum.
@parm type data type string of "unknown32", "uint32", ... "bank", "segment".
References evio::EVIO_UNKNOWN32.
Referenced by evio::evioDictionary::startElementHandler().
| string evioDictEntry::getDescription | ( | ) | const | 
Get the string describing the data of this entry.
Referenced by evio::evioDictionary::toString().
| DictEntryType evioDictEntry::getEntryType | ( | ) | const | 
Get the type of this entry.
Referenced by evio::evioDictionary::charDataHandler(), evio::evioDictionary::getName(), and evio::evioDictionary::startElementHandler().
| string evioDictEntry::getFormat | ( | ) | const | 
Get the string describing the data format of this entry.
Referenced by evio::evioDictionary::toString().
| uint8_t evioDictEntry::getNum | ( | ) | const | 
Get the num value of this entry.
Referenced by evio::evioDOMTree::addBank(), evio::evioDOMNode::createEvioDOMNode(), evio::evioDOMNode::createUnknownEvioDOMNode(), evio::evioDOMNode::evioDOMNode(), evio::evioDOMTree::evioDOMTree(), evio::evioDictionary::getName(), evio::evioDOMNode::operator!=(), evio::tagNumComp::operator()(), evio::evioDOMNode::operator==(), and evio::evioDictionary::toString().
| uint8_t evioDictEntry::getParentNum | ( | ) | const | 
Get the num of parent entry if any.
| uint16_t evioDictEntry::getParentTag | ( | ) | const | 
Get the tag of parent entry if any.
| uint16_t evioDictEntry::getParentTagEnd | ( | ) | const | 
Get the tagEnd of parent entry if any.
| uint16_t evioDictEntry::getTag | ( | ) | const | 
Get the tag value of this entry.
Referenced by evio::evioDOMTree::addBank(), evio::evioDOMNode::createEvioDOMNode(), evio::evioDOMNode::createUnknownEvioDOMNode(), evio::evioDOMNode::evioDOMNode(), evio::evioDOMTree::evioDOMTree(), evio::evioDictionary::getName(), evio::evioDOMNode::operator!=(), evio::tagNumComp::operator()(), evio::evioDOMNode::operator==(), and evio::evioDictionary::toString().
| uint16_t evioDictEntry::getTagEnd | ( | ) | const | 
Get the ending value of a tag range defined by this entry.
Referenced by evio::evioDictionary::getName().
| DataType evioDictEntry::getType | ( | ) | const | 
Get the data type of this entry.
| bool evioDictEntry::hasParent | ( | ) | const | 
Does this entry have a valid parent entry?
| bool evioDictEntry::inRange | ( | uint16_t | tagArg | ) | 
Is the given tag within the specified range (inclusive) of this dictionary entry?
| tagArg | tag to compare with range | 
References evio::TAG_RANGE.
Referenced by evio::evioDictionary::getName().
| bool evioDictEntry::isNumUndefined | ( | ) | const | 
Get whether num is undefined.
| 
 | inline | 
| 
 | inline | 
| string evioDictEntry::toString | ( | ) | const | 
Create a string representation of this object.
| 
 | friend |