MLAPI::BaseObject Class Reference

Basic class for MLAPI objects. More...

#include <MLAPI_BaseObject.h>

Inheritance diagram for MLAPI::BaseObject:

Inheritance graph
[legend]

List of all members.

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_


Detailed Description

BaseObject is the basic class for all MLAPI objects. Currently, it contains the label of the object and method Print().

Author:
Marzio Sala, SNL 9214
Date:
Last updated on Feb-05.

Constructor & Destructor Documentation

MLAPI::BaseObject::BaseObject (  )  [inline]

MLAPI::BaseObject::BaseObject ( const string &  Label  )  [inline]

virtual MLAPI::BaseObject::~BaseObject (  )  [inline, virtual]


Member Function Documentation

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]


Member Data Documentation

int MLAPI::BaseObject::count_ [static, private]

string MLAPI::BaseObject::Label_ [private]


The documentation for this class was generated from the following file: