#include <GroupDatabase.h>
Public Member Functions | |
GroupDatabase () | |
GroupDatabase (JString xml) | |
GroupDatabase (XMLNode *node) | |
virtual | ~GroupDatabase () |
Object * | clone () 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) |
Group * | getGroup (int pos) |
Group * | operator[] (int pos) |
JString | print () |
JString | toXML () |
bool | fromXML (XMLNode *node) |
Public Attributes | |
ObjectCollection | list |
Definition at line 34 of file GroupDatabase.h.
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.
Object * cmlabs::GroupDatabase::clone | ( | ) | const [virtual] |
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.
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] |
JString cmlabs::GroupDatabase::toXML | ( | ) | [virtual] |
bool cmlabs::GroupDatabase::fromXML | ( | XMLNode * | node | ) | [virtual] |
Definition at line 44 of file GroupDatabase.h.