#include <Value.hpp>
List of all members.
Public Member Functions |
| operator T () const |
| cast to the internal type
|
| operator T & () |
| cast to the writable refernce of internal type
|
T & | operator() () |
| Gets a reference to the internal data.
|
T | operator() () const |
| Gets a copy of the data.
|
Value< T > & | operator= (const Value< T > &rhs) |
| Copy assignment operator.
|
Value< T > & | operator= (const T rhs) |
| Assignment operator for non-Value objects.
|
bool | set () const |
| Queries if the data has been set.
|
bool & | set () |
| Gets a reference to the data valid flag.
|
Private Attributes |
std::pair< T, bool > | data |
Detailed Description
template<class T>
class msp::Value< T >
Definition at line 9 of file Value.hpp.
Member Function Documentation
cast to the internal type
Definition at line 24 of file Value.hpp.
cast to the writable refernce of internal type
Definition at line 29 of file Value.hpp.
Gets a reference to the internal data.
- Returns:
- Reference to the data
Definition at line 45 of file Value.hpp.
Gets a copy of the data.
- Returns:
Definition at line 51 of file Value.hpp.
Copy assignment operator.
- Returns:
- Reference to this object
Definition at line 15 of file Value.hpp.
Assignment operator for non-Value objects.
- Returns:
- Reference to this object
Definition at line 35 of file Value.hpp.
Queries if the data has been set.
- Returns:
- True if the internal data has been assigned
Definition at line 57 of file Value.hpp.
Gets a reference to the data valid flag.
- Returns:
- Reference to the data valid flag
Definition at line 63 of file Value.hpp.
Member Data Documentation
The documentation for this class was generated from the following file: