Type containing a name referencing a value and is called a state.
More...
#include <VariableTypes.h>
|
| | State () |
| | Default constructor.
|
| |
| | State (std::string name, const Value &value) |
| | Initialization constructor.
|
| |
| | State (const State &s) |
| | Copy constructor.
|
| |
| State & | assign (const State &s) |
| | Assignment function for save copying of the structure.
|
| |
| State & | operator= (const State &s) |
| | Assignment operator for save copying of the structure.
|
| |
| bool | operator== (const State &state) const |
| | Compare equal operator.
|
| |
| bool | operator!= (const State &state) const |
| | Compare unequal operator.
|
| |
Type containing a name referencing a value and is called a state.
◆ Vector
Vector class to be able to create a state list.
◆ State() [1/3]
| sf::VariableTypes::State::State |
( |
| ) |
|
|
inline |
◆ State() [2/3]
| sf::VariableTypes::State::State |
( |
std::string |
name, |
|
|
const Value & |
value |
|
) |
| |
|
inline |
Initialization constructor.
◆ State() [3/3]
| sf::VariableTypes::State::State |
( |
const State & |
s | ) |
|
|
inline |
◆ assign()
| State & sf::VariableTypes::State::assign |
( |
const State & |
s | ) |
|
|
inline |
Assignment function for save copying of the structure.
◆ operator!=()
| bool sf::VariableTypes::State::operator!= |
( |
const State & |
state | ) |
const |
|
inline |
Compare unequal operator.
◆ operator=()
| State & sf::VariableTypes::State::operator= |
( |
const State & |
s | ) |
|
|
inline |
Assignment operator for save copying of the structure.
◆ operator==()
| bool sf::VariableTypes::State::operator== |
( |
const State & |
state | ) |
const |
|
inline |
◆ _name
| std::string sf::VariableTypes::State::_name |
Name of the contained value.
◆ _value
| Value sf::VariableTypes::State::_value |
Value which belongs to the name.
The documentation for this class was generated from the following file: