![]() |
Zen
A cross-platform functional programming language
|
Intrinsic key type. More...
#include <zbl.hpp>
Public Member Functions | |
| key () | |
| Default constructor. | |
| key (const any &val) | |
| Default constructor. | |
| key (const key &src) | |
| Copy constructor. | |
| key & | operator= (const z::any &rhs) |
| Set the value of the key from an "any" value. | |
| template<typename T > | |
| key & | operator= (const T &rhs) |
| Set the value of the key from a type other than 'any'. | |
| const any & | get () const |
| Get the value of the key. | |
| uint | getHash () const |
| Get hash value of contained type. | |
Private Attributes | |
| z::any | _val |
| The value. | |
Intrinsic key type.
| const any& get | ( | ) | const [inline] |
Get the value of the key.
| uint getHash | ( | ) | const [inline] |
Set the value of the key from an "any" value.
| rhs | The value to set |
| key& operator= | ( | const T & | rhs | ) | [inline] |
Set the value of the key from a type other than 'any'.
| rhs | The value to set |