evio::evioCompositeDOMLeafNode Class Reference

Sub-class of evioDOMLeafNode<uint32_t> represents composite leaf node. More...

#include <evioUtil.hxx>

Inheritance diagram for evio::evioCompositeDOMLeafNode:
evio::evioDOMLeafNode< uint32_t > evio::evioDOMNode

List of all members.

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.

Detailed Description

Sub-class of evioDOMLeafNode<uint32_t> represents composite leaf node.

Only accessible to users via pointer to evioDOMNode object.


Constructor & Destructor Documentation

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.

Parameters:
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.

Parameters:
par Parent node
tg Node tag
num Node num
evioCompositeDOMLeafNode::~evioCompositeDOMLeafNode ( void   )  [protected]
evio::evioCompositeDOMLeafNode::evioCompositeDOMLeafNode ( const evioCompositeDOMLeafNode lNode  )  throw (evioException) [protected]

Member Function Documentation

string evioCompositeDOMLeafNode::getBody ( int  depth,
const evioToStringConfig config = &defaultToStringConfig 
) const [virtual]

Returns XML string containing body needed by toString.

Parameters:
depth Current depth
Returns:
XML string

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.

Returns:
number 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 >.


Friends And Related Function Documentation

friend class evioDOMNode [friend]

Allows evioDOMNode to use private subclass methods.

Reimplemented from evio::evioDOMLeafNode< uint32_t >.


Member Data Documentation

Num to use for the internal data bank.

Referenced by getBody().

Tag to use for the internal data bank.

Referenced by getBody().

The format string.

Referenced by getBody(), and getSize().

Tag to use for the internal format bank.

Referenced by getBody().


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

Generated on 4 Feb 2014 for evio by  doxygen 1.6.1