cmlabs::GroupDatabase Class Reference

#include <GroupDatabase.h>

Inheritance diagram for cmlabs::GroupDatabase:

Inheritance graph
[legend]
Collaboration diagram for cmlabs::GroupDatabase:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GroupDatabase ()
 GroupDatabase (JString xml)
 GroupDatabase (XMLNode *node)
virtual ~GroupDatabase ()
Objectclone () const
bool addGroup (Group *group)
bool removeGroup (Group *group)
bool removeGroup (int pos)
bool replaceGroup (Group *oldGroup, Group *newGroup)
bool replaceGroup (int pos, Group *group)
GroupgetGroup (int pos)
Groupoperator[] (int pos)
JString print ()
JString toXML ()
bool fromXML (XMLNode *node)

Public Attributes

ObjectCollection list


Detailed Description

Definition at line 34 of file GroupDatabase.h.


Constructor & Destructor Documentation

cmlabs::GroupDatabase::GroupDatabase (  ) 

Definition at line 27 of file GroupDatabase.cpp.

cmlabs::GroupDatabase::GroupDatabase ( JString  xml  ) 

Definition at line 30 of file GroupDatabase.cpp.

cmlabs::GroupDatabase::GroupDatabase ( XMLNode node  ) 

Definition at line 35 of file GroupDatabase.cpp.

cmlabs::GroupDatabase::~GroupDatabase (  )  [virtual]

Definition at line 40 of file GroupDatabase.cpp.


Member Function Documentation

Object * cmlabs::GroupDatabase::clone (  )  const [virtual]

Implements cmlabs::Object.

Definition at line 42 of file GroupDatabase.cpp.

bool cmlabs::GroupDatabase::addGroup ( Group group  ) 

Definition at line 81 of file GroupDatabase.cpp.

bool cmlabs::GroupDatabase::removeGroup ( Group group  ) 

Definition at line 85 of file GroupDatabase.cpp.

bool cmlabs::GroupDatabase::removeGroup ( int  pos  ) 

Definition at line 89 of file GroupDatabase.cpp.

bool cmlabs::GroupDatabase::replaceGroup ( Group oldGroup,
Group newGroup 
)

Definition at line 93 of file GroupDatabase.cpp.

bool cmlabs::GroupDatabase::replaceGroup ( int  pos,
Group group 
)

Definition at line 97 of file GroupDatabase.cpp.

Group * cmlabs::GroupDatabase::getGroup ( int  pos  ) 

Definition at line 101 of file GroupDatabase.cpp.

Group * cmlabs::GroupDatabase::operator[] ( int  pos  ) 

Definition at line 105 of file GroupDatabase.cpp.

JString cmlabs::GroupDatabase::print (  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 48 of file GroupDatabase.cpp.

JString cmlabs::GroupDatabase::toXML (  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 61 of file GroupDatabase.cpp.

bool cmlabs::GroupDatabase::fromXML ( XMLNode node  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 65 of file GroupDatabase.cpp.


Member Data Documentation

Definition at line 44 of file GroupDatabase.h.


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

Generated on Tue Jul 7 16:24:16 2009 for CoreLibrary by  doxygen 1.5.6