Galeri::core::Object Class Reference

Basic class for all Galeri/pfem objects. More...

#include <Galeri_core_Object.h>

Inheritance diagram for Galeri::core::Object:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Object (const string &Label="Galeri::core::Object", const int ID=0)
 Object (const Object &rhs)
 Copy constructor.
Objectoperator= (const Object &rhs)
 Copies the object from rhs.
virtual ~Object ()
 Virtual dtor.
virtual void setLabel (const string &label)
 Sets the label associated with this object.
virtual string getLabel () const
 Gets the label associated with this object.
virtual void setID (const int &ID)
 Sets the ID associated with this object.
virtual int getID () const
 Gets the ID associated with this object.
virtual void print (ostream &os) const
 Prints Object to the specified output stream.

Detailed Description

Basic class for all Galeri/pfem objects.


Constructor & Destructor Documentation

Galeri::core::Object::Object ( const string &  Label = "Galeri::core::Object",
const int  ID = 0 
) [inline]

ctor, dtor, and operator = Constructor with specified label and ID.


Member Function Documentation

virtual void Galeri::core::Object::print ( ostream &  os  )  const [inline, virtual]

Prints Object to the specified output stream.

To be customized by derived classes. Operator << uses this method. Default implementation prints the object label to os.

Reimplemented in Galeri::grid::Element, and Galeri::grid::Loadable.

virtual void Galeri::core::Object::setLabel ( const string &  label  )  [inline, virtual]

Sets the label associated with this object.

Set and Get Methods


The documentation for this class was generated from the following file:
Generated on Tue Jul 13 09:28:06 2010 for Galeri by  doxygen 1.4.7