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 inline 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 |
inline bool set_state (State st)
| set_state |
inline State state ()
| state |
[const]
inline bool mark (State st)
| mark |
inline bool is_marked (State st)
| is_marked |
[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]
inline uint32_t bits (State st)
| bits |
[protected static]
[protected]
Generated by: pavlin on possum.icir.org on Mon Jun 9 13:23:54 2003, using kdoc 2.0a54+XORP. |