Basic class for all Galeri/pfem objects. More...
#include <Galeri_core_Object.h>

Public Member Functions | |
| Object (const std::string &Label="Galeri::core::Object", const int ID=0) | |
| Object (const Object &rhs) | |
| Copy constructor. | |
| Object & | operator= (const Object &rhs) |
Copies the object from rhs. | |
| virtual | ~Object () |
| Virtual dtor. | |
| virtual void | setLabel (const std::string &label) |
Sets the label associated with this object. More... | |
| virtual std::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. More... | |
Basic class for all Galeri/pfem objects.
|
inline |
ctor, dtor, and operator = Constructor with specified label and ID.
References setID(), and setLabel().
|
inlinevirtual |
Prints Object to the specified output stream.
Other Methods
To be customized by derived classes. Operator << uses this method. Default implementation prints the object label to os.
Reimplemented in Galeri::grid::Loadable, Galeri::grid::Element, and Galeri::quadrature::Element.
References getID(), and getLabel().
|
inlinevirtual |
Sets the label associated with this object.
Set and Get Methods
Referenced by Galeri::grid::Element::Element(), Object(), operator=(), Galeri::grid::Element::operator=(), and Galeri::grid::Point::Point().
1.8.5