Class that serves as a reflective interface for the tuple types. More...

#include <SPL/Runtime/Type/Tuple.h>

Detailed Description

Class that serves as a reflective interface for the tuple types.

Constructor & Destructor Documentation

Constructor

Copy constructor

Parameters

Destructor

Member Function Documentation

Equality comparison with another reflective tuple

Parameters
Returns
true if equal, false otherwise

Create a clone of the tuple object

Returns
clone of the tuple object

Clear the tuple attributes (all numeric attributes will become zero; booleans will become false; all strings, collections, and blobs will become empty; timestamps will become zero; enums will take the value of their first element; and tuples will be cleared recursively)

Returns
this Tuple

Reset the tuple attributes (all strings, collections, and blobs will become empty; and tuples will be reset recursively)

Assign this tuple using another tuple.

Parameters
Exceptions

Assign this tuple using another tuple of the same type

Parameters

Swap this tuple with another tuple

Parameters

Serialize (binary)

Parameters

Deserialize (binary)

Parameters

Serialize (binary)

Parameters

Deserialize (binary)

Parameters

Serialize (character)

Parameters

Serialize (character), with maximum precision for floats

Parameters

Deserialize (character)

Parameters

Get hash code

Returns
hash code

Check if this a facade tuple

Returns
true if this is a facade tuple, false otherwise

Get the size in bytes when serialized

Returns
size in bytes when serialized

Get the serialized data for the tuple (only if this is a facade tuple)

Returns
the serialized data pointer, NULL if this is not a facade tuple

Assign from another Tuple

Parameters
Returns
this

Get the number of attributes

Returns
the number of attributes

Get a begin iterator

Returns
begin iterator

Get a begin iterator

Returns
begin iterator

Get an end iterator

Returns
end iterator

Get an end iterator

Returns
end iterator

Find an attribute in the tuple

Parameters
Returns
an iterator for the element if found, the end iterator otherwise

Find an attribue in the tuple

Parameters
Returns
an iterator for the attribute if found, the end iterator otherwise

Get tuple attribue at the given index

Parameters
Returns
a tuple attribute
Exceptions

Get tuple attribue at the given index

Parameters
Returns
a tuple attribute
Exceptions

Get attribute value for the given attribute name Same as (*findAttribute(attrb)).getValue()

Parameters
Returns
a value handle for the tuple attribute
Exceptions

Get attribute value for the given attribute name Same as (*findAttribute(attrb)).getValue()

Parameters
Returns
a value handle for the tuple attribute

Get attribute value for the given index

Parameters
Returns
a value handle for the tuple attribute

Get attribute value for the given index

Parameters
Returns
a value handle for the tuple attribute

Return the i'th attribute name

Parameters
Returns
the attribute's name

Return all the attributes for the Tuple

Returns
attribute name map

Deserialize with Inf and Nan (character)

Parameters

Serialize a Tuple to the 'serialized tuple format'

Parameters

Deserialize a Tuple from the 'serialized tuple format'

Parameters
Note
the existing content of the tuple will be replaced by the values from the input stream of XML.

Assign the tuple's payload

Parameters

The documentation for this class was generated from the following file: