Class that defines reflective interfaces for lists. More...

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

Inheritance diagram for SPL::List:
Inheritance graph
Class that defines a reflective interface for the bounded list type. Class that represents a list type (extends from std::vector). Class that serves as an interface for the List, Map, and Set classes. Class that represents bounded size list type.
[legend]

List of all members.


Detailed Description

Class that defines reflective interfaces for lists.


Constructor & Destructor Documentation

Destructor


Member Function Documentation

Get the size of the list

Returns:
size of the list

Implemented in SPL::blist< T, msize >, and SPL::list< T >.

Get the element at a given index

Parameters:
Returns:
element at the given index

Implemented in SPL::blist< T, msize >, and SPL::list< T >.

Get the element at a given index

Parameters:
Returns:
element at the given index

Implemented in SPL::blist< T, msize >, and SPL::list< T >.

Get the element at a given position

Parameters:
Returns:
element at the given position

Implemented in SPL::blist< T, msize >, and SPL::list< T >.

Get the element at a given position

Parameters:
Returns:
element at the given position

Implemented in SPL::blist< T, msize >, and SPL::list< T >.

Insert a given element at a given index

Parameters:

Implemented in SPL::blist< T, msize >, and SPL::list< T >.

remove the element at a given index

Parameters:

Implemented in SPL::blist< T, msize >, and SPL::list< T >.

Remove all elements

Implemented in SPL::blist< T, msize >, and SPL::list< T >.

Push a given element to the end of the list

Parameters:

Implemented in SPL::blist< T, msize >, and SPL::list< T >.

Pop the last element from the end of the list

Implemented in SPL::blist< T, msize >, and SPL::list< T >.

Get element type

Returns:
element type of this list

Implemented in SPL::blist< T, msize >, and SPL::list< 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

Implemented in SPL::blist< T, msize >, and SPL::list< T >.

Get a begin iterator

Returns:
begin iterator

Get a begin const iterator

Returns:
begin const iterator

Get an end iterator

Returns:
end iterator

Get an end cost iterator

Returns:
end const iterator

Assign from another List

Parameters:
Returns:
this

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