#include <ETL/value>
Public Member Functions | |
| value () | |
| value (const value &v) | |
| template<typename T> | |
| value (const T &v) | |
| value & | swap (value &rhs) |
| template<typename ValueType> | |
| value & | operator= (const ValueType &rhs) |
| value & | operator= (const value &rhs) |
| bool | empty () const |
| const std::type_info & | type () const |
Private Attributes | |
| contentholder * | content |
Friends | |
| template<typename ValueType> | |
| ValueType * | value_cast (value *v) |
Classes | |
| struct | contentholder |
| class | holder |
Modified from ideas for the boost::any type. Added binary compatibility structure
Definition at line 65 of file _value.h.
|
|
Definition at line 77 of file _value.h. Referenced by operator=(). |
|
|
|
|
||||||||||
|
|
|
|
Definition at line 98 of file _value.h. References content. |
|
||||||||||
|
Definition at line 105 of file _value.h. References value(). |
|
|
Definition at line 111 of file _value.h. References value(). |
|
|
Definition at line 119 of file _value.h. References content. |
|
|
Definition at line 124 of file _value.h. References content, and value::contentholder::type(). Referenced by value_cast(). |
|
||||||||||
|
Returns a pointer to the desired value type if the value_type and the internal binary format agree (mediated by using the value_store_type class), otherwise it returns 0.
|
|
|
Definition at line 74 of file _value.h. Referenced by empty(), swap(), type(), and value_cast(). |
1.4.6