ML
Version of the Day
|
Basic class for MLAPI objects. More...
#include <MLAPI_BaseObject.h>
Public Member Functions | |
BaseObject () | |
Constructor with empty label. | |
BaseObject (const std::string &Label) | |
Constructor with given Label. | |
virtual | ~BaseObject () |
Destructor. | |
void | SetLabel (const std::string &Label) |
Sets the Label of this object to Label . | |
const std::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. | |
Basic class for MLAPI objects.
BaseObject is the basic class for all MLAPI objects. Currently, it contains the label of the object and method Print().