interreality.org [VOS]
[Home] [About]
[Screenshots]
[Download]
[News]
[Community]
[Documentation] [Manual]
[Bugs & Requests] [Wiki]

VOS::VobjectState Class Reference
[libvos]

#include <vos/vos/vobjectstate.hh>

List of all members.


Detailed Description

This holds the actual state common to every Vobject: the type set, the child list, and the parent set.

Listeners are also stored here, although the methods of this class do not actually trigger the listener callbacks. The API for VobjectState is basically a subset of Vobject, for obvious reasons. You shouldn't ever access a Vobject's state object state directly unless you have a very good reason to bypass the extensions, access control checks and listener callbacks that are implemented by VobjectBase.

Definition at line 72 of file vobjectstate.hh.

Public Types

Public Member Functions

Public Attributes


Member Typedef Documentation

Definition at line 76 of file vobjectstate.hh.

Definition at line 75 of file vobjectstate.hh.

typedef std::set<std::string> VOS::VobjectState::TypeSet

Definition at line 77 of file vobjectstate.hh.


Constructor & Destructor Documentation

VOS::VobjectState::VobjectState ( VobjectBase myvobject  ) 

VOS::VobjectState::~VobjectState (  ) 


Member Function Documentation

void VOS::VobjectState::addParent ( ParentChildRelation pcr  ) 

void VOS::VobjectState::addType ( const std::string &  s  ) 

void VOS::VobjectState::clearChildren (  ) 

VUtil::vRef<ParentChildRelation> VOS::VobjectState::findChild ( const std::string &  c  ) 

VUtil::vRef<ParentChildRelation> VOS::VobjectState::findChild ( int  pos  ) 

VUtil::vRef<ParentChildRelation> VOS::VobjectState::findParent ( Vobject parent  ) 

VUtil::vRef<ParentChildRelation> VOS::VobjectState::findParent ( Vobject parent  ) 

void VOS::VobjectState::fixPosition ( int &  pos,
int  forinsert = 0 
)

VUtil::vRef<VobjectBase> VOS::VobjectState::getBase (  ) 

ChildListIterator VOS::VobjectState::getChildren ( int  start = 0,
int  end = -1 
)

ParentSetIterator VOS::VobjectState::getParents (  ) 

TypeSetIterator VOS::VobjectState::getTypes (  ) 

bool VOS::VobjectState::hasChild ( int  pos  ) 

bool VOS::VobjectState::hasChild ( const std::string &  c  ) 

void VOS::VobjectState::insertChild ( int  pos,
const std::string &  c,
Vobject vobj 
)

int VOS::VobjectState::numChildren (  ) 

void VOS::VobjectState::removeChild ( int  pos  ) 

void VOS::VobjectState::removeParent ( ParentChildRelation pcr  ) 

void VOS::VobjectState::removeType ( const std::string &  s  ) 

void VOS::VobjectState::setChild ( int  pos,
const std::string &  c,
Vobject vobj 
)


Member Data Documentation

Definition at line 94 of file vobjectstate.hh.

Definition at line 93 of file vobjectstate.hh.

boost::recursive_mutex VOS::VobjectState::state_mutex

Definition at line 90 of file vobjectstate.hh.

Definition at line 92 of file vobjectstate.hh.


The documentation for this class was generated from the following file: