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

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

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

int  set_state (State st)

set_state

State  state ()

state

[const]

int  mark (State st)

mark

bool  is_marked (State st)

is_marked

[const]

void  set_soft (bool en)

set_soft

bool  is_soft ()

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

string  str ()

str

[const]

uint32_t  bits (State st)

bits

[protected static]

State _st

_st

[protected]

bool _soft

_soft

[protected]


Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:10:56 2009, using kdoc 2.0a54+XORP.