Class that represents a list type (extends from std::vector). More...

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

Inheritance diagram for SPL::list< T >:
Inheritance graph
STL class. Class that defines reflective interfaces for lists. Class that serves as an interface for the List, Map, and Set classes.
[legend]

List of all members.


Detailed Description

template<class T>
class SPL::list< T >

Class that represents a list type (extends from std::vector).


Constructor & Destructor Documentation

template<class T >

Default constructor

template<class T >

Construct using a value

Parameters:
template<class T >

Construct from an STL vector

Parameters:
template<class T >

Copy constructor

Parameters:
template<class T >
template<class InputIterator >

Construct from a sequence

Parameters:
template<class T >

Construct from a value handle

Parameters:
template<class T >
template<class T2 >

Construct from an assignable list

Parameters:
template<class T >
template<class T2 , int32_t msize>

Construct from an assignable blist

Parameters:
template<class T >

Construct from a reflective list

Parameters:
template<class T >

Destructor


Member Function Documentation

template<class T >

Subscript the list (read-only)

Parameters:
Returns:
element at index idx
Exceptions:
template<class T >

Subscript the list (read-write)

Parameters:
Returns:
element at index idx
Exceptions:
template<class T >

Append to list

Parameters:
Returns:
*this
template<class T >

Assignment operator (from another list)

Parameters:
Returns:
self
template<class T >

Assignment operator (from an STL vector)

Parameters:
Returns:
self
template<class T >

Equality comparison

Parameters:
Returns:
true if the contained elements are the same, false otherwise
template<class T >

Non-equality comparison

Parameters:
Returns:
true if the contained elements are not the same, false otherwise
template<class T >
template<class BufferType >

Serialize (binary)

Parameters:
template<class T >
template<class BufferType >

Deserialize (binary)

Parameters:
template<class T >

Serialize (character)

Parameters:

Implements SPL::Collection.

template<class T >

Serialize (character), with maximum precision for floats

Parameters:

Implements SPL::Collection.

template<class T >

Deserialize (character)

Parameters:

Implements SPL::Collection.

template<class T >

Deserialize with Inf and Nan (character)

Parameters:
template<class T >

Get hash code

Returns:
hash code

Implements SPL::Collection.

template<class T >

Compare with another collection

Parameters:
Returns:
true if equal, false otherwise

Implements SPL::Collection.

template<class T >

Create a clone of the collection object

Returns:
clone of the collection object

Implements SPL::Collection.

template<class T >

Assign this collection using another collection

Parameters:
Exceptions:

Implements SPL::Collection.

template<class T >

Swap this collection with another collection

Parameters:
Exceptions:

Implements SPL::Collection.

template<class T >

Get element type

Returns:
element type of this list

Implements SPL::List.

template<class T >

Create a new element. The returned value handle is wrapper for an object allocated on the heap. As a result, the caller is responsible for cleaning up the memory by calling ValueHandle::deleteValue()

Returns:
value handle for the new element

Implements SPL::List.

template<class T >

Get the size of the list

Returns:
size of the list

Implements SPL::List.

template<class T >

Get the element at a given index

Parameters:
Returns:
element at the given index

Implements SPL::List.

template<class T >

Get the element at a given index

Parameters:
Returns:
element at the given index

Implements SPL::List.

template<class T >

Get the element at a given position

Parameters:
Returns:
element at the given position

Implements SPL::List.

template<class T >

Get the element at a given position

Parameters:
Returns:
element at the given position

Implements SPL::List.

template<class T >

Insert a given element at a given index

Parameters:

Implements SPL::List.

template<class T >

remove the element at a given index

Parameters:

Implements SPL::List.

template<class T >

Remove all elements

Implements SPL::List.

template<class T >

Push a given element to the end of the list

Parameters:

Implements SPL::List.

template<class T >

Pop the last element from the end of the list

Implements SPL::List.

template<class T >

Get the size in bytes when serialized

Returns:
size in bytes when serialized

Implements SPL::Collection.


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