Optimized reference to a variable within the knowledge base.
More...
#include <VariableReference.h>
|
void | set_name (const std::string &name) |
| Sets the name of the variable. More...
|
|
Optimized reference to a variable within the knowledge base.
Definition at line 35 of file VariableReference.h.
madara::knowledge::VariableReference::VariableReference |
( |
| ) |
|
madara::knowledge::VariableReference::VariableReference |
( |
const VariableReference & |
rhs | ) |
|
Copy Constructor.
- Parameters
-
rhs | variable reference to copy from |
Definition at line 11 of file VariableReference.cpp.
madara::knowledge::VariableReference::~VariableReference |
( |
| ) |
|
const char * madara::knowledge::VariableReference::get_name |
( |
void |
| ) |
const |
|
inline |
Returns the name of the variable.
- Returns
- the name of the referenced variable
Definition at line 13 of file VariableReference.inl.
bool madara::knowledge::VariableReference::is_valid |
( |
void |
| ) |
const |
|
inline |
Checks to see if the variable reference has been initialized.
- Returns
- true if valid, false otherwise
Definition at line 31 of file VariableReference.inl.
bool madara::knowledge::VariableReference::operator!= |
( |
const VariableReference & |
rhs | ) |
const |
Inequality operator.
- Parameters
-
rhs | variable reference to compare to |
Definition at line 40 of file VariableReference.cpp.
void madara::knowledge::VariableReference::operator= |
( |
const VariableReference & |
input | ) |
|
Assignment operator.
- Parameters
-
input | variable reference to copy from |
Definition at line 22 of file VariableReference.cpp.
bool madara::knowledge::VariableReference::operator== |
( |
const VariableReference & |
rhs | ) |
const |
Equality operator.
- Parameters
-
rhs | variable reference to compare to |
Definition at line 33 of file VariableReference.cpp.
void madara::knowledge::VariableReference::set_name |
( |
const std::string & |
name | ) |
|
|
inlineprivate |
Sets the name of the variable.
- Parameters
-
name | the name of the variable |
Definition at line 19 of file VariableReference.inl.
The documentation for this class was generated from the following files: