Configuration options for toString() method. More...
#include <evioUtil.hxx>
Public Member Functions | |
| evioToStringConfig () | |
| No-arg constructor with no dictionary. | |
| evioToStringConfig (const evioDictionary *dictionary) | |
| Constructor accepts dictionary. | |
| evioToStringConfig (const evioDictionary &dictionary) | |
| Constructor accepts dictionary. | |
| virtual | ~evioToStringConfig () |
| Destructor. | |
| 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. | |
Public Attributes | |
| bool | xtod |
| True print unsigned values as decimal. | |
| bool | noData |
| True do not dump leaf node data. | |
| int | maxDepth |
| Max depth to dump. | |
| int | indentSize |
| Indent size per unit of depth. | |
| bool | verbose |
| Turn on verbose mode. | |
| vector< uint16_t > | bankOk |
| Vector of bank tags to dump. | |
| vector< uint16_t > | noBank |
| Vector of bank tags to skip. | |
| vector< string > | bankNameOk |
| Vector of bank names to dump. | |
| vector< string > | noBankName |
| Vector of bank names to skip. | |
| const evioDictionary * | toStringDictionary |
| Dictionary to use. | |
Protected Member Functions | |
| void | init (void) |
| Initializes config. | |
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.
References init().
| evioToStringConfig::evioToStringConfig | ( | const evioDictionary * | dictionary | ) |
Constructor accepts dictionary.
| dictionary | evioDictionary |
References init(), and toStringDictionary.
| evioToStringConfig::evioToStringConfig | ( | const evioDictionary & | dictionary | ) |
Constructor accepts dictionary.
| dictionary | evioDictionary |
References init(), and toStringDictionary.
| evioToStringConfig::~evioToStringConfig | ( | ) | [virtual] |
Destructor.
| virtual const evioDictionary* evio::evioToStringConfig::getDictionary | ( | void | ) | const [inline, virtual] |
References toStringDictionary.
| void evioToStringConfig::init | ( | void | ) | [protected] |
Initializes config.
References indentSize, maxDepth, noData, toStringDictionary, verbose, and xtod.
Referenced by evioToStringConfig().
| virtual void evio::evioToStringConfig::setDictionary | ( | const evioDictionary & | dict | ) | [inline, virtual] |
References toStringDictionary.
| virtual void evio::evioToStringConfig::setDictionary | ( | const evioDictionary * | dict | ) | [inline, virtual] |
References toStringDictionary.
Referenced by evio::evioDOMTree::toString().
| 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 bankNameOk, bankOk, evio::evioDictionary::getName(), evio::evioDictionary::getNameMap, noBank, noBankName, evio::evioDOMNode::num, evio::evioDOMNode::tag, and toStringDictionary.
| vector<string> evio::evioToStringConfig::bankNameOk |
Vector of bank names to dump.
Referenced by skipNode().
| vector<uint16_t> evio::evioToStringConfig::bankOk |
Vector of bank tags to dump.
Referenced by skipNode().
Indent size per unit of depth.
Referenced by evio::evioCompositeDOMLeafNode::getBody(), and init().
Max depth to dump.
Referenced by init().
| vector<uint16_t> evio::evioToStringConfig::noBank |
Vector of bank tags to skip.
Referenced by skipNode().
| vector<string> evio::evioToStringConfig::noBankName |
Vector of bank names to skip.
Referenced by skipNode().
True do not dump leaf node data.
Referenced by init().
Dictionary to use.
Referenced by evioToStringConfig(), getDictionary(), evio::evioDOMContainerNode::getFooter(), evio::evioDOMContainerNode::getHeader(), init(), setDictionary(), skipNode(), and evio::evioDOMTree::toString().
Turn on verbose mode.
Referenced by init().
True print unsigned values as decimal.
Referenced by init().
1.6.1