kiwi
Variable
Variable
#include <variable.h>class VariableList of all members
| Name | Kind | Owner |
|---|---|---|
operator< | friend | Declared here |
Variable | function | Declared here |
Variable | function | Declared here |
Variable | function | Declared here |
Variable | function | Declared here |
Variable | function | Declared here |
name | function | Declared here |
setName | function | Declared here |
setName | function | Declared here |
context | function | Declared here |
setContext | function | Declared here |
value | function | Declared here |
setValue | function | Declared here |
equals | function | Declared here |
m_data | variable | Declared here |
Friends
| Name | Description |
|---|---|
operator< inline |
operator<
inline
friend inline bool operator<(const Variable & lhs, const Variable & rhs)Defined in kiwi/variable.h:113
References
Public Methods
| Return | Name | Description |
|---|---|---|
Variable inline | ||
Variable inline | ||
Variable inline | ||
Variable | Defaulted constructor. | |
Variable noexcept | Defaulted constructor. | |
const std::string & | name const inline | |
void | setName inline | |
void | setName inline | |
Context * | context const inline | |
void | setContext inline | |
double | value const inline | |
void | setValue inline | |
bool | equals const inline |
Variable
inline
inline Variable(Context * context = 0)Referenced by
References
Variable
inline
inline Variable(std::string name, Context * context = 0)References
Variable
inline
inline Variable(const char * name, Context * context = 0)References
Variable
Variable(const Variable &) = defaultReferences
Defaulted constructor.
Variable
noexcept
Variable(Variable &&) noexcept = defaultReferences
Defaulted constructor.
name
const inline
inline const std::string & name() constReferenced by
References
setName
inline
inline void setName(const char * name)References
setName
inline
inline void setName(const std::string & name)References
context
const inline
inline Context * context() constReferenced by
setContext
inline
inline void setContext(Context * context)References
value
const inline
inline double value() constReferenced by
setValue
inline
inline void setValue(double value)References
equals
const inline
inline bool equals(const Variable & other) constReferences
Private Attributes
| Return | Name | Description |
|---|---|---|
SharedDataPtr< VariableData > | m_data |
m_data
SharedDataPtr< VariableData > m_data