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...

Contains pure virtuals
Definition#include <iftree.hh>
Inherited byIfTree, IfTreeAddr4, IfTreeAddr6, IfTreeInterface, IfTreeVif
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Protected Static Methods

Protected Members


Detailed Description

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

 ~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.

string  str ()

str

[const]

inline uint32_t  bits (State st)

bits

[protected static]

State _st

_st

[protected]


Generated by: pavlin on possum.icir.org on Mon Jun 9 13:23:54 2003, using kdoc 2.0a54+XORP.