Phoenix
Object-oriented orthogonally persistent operating system
|
Tuple container stores arbitrary amount of different type values. More...
#include <tuple.h>
Public Member Functions | |
virtual const char * | __name__ () const |
Method for retrieving name of object class. | |
virtual size_t | __len__ () |
Get tuple length. | |
template<int idx> | |
triton_internal::TupleType < idx, components...> & | get () |
Get value from tuple specified by idx template argument. | |
virtual Object::hash_t | __hash__ () const |
Get hash value for a tuple. |
Tuple container stores arbitrary amount of different type values.
virtual Object::hash_t triton::Tuple< components >::__hash__ | ( | ) | const [inline, virtual] |
Get hash value for a tuple.
Reimplemented from triton::Object.
virtual size_t triton::Tuple< components >::__len__ | ( | ) | [inline, virtual] |
virtual const char* triton::Tuple< components >::__name__ | ( | ) | const [inline, virtual] |
Method for retrieving name of object class.
Reimplemented from triton::Object.
triton_internal::TupleType<idx, components...>& triton::Tuple< components >::get | ( | ) | [inline] |
Get value from tuple specified by idx template argument.
t.get<2>() = 10;