DOLFIN
DOLFIN C++ interface
Public Member Functions | Public Attributes | List of all members
dolfin::Variable Class Reference

Common base class for DOLFIN variables. More...

#include <Variable.h>

Inheritance diagram for dolfin::Variable:
Inheritance graph
[legend]
Collaboration diagram for dolfin::Variable:
Collaboration graph
[legend]

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 Variableoperator= (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.
 

Detailed Description

Common base class for DOLFIN variables.

Member Function Documentation

std::size_t dolfin::Variable::id ( ) const
inline

Get unique identifier.

Returns std::size_t The unique integer identifier associated with the object.


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