SUMMARY:  INNER | FIELD | CONSTR | METHOD | FRIEND DETAIL:  FIELD | CONSTR | METHOD | FRIEND


Platform::Containers
Template Class List

GeneralContainerType
   |
   +-GeneralCollectionType
        |
        +-GeneralSequenceType
             |
             +-List

Implemented in:
Platform.Containers.List.h

template <typename Element>
class List:
public GeneralSequenceType

A dynamically sized linked list container. Holds a sequence of elements linked together in memory.

See Also:
Containers

Inner Compounds, Typedefs, and Enumscollapse
typedef ElementType
          DOCTODO.
typedef EntryType
          DOCTODO.

Inner Compounds, Typedefs, and Enums inherited from class GeneralSequenceTypecollapse
ConstEnumerator, ConstIterator, Enumerator, Iterator

Fields inherited from class GeneralContainerTypecollapse
base

Constructor Summarycollapse
List()
          DOCTODO.
List(const List& container)
          DOCTODO.
template <typename ContainerX>
List(const ContainerX& container)

          DOCTODO.
~List()
          Destructor.

Method Summarycollapse
Void addAllFirst(const List& list)
          DOCTODO.
Void addAllLast(const List& list)
          DOCTODO.
Void addFirst(const ElementType& object)
          DOCTODO.
Void addLast(const ElementType& object)
          DOCTODO.
template <typename Collection,
typename Predicate>
Collection&
collectEntries(Collection& collection, Predicate function) const
          DOCTODO.
ElementType extractFirst()
          DOCTODO.
ElementType extractLast()
          DOCTODO.
ElementType& first()
          DOCTODO.
const ElementType& first() const
          DOCTODO.
ElementType& last()
          DOCTODO.
const ElementType& last() const
          DOCTODO.
List& operator=(const List& container)
          DOCTODO.
Void removeFirst()
          DOCTODO.
Void removeLast()
          DOCTODO.

Methods inherited from class GeneralContainerTypecollapse
compareTo, deepSize, empty, equals, exchangeWith, hashCode, isEmpty, size, toString, toXml

Methods inherited from class GeneralCollectionTypecollapse
contains, containsAll, containsAll, remove, removeAll, removeAll, retainAll, retainAll

Methods inherited from class GeneralSequenceTypecollapse
add, addAll, addAll, replaceAll

Friend Summarycollapse
friend Io::ISerializer& operator<<(Io::ISerializer& serializer, const List& container)
          Serializes the state of a List object.
friend Io::IDeserializer& operator>>(Io::IDeserializer& deserializer, List& container)
          Deserializes the state of a List object.

 

Constructor Detail

List[inline]

List()

DOCTODO.


List[inline]

List(const List& container)

DOCTODO.

Parameters:
container - DOCTODO

List[explicit, inline]

template <typename ContainerX>
List(const ContainerX& container)

DOCTODO.

Parameters:
container - DOCTODO

~List[inline]

~List()

Destructor.

 

Method Detail

addAllFirst[inline]

Void addAllFirst(const List& list)

DOCTODO.

Parameters:
list - DOCTODO

addAllLast[inline]

Void addAllLast(const List& list)

DOCTODO.

Parameters:
list - DOCTODO

addFirst[inline]

Void addFirst(const ElementType& object)

DOCTODO.

Parameters:
object - DOCTODO

addLast[inline]

Void addLast(const ElementType& object)

DOCTODO.

Parameters:
object - DOCTODO

collectEntries[inline]

template <typename Collection, typename Predicate>
Collection& collectEntries(Collection& collection, Predicate function) const

DOCTODO.

Parameters:
collection - DOCTODO
function - DOCTODO
Returns:
DOCTODO

extractFirst[inline]

ElementType extractFirst()

DOCTODO.

Returns:
DOCTODO

extractLast[inline]

ElementType extractLast()

DOCTODO.

Returns:
DOCTODO

first[inline]

ElementType& first()

DOCTODO.

Returns:
DOCTODO

first[inline]

const ElementType& first() const

DOCTODO.

Returns:
DOCTODO

last[inline]

ElementType& last()

DOCTODO.

Returns:
DOCTODO

last[inline]

const ElementType& last() const

DOCTODO.

Returns:
DOCTODO

operator=[inline]

List& operator=(const List& container)

DOCTODO.

Parameters:
container - DOCTODO
Returns:
DOCTODO

removeFirst[inline]

Void removeFirst()

DOCTODO.


removeLast[inline]

Void removeLast()

DOCTODO.

 

Friend Detail

operator<<[inline]

friend Io::ISerializer& operator<<(Io::ISerializer& serializer, const List& container)

Serializes the state of a List object.

Parameters:
container - a list object to serialize
serializer - a serializer to receive state data
Returns:
the reference to the serializer

operator>>[inline]

friend Io::IDeserializer& operator>>(Io::IDeserializer& deserializer, List& container)

Deserializes the state of a List object.

Parameters:
container - a list object to deserialize
deserializer - a deserializer to retrieve state data from
Returns:
the reference to the deserializer


SUMMARY:  INNER | FIELD | CONSTR | METHOD | FRIEND DETAIL:  FIELD | CONSTR | METHOD | FRIEND