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


Platform::Containers
Template Class Queue

GeneralContainerType
   |
   +-Queue

Implemented in:
Platform.Containers.Queue.h

template <typename Element, typename Container = List<Element>>
class Queue:
public GeneralContainerType

A dynamically sized queue container.

See Also:
Containers

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

Fields inherited from class GeneralContainerTypecollapse
base

Constructor Summarycollapse
Queue()
          DOCTODO.
Queue(const Queue& container)
          DOCTODO.

Method Summarycollapse
ContainerType& container()
          DOCTODO.
const ContainerType& container() const
          DOCTODO.
ElementType dequeue()
          DOCTODO.
Void enqueue(const ElementType& object)
          DOCTODO.
Queue& operator=(const Queue& container)
          DOCTODO.
ElementType& peek()
          DOCTODO.
const ElementType& peek() const
          DOCTODO.
String toString() const
          DOCTODO.
String toXml() const
          DOCTODO.

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

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

 

Constructor Detail

Queue[inline]

Queue()

DOCTODO.


Queue[inline]

Queue(const Queue& container)

DOCTODO.

Parameters:
container - DOCTODO

 

Method Detail

container[inline]

ContainerType& container()

DOCTODO.

Returns:
DOCTODO

container[inline]

const ContainerType& container() const

DOCTODO.

Returns:
DOCTODO

dequeue[inline]

ElementType dequeue()

DOCTODO.

Returns:
DOCTODO

enqueue[inline]

Void enqueue(const ElementType& object)

DOCTODO.

Parameters:
object - DOCTODO

operator=[inline]

Queue& operator=(const Queue& container)

DOCTODO.

Parameters:
container - DOCTODO
Returns:
DOCTODO

peek[inline]

ElementType& peek()

DOCTODO.

Returns:
DOCTODO

peek[inline]

const ElementType& peek() const

DOCTODO.

Returns:
DOCTODO

toString[inline]

String toString() const

DOCTODO.

Returns:
DOCTODO
Overrides:
GeneralContainerType<Base, Container>::toString

toXml[inline]

String toXml() const

DOCTODO.

Returns:
DOCTODO
Overrides:
GeneralContainerType<Base, Container>::toXml

 

Friend Detail

operator<<[inline]

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

Serializes the state of a Queue object.

Parameters:
container - a queue 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, Queue& container)

Deserializes the state of a Queue object.

Parameters:
container - a queue 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