![]() |
Middle Europe Productions Library
alpha 1.3.3
|
#include <Group.h>
Public Member Functions | |
| GroupManager ()=default | |
| bool | _insert (MEP::U_int32 ID, MEP::U_int32 group, PtrType value) |
| X & | _get (MEP::U_int32 ID, MEP::U_int32 group) const |
| SecondStructure & | _getGroup (MEP::U_int32 group) |
| bool | _deleteGroup (MEP::U_int32 group) |
| bool | _deleteElement (MEP::U_int32 ID, MEP::U_int32 group) |
| template<typename Method > | |
| void | _execute (Method method) |
| template<typename Method > | |
| bool | _execute (Method method, MEP::U_int32 group) |
| template<typename Method > | |
| void | _execute (Method method) const |
| template<typename Method > | |
| bool | _execute (Method method, MEP::U_int32 group) const |
| void | _debugOutput (std::ostream &out, const char *before="", const char *after="") const |
| template<typename Out > | |
| void | _debugOutput (std::ostream &out, Out method) const |
| unsigned int | _size () const |
| bool | _empty () const |
| void | _clear () |
A library memory management system is built around this container.
|
default |
|
inline |
Clears the map.
|
inline |
Diagnostic tool.
|
inline |
Diagnostic tool.
|
inline |
Deletes the object.
|
inline |
Deletes the group of objects.
|
inline |
Is constainer empty.
|
inline |
Executes method a for all of the elements.
|
inline |
Executes constant method a for all of the elements.
|
inline |
Execute method for a group of objects.
|
inline |
Execute constant method for a group of objects.
|
inline |
Outputs the element.
|
inline |
Outputs the group of elements.
|
inline |
Insert the element at a given spot. When SecondStructure is a std::set or std::map executes in O(logn + m) else
When SecondStructure is a std::list executes in O(m) Where n is a numer of elements in m-th group, and m is a number of groups.
|
inline |
Number of objects.