23 #ifndef DOXYGEN_SHOULD_SKIP_THIS 61 if (
this != &aRV)
_copy(aRV);
87 return (
__name == aRV.__name);
93 return (!
operator==(aRV));
98 #endif // DOXYGEN_SHOULD_SKIP_THIS void setName(const std::string &theValue)
sets the name of the variable
void _copy(const Variable &aRV)
protected copy
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
void setDescription(const std::string &theValue) const
sets the description of the variable
virtual bool operator!=(const Variable &aRV) const
inequality operator
virtual ~Variable()
destructor
const std::string & description() const
returns the description of the variable
std::string __name
the name of the variable
Variable & operator=(const Variable &aRV)
Copy operator.
Variable()
(protected) Default constructor
virtual bool operator==(const Variable &aRV) const
equality operator
const std::string & name() const
returns the name of the variable
std::string __description
the description of the variable since description is not a characteristic of a variable, we allow the description to be changed even in a const reference.