Sub-class of evioDOMLeafNode<uint32_t> represents composite leaf node. More...
#include <evioUtil.hxx>
Public Member Functions | |
virtual string | getBody (int depth, const evioToStringConfig *config=&defaultToStringConfig) const |
Returns XML string containing body needed by toString. | |
virtual int | getSize (void) const |
Returns numnber of data elements. | |
Public Attributes | |
uint16_t | formatTag |
Tag to use for the internal format bank. | |
string | formatString |
The format string. | |
uint16_t | dataTag |
Tag to use for the internal data bank. | |
uint8_t | dataNum |
Num to use for the internal data bank. | |
Protected Member Functions | |
evioCompositeDOMLeafNode (evioDOMNodeP par, uint16_t tag, uint8_t num, uint16_t formatTag, const string &formatString, uint16_t dataTag, uint8_t dataNum, const vector< uint32_t > &v) throw (evioException) | |
Composite leaf node constructor used internally. | |
evioCompositeDOMLeafNode (evioDOMNodeP par, uint16_t tag, uint8_t num, uint16_t formatTag, const string &formatString, uint16_t dataTag, uint8_t dataNum, const uint32_t *p, int ndata) throw (evioException) | |
Composite leaf node constructor used internally. | |
~evioCompositeDOMLeafNode (void) | |
evioCompositeDOMLeafNode (const evioCompositeDOMLeafNode &lNode) throw (evioException) | |
bool | operator= (const evioCompositeDOMLeafNode &lNode) |
Friends | |
class | evioDOMNode |
Allows evioDOMNode to use private subclass methods. |
Sub-class of evioDOMLeafNode<uint32_t> represents composite leaf node.
Only accessible to users via pointer to evioDOMNode object.
evioCompositeDOMLeafNode::evioCompositeDOMLeafNode | ( | evioDOMNodeP | par, | |
uint16_t | tg, | |||
uint8_t | num, | |||
uint16_t | formatTag, | |||
const string & | formatString, | |||
uint16_t | dataTag, | |||
uint8_t | dataNum, | |||
const vector< uint32_t > & | v | |||
) | throw (evioException) [protected] |
Composite leaf node constructor used internally.
par | Parent node | |
tg | Node tag | |
num | Node num |
evioCompositeDOMLeafNode::evioCompositeDOMLeafNode | ( | evioDOMNodeP | par, | |
uint16_t | tg, | |||
uint8_t | num, | |||
uint16_t | formatTag, | |||
const string & | formatString, | |||
uint16_t | dataTag, | |||
uint8_t | dataNum, | |||
const uint32_t * | p, | |||
int | ndata | |||
) | throw (evioException) [protected] |
Composite leaf node constructor used internally.
par | Parent node | |
tg | Node tag | |
num | Node num |
evioCompositeDOMLeafNode::~evioCompositeDOMLeafNode | ( | void | ) | [protected] |
evio::evioCompositeDOMLeafNode::evioCompositeDOMLeafNode | ( | const evioCompositeDOMLeafNode & | lNode | ) | throw (evioException) [protected] |
string evioCompositeDOMLeafNode::getBody | ( | int | depth, | |
const evioToStringConfig * | config = &defaultToStringConfig | |||
) | const [virtual] |
Returns XML string containing body needed by toString.
depth | Current depth |
Reimplemented from evio::evioDOMLeafNode< uint32_t >.
References dataNum, dataTag, formatString, formatTag, evio::evioDOMNode::getIndent(), and evio::evioToStringConfig::indentSize.
int evioCompositeDOMLeafNode::getSize | ( | void | ) | const [virtual] |
Returns numnber of data elements.
Reimplemented from evio::evioDOMLeafNode< uint32_t >.
References formatString.
bool evio::evioCompositeDOMLeafNode::operator= | ( | const evioCompositeDOMLeafNode & | lNode | ) | [protected] |
Reimplemented from evio::evioDOMLeafNode< uint32_t >.
friend class evioDOMNode [friend] |
Allows evioDOMNode to use private subclass methods.
Reimplemented from evio::evioDOMLeafNode< uint32_t >.
Num to use for the internal data bank.
Referenced by getBody().
Tag to use for the internal data bank.
Referenced by getBody().
Tag to use for the internal format bank.
Referenced by getBody().