Tuples are immutable containers and can contain different types of elements. More...
#include <tuple.hpp>
Public Member Functions | |
virtual const Any & | at (boost::uint32_t pos) const |
Get the element at pos . | |
virtual boost::uint32_t | length () const |
Get the length of this tuple. | |
virtual bool | isTuple () const |
Tuples are immutable containers and can contain different types of elements.
It's designed to be passed by value and it implements implicit sharing.
Definition at line 160 of file tuple.hpp.
const Any & acedia::Tuple::at | ( | boost::uint32_t | pos | ) | const [virtual] |
Get the element at pos
.
pos
IndexOutOfBoundsException | if pos >= length() |
Implements acedia::AnyArray.
bool acedia::Tuple::isTuple | ( | ) | const [virtual] |
Reimplemented from acedia::AnyArray.
boost::uint32_t acedia::Tuple::length | ( | ) | const [virtual] |