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


Platform::Containers
Template Class Stack

GeneralContainerType
   |
   +-Stack

Implemented in:
Platform.Containers.Stack.h

template <typename Element, typename Container = Array<Element>>
class Stack:
public GeneralContainerType

A dynamically sized stack 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
Stack()
          DOCTODO.
Stack(const Stack& container)
          DOCTODO.

Method Summarycollapse
ContainerType& container()
          DOCTODO.
const ContainerType& container() const
          DOCTODO.
Stack& operator=(const Stack& container)
          DOCTODO.
ElementType& peek()
          DOCTODO.
const ElementType& peek() const
          DOCTODO.
ElementType pop()
          DOCTODO.
Void push(const ElementType& object)
          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 Stack& container)
          Serializes the state of a Stack object.
friend Io::IDeserializer& operator>>(Io::IDeserializer& deserializer, Stack& container)
          Deserializes the state of a Stack object.

 

Constructor Detail

Stack[inline]

Stack()

DOCTODO.


Stack[inline]

Stack(const Stack& container)

DOCTODO.

Parameters:
container - DOCTODO

 

Method Detail

container[inline]

ContainerType& container()

DOCTODO.

Returns:
DOCTODO

container[inline]

const ContainerType& container() const

DOCTODO.

Returns:
DOCTODO

operator=[inline]

Stack& operator=(const Stack& container)

DOCTODO.

Parameters:
container - DOCTODO
Returns:
DOCTODO

peek[inline]

ElementType& peek()

DOCTODO.

Returns:
DOCTODO

peek[inline]

const ElementType& peek() const

DOCTODO.

Returns:
DOCTODO

pop[inline]

ElementType pop()

DOCTODO.

Returns:
DOCTODO

push[inline]

Void push(const ElementType& object)

DOCTODO.

Parameters:
object - 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 Stack& container)

Serializes the state of a Stack object.

Parameters:
container - a stack 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, Stack& container)

Deserializes the state of a Stack object.

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