#include <MLAPI_BaseObject.h>
Public Member Functions | |
BaseObject () | |
Constructor with empty label. | |
BaseObject (const string &Label) | |
Constructor with given Label. | |
virtual | ~BaseObject () |
Destructor. | |
void | SetLabel (const string &Label) |
Sets the Label of this object to Label . | |
const string & | GetLabel () const |
Returns the Label of this object. | |
virtual std::ostream & | Print (std::ostream &os, const bool Verbose=true) const =0 |
Prints information on stream. | |
Private Attributes | |
string | Label_ |
Label of this object. | |
Static Private Attributes | |
static int | count_ |
MLAPI::BaseObject::BaseObject | ( | ) | [inline] |
MLAPI::BaseObject::BaseObject | ( | const string & | Label | ) | [inline] |
virtual MLAPI::BaseObject::~BaseObject | ( | ) | [inline, virtual] |
const string& MLAPI::BaseObject::GetLabel | ( | ) | const [inline] |
virtual std::ostream& MLAPI::BaseObject::Print | ( | std::ostream & | os, | |
const bool | Verbose = true | |||
) | const [pure virtual] |
void MLAPI::BaseObject::SetLabel | ( | const string & | Label | ) | [inline] |
int MLAPI::BaseObject::count_ [static, private] |
string MLAPI::BaseObject::Label_ [private] |