#include <PersistNode.h>
Public Member Functions | |
PersistNode () | |
Create an empty node. | |
PersistNode (istream &is) | |
Create root node and read tree from stream. | |
~PersistNode () | |
Free node and all its children. | |
void | output (ostream &os, string name) const |
bool | readnode (istream &is) |
bool | readtoken (istream &is, string &tok) |
PersistNode * | addnode (const string &name) |
void | delnode (const string &name) |
void | addattr (const string &keyvalue) |
void | addattr (const string &key, long value) |
bool | hasAttr (const string &key) const |
string | attrString (const string &key, const string &fallback="") const |
long | attrLong (const string &key, long fallback=0) const |
PersistNode * | child (const string &key) const |
Public Attributes | |
map< string, PersistNode * > | _child |
map< string, string > | _attr |
Friends | |
class | omniEventsLog |
Definition at line 48 of file PersistNode.h.
|
Create an empty node.
Definition at line 51 of file PersistNode.h. Referenced by addnode(). |
|
Create root node and read tree from stream.
Definition at line 33 of file PersistNode.cc. References readnode(). |
|
Free node and all its children.
Definition at line 38 of file PersistNode.cc. References _child. |
|
Definition at line 144 of file PersistNode.cc. References _attr. |
|
Definition at line 138 of file PersistNode.cc. References _attr. Referenced by OmniEvents::omniEventsLog::bootstrap(), and readnode(). |
|
Definition at line 98 of file PersistNode.cc. References _child, addnode(), and PersistNode(). Referenced by addnode(), OmniEvents::omniEventsLog::bootstrap(), and readnode(). |
|
Definition at line 163 of file PersistNode.cc. References _attr. Referenced by OmniEvents::EventChannel_i::cyclePeriod_ns(), OmniEvents::EventChannel_i::maxNumProxies(), OmniEvents::EventChannel_i::maxQueueLength(), OmniEvents::omniEventsLog::parse(), OmniEvents::EventChannel_i::pullRetryPeriod_ms(), and OmniEvents::ProxyPushSupplier_i::reincarnate(). |
|
Definition at line 155 of file PersistNode.cc. References _attr. Referenced by OmniEvents::EventChannel_i::activate(), OmniEvents::ConsumerAdmin_i::ConsumerAdmin_i(), OmniEvents::ProxyPushSupplier_i::reincarnate(), OmniEvents::ProxyPullSupplier_i::reincarnate(), and OmniEvents::ProxyPullConsumer_i::reincarnate(). |
|
Definition at line 171 of file PersistNode.cc. References _child. Referenced by OmniEvents::EventChannel_i::activate(), OmniEvents::omniEventsLog::incarnateFactory(), OmniEvents::omniEventsLog::parse(), OmniEvents::SupplierAdmin_i::reincarnate(), and OmniEvents::ConsumerAdmin_i::reincarnate(). |
|
Definition at line 119 of file PersistNode.cc. References _child. Referenced by readnode(). |
|
Definition at line 151 of file PersistNode.cc. References _attr. Referenced by OmniEvents::ConsumerAdmin_i::ConsumerAdmin_i(). |
|
Definition at line 44 of file PersistNode.cc. References _attr. Referenced by OmniEvents::EventChannel_i::output(). |
|
Definition at line 67 of file PersistNode.cc. References addattr(), addnode(), delnode(), and readtoken(). Referenced by PersistNode(). |
|
Definition at line 84 of file PersistNode.cc. Referenced by readnode(). |
|
Definition at line 74 of file PersistNode.h. |
|
Definition at line 72 of file PersistNode.h. Referenced by OmniEvents::EventChannel_i::activate(), addattr(), attrLong(), attrString(), hasAttr(), and output(). |
|