DOLFIN
DOLFIN C++ interface
|
Common base class for DOLFIN variables. More...
#include <Variable.h>
Public Member Functions | |
Variable () | |
Create unnamed variable. | |
Variable (const std::string name, const std::string label) | |
Create variable with given name and label. | |
Variable (const Variable &variable) | |
Copy constructor. | |
virtual | ~Variable () |
Destructor. | |
const Variable & | operator= (const Variable &variable) |
Assignment operator. | |
void | rename (const std::string name, const std::string label) |
Rename variable. | |
std::string | name () const |
Return name. | |
std::string | label () const |
Return label (description) | |
std::size_t | id () const |
virtual std::string | str (bool verbose) const |
Return informal string representation (pretty-print) | |
Public Attributes | |
Parameters | parameters |
Parameters. | |
Common base class for DOLFIN variables.
|
inline |
Get unique identifier.
Returns std::size_t The unique integer identifier associated with the object.