![]() |
ENSDF++ 1.1
An easy, fast and simple way to run querys towards the ENSDF database, written in C++.
|
Implemented by all classes which can have classes implementing Child added to them. More...
#include <ChildAddable.h>
Public Member Functions | |
ChildAddable () | |
Constructor. Does nothing. | |
~ChildAddable () | |
Essentially tells all children that their parent was destroyed, and that they should forget about it. | |
list< T * > | getChildren () const |
Returns a list of all children added. | |
void | addChild (T *childPtr) |
Adds a child. | |
void | removeChild (T *childPtr) |
Removes a child. | |
bool | operator== (const ChildAddable< T > &rhs) const |
Equals operator. | |
Protected Attributes | |
list< T * > | myChildren |
The children currently added to this ChildAddable. |
Implemented by all classes which can have classes implementing Child added to them.
Used by for example NormalizationRecord.
Definition at line 28 of file ChildAddable.h.