Classes | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes

EM::RelationTree Class Reference

List of all members.

Classes

class  Node

Public Member Functions

 RelationTree (bool is2d, bool read=true)
 ~RelationTree ()
const RelationTree::NodegetNode (const MultiID &) const
void getParents (int, TypeSet< int > &) const
void removeNode (const MultiID &, bool write=true)
void addRelation (const MultiID &id1, const MultiID &id2, bool write=true)
int findRelation (const MultiID &, const MultiID &) const
bool getSorted (const TypeSet< MultiID > &unsortedids, TypeSet< MultiID > &sortedids) const
bool read ()
bool write () const

Protected Member Functions

int findNode (const MultiID &) const

Static Protected Member Functions

static const char * sKeyHorizonRelations ()

Protected Attributes

ObjectSet< RelationTree::Nodenodes_
bool is2d_

Constructor & Destructor Documentation

EM::RelationTree::RelationTree ( bool  is2d,
bool  read = true 
)
EM::RelationTree::~RelationTree (  ) 

Member Function Documentation

void EM::RelationTree::addRelation ( const MultiID id1,
const MultiID id2,
bool  write = true 
)
int EM::RelationTree::findNode ( const MultiID  )  const [protected]
int EM::RelationTree::findRelation ( const MultiID ,
const MultiID  
) const
const RelationTree::Node* EM::RelationTree::getNode ( const MultiID  )  const
void EM::RelationTree::getParents ( int  ,
TypeSet< int > &   
) const
bool EM::RelationTree::getSorted ( const TypeSet< MultiID > &  unsortedids,
TypeSet< MultiID > &  sortedids 
) const
bool EM::RelationTree::read (  ) 
void EM::RelationTree::removeNode ( const MultiID ,
bool  write = true 
)
static const char* EM::RelationTree::sKeyHorizonRelations (  )  [static, protected]
bool EM::RelationTree::write (  )  const

Member Data Documentation

bool EM::RelationTree::is2d_ [protected]