evio
5.2
|
Configuration options for toString() method. More...
#include <evioUtil.hxx>
Public Member Functions | |
evioToStringConfig () | |
No-arg constructor with no dictionary. More... | |
evioToStringConfig (const evioDictionary *dictionary) | |
Constructor accepts dictionary. More... | |
evioToStringConfig (const evioDictionary &dictionary) | |
Constructor accepts dictionary. More... | |
virtual | ~evioToStringConfig () |
Destructor. More... | |
virtual void | setDictionary (const evioDictionary *dict) |
virtual void | setDictionary (const evioDictionary &dict) |
virtual const evioDictionary * | getDictionary (void) const |
bool | skipNode (const evioDOMNodeP pNode) const |
Checks if bank tag/num is listed in include/exclude vectors by tag/num OR by name. More... | |
Public Attributes | |
bool | xtod |
True print unsigned values as decimal. More... | |
bool | noData |
True do not dump leaf node data. More... | |
int | maxDepth |
Max depth to dump. More... | |
int | indentSize |
Indent size per unit of depth. More... | |
bool | verbose |
Turn on verbose mode. More... | |
vector< uint16_t > | bankOk |
Vector of bank tags to dump. More... | |
vector< uint16_t > | noBank |
Vector of bank tags to skip. More... | |
vector< string > | bankNameOk |
Vector of bank names to dump. More... | |
vector< string > | noBankName |
Vector of bank names to skip. More... | |
const evioDictionary * | toStringDictionary |
Dictionary to use. More... | |
Protected Member Functions | |
void | init (void) |
Initializes config. More... | |
Configuration options for toString() method.
max_depth: depth to convert to, 0 means no limit, default 0. no_data: true to not dump data of leaf nodes, default false. indentSize indent size for increasing bank level depth, default 3 toStringDictionary dictionary to use, overrides default dictionary
evioToStringConfig::evioToStringConfig | ( | ) |
No-arg constructor with no dictionary.
evioToStringConfig::evioToStringConfig | ( | const evioDictionary * | dictionary | ) |
Constructor accepts dictionary.
dictionary | evioDictionary |
evioToStringConfig::evioToStringConfig | ( | const evioDictionary & | dictionary | ) |
Constructor accepts dictionary.
dictionary | evioDictionary |
|
virtual |
Destructor.
|
inlinevirtual |
|
protected |
Initializes config.
|
inlinevirtual |
Referenced by evio::evioDOMTree::toString().
|
inlinevirtual |
bool evioToStringConfig::skipNode | ( | const evioDOMNodeP | pNode | ) | const |
Checks if bank tag/num is listed in include/exclude vectors by tag/num OR by name.
pNode | Node under consideration |
References evio::evioDOMNode::num, and evio::evioDOMNode::tag.
vector<string> evio::evioToStringConfig::bankNameOk |
Vector of bank names to dump.
vector<uint16_t> evio::evioToStringConfig::bankOk |
Vector of bank tags to dump.
int evio::evioToStringConfig::indentSize |
Indent size per unit of depth.
Referenced by evio::evioCompositeDOMLeafNode::getBody().
int evio::evioToStringConfig::maxDepth |
Max depth to dump.
vector<uint16_t> evio::evioToStringConfig::noBank |
Vector of bank tags to skip.
vector<string> evio::evioToStringConfig::noBankName |
Vector of bank names to skip.
bool evio::evioToStringConfig::noData |
True do not dump leaf node data.
const evioDictionary* evio::evioToStringConfig::toStringDictionary |
Dictionary to use.
Referenced by evio::evioDOMContainerNode::getFooter(), evio::evioDOMContainerNode::getHeader(), and evio::evioDOMTree::toString().
bool evio::evioToStringConfig::verbose |
Turn on verbose mode.
bool evio::evioToStringConfig::xtod |
True print unsigned values as decimal.