class IfTreeItem
|
Base class for FEA configurable items where the modifications need
to be held over and propagated later, ie changes happen during a
transaction but are propagated during the commit. More... |
|
|
Public Types
- enum State { NO_CHANGE = 0x00,
CREATED = 0x01,
DELETED = 0x02,
CHANGED = 0x04
}
Public Methods
Protected Static Methods
- static uint32_t bits (State st)
Protected Members
Base class for FEA configurable items where the modifications need
to be held over and propagated later, ie changes happen during a
transaction but are propagated during the commit.
~IfTreeItem ()
| ~IfTreeItem |
[virtual]
enum State { NO_CHANGE = 0x00,
CREATED = 0x01,
DELETED = 0x02,
CHANGED = 0x04
}
| State |
int set_state (State st)
| set_state |
[const]
bool is_marked (State st)
| is_marked |
[const]
void set_soft (bool en)
| set_soft |
[const]
void finalize_state ()
| finalize_state |
[pure virtual]
Virtual method to be implemented to flush out state associated
objects, ie if an object is marked CREATED or CHANGED it should be
marked NO_CHANGE, if an object is marked DELETED, it should be
removed from the relevant container and destructed.
[const]
uint32_t bits (State st)
| bits |
[protected static]
[protected]
[protected]
Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:10:56 2009, using kdoc 2.0a54+XORP.