Ocean
|
This class implements a scoped hierarchy. More...
Public Member Functions | |
~ScopedHierarchyBase () | |
Releases the hierarchy and disposes this object. More... | |
void | change (const std::string &newHierarchyItem) |
Explicitly exchanges the hierarchy instead of releasing it and creating a new one. More... | |
void | release () |
Explicitly releases the hierarchy (already before the destructor is called). More... | |
Protected Member Functions | |
ScopedHierarchyBase (const ScopedHierarchyBase &scopedHierarchy)=delete | |
Disabled copy constructor. More... | |
ScopedHierarchyBase (DebugElements &owner, const std::string &hierarchyItem) | |
Creates a new scoped object and pushes the given hierarchy. More... | |
ScopedHierarchyBase & | operator= (const ScopedHierarchyBase &scopedHierarchy)=delete |
Disabled copy operator. More... | |
Protected Attributes | |
DebugElements & | owner_ |
The owner of this object. More... | |
std::string | hierarchyItem_ |
The hierarchy item of this object. More... | |
This class implements a scoped hierarchy.
The hierarchy exists as long as this object exists.
|
inline |
Releases the hierarchy and disposes this object.
|
protecteddelete |
Disabled copy constructor.
scopedHierarchy | The hierarchy object which would have been copied |
|
inlineprotected |
Creates a new scoped object and pushes the given hierarchy.
owner | The owner of the scoped object |
hierarchyItem | The hierarchy item to be pushed, must be valid |
void Ocean::DebugElements::ScopedHierarchyBase::change | ( | const std::string & | newHierarchyItem | ) |
Explicitly exchanges the hierarchy instead of releasing it and creating a new one.
Actually pops the current hierarchy and pushes the new one.
newHierarchyItem | The new hierarchy item to be pushed, must be valid |
|
protecteddelete |
Disabled copy operator.
scopedHierarchy | The hierarchy object which would have been copied |
void Ocean::DebugElements::ScopedHierarchyBase::release | ( | ) |
Explicitly releases the hierarchy (already before the destructor is called).
|
protected |
The hierarchy item of this object.
|
protected |
The owner of this object.