#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 32 of file PersistNode.cc. References readnode(). |
|
|
Free node and all its children.
Definition at line 37 of file PersistNode.cc. References _child. |
|
||||||||||||
|
Definition at line 143 of file PersistNode.cc. References _attr. |
|
|
Definition at line 137 of file PersistNode.cc. References _attr. Referenced by OmniEvents::omniEventsLog::bootstrap(), and readnode(). |
|
|
Definition at line 97 of file PersistNode.cc. References _child, addnode(), and PersistNode(). Referenced by addnode(), OmniEvents::omniEventsLog::bootstrap(), and readnode(). |
|
||||||||||||
|
||||||||||||
|
Definition at line 154 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 170 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 118 of file PersistNode.cc. References _child. Referenced by readnode(). |
|
|
Definition at line 150 of file PersistNode.cc. References _attr. Referenced by OmniEvents::ConsumerAdmin_i::ConsumerAdmin_i(). |
|
||||||||||||
|
Definition at line 43 of file PersistNode.cc. Referenced by OmniEvents::EventChannel_i::output(). |
|
|
Definition at line 66 of file PersistNode.cc. References addattr(), addnode(), delnode(), and readtoken(). Referenced by PersistNode(). |
|
||||||||||||
|
Definition at line 83 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(). |
|
1.4.3-20050530