Class Variable

Inheritance Relationships

Derived Types

Class Documentation

class Variable

The class Variable is intended to be the base class for other of variables, encapsulating common attributes.

Author

G. Zullo

Subclassed by InputVariable, SciantixVariable

Public Functions

inline Variable()

Default constructor for the Variable class.

inline ~Variable()

Destructor for the Variable class.

inline void setName(std::string n)

Sets the name of the entity.

Parameters:

n – The new name to be set for the entity.

inline std::string getName()

Retrieves the name of the entity.

Returns:

A string that is the current name of the entity.

Protected Attributes

std::string name