#include <datatype.h>
A TupleValue is returned by DataType::GetTuple() if the type represents a tuple data type. The members of the tuple value can be accessed through the functions of this class.
Public Member Functions | |
| template<typename T > | |
| const T & | Get (Int index, const TupleDataType &type) const |
| template<typename T > | |
| T & | Get (Int index, const TupleDataType &type) |
| const TupleValue & | GetTuple (Int index, const TupleDataType &type) const |
| TupleValue & | GetTuple (Int index, const TupleDataType &type) |
| const T& Get | ( | Int | index, |
| const TupleDataType & | type | ||
| ) | const |
Returns a reference to the value of the tuple member at index.
| T | Type of the member. |
| [in] | index | Index of the member. |
| [in] | type | Tuple data type of this TupleValue. |
| T& Get | ( | Int | index, |
| const TupleDataType & | type | ||
| ) |
Returns a reference to the value of the tuple member at index.
| T | Type of the member. |
| [in] | index | Index of the member. |
| [in] | type | Tuple data type of this TupleValue. |
| const TupleValue& GetTuple | ( | Int | index, |
| const TupleDataType & | type | ||
| ) | const |
Returns a reference to the tuple value of the tuple member at index. The corresponding member type has to be a tuple data type.
| [in] | index | Index of the member. |
| [in] | type | Tuple data type of this TupleValue. |
| TupleValue& GetTuple | ( | Int | index, |
| const TupleDataType & | type | ||
| ) |
Returns a reference to the tuple value of the tuple member at index. The corresponding member type has to be a tuple data type.
| [in] | index | Index of the member. |
| [in] | type | Tuple data type of this TupleValue. |