Developer Documentation
Centre for Vision, Speech & Signal Processing
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
StackG::StackG(void)
StackG::StackG(const StackG &)
StackG::~StackG(void)
StackG::Pop(void)
StackG::GetFirst(void)
StackG::Get(void)
StackG::Push(const T &)
StackG::InsFirst(const T &)
StackG::Insert(const T &)
StackG::DelTop(void)
StackG::DelFirst(void)
StackG::Empty(void)
StackG::AddBlk(void)
StackG::DelBlk(void)
StackG::DecrTop(void)
BaseStackG::Top(void)
BaseStackG::Top(void) const
BaseStackG::First(void)
BaseStackG::First(void) const
BaseStackG::IsEmpty(void) const
BaseStackG::Size(void) const
BaseStackG::DbPrint(void)
BaseStackG::operator=(const BaseStackG &)
BaseStackG::AllocBlk(void) const
StackG<class T>
 
Templated stack.
 
include "amma/Stack.hh"
User Level:Default
Library:Mstack
Example:exStack.cc
Section:Containers.Stacks
In Scope:std

Parent Classes:

Methods:
StackG()
Default constructor.
constructs an empty stack.

StackG(const StackG<T> &)

~StackG()
Destructor.

T Pop()
Pop the element from the top of the stack.

T GetFirst()
Pop the element from the top of the stack.
Same as Pop().

T Get()
Pop the element from the top of the stack.
Same as Pop().

void Push(const T &)
Push element onto stack.

void InsFirst(const T & d)
Push element onto stack.
Same as Push().

void Insert(const T & d)
Push element onto stack.
Same as Push().

void DelTop()
Remove an element from the top of the stack.
Same as Pop(), but no value returned. This may be faster then Pop

void DelFirst()
Remove an element from the top of the stack.
Same as Pop(), but no value returned. This may be faster then Pop

void Empty()
remove all elements on the stack

void AddBlk()

void DelBlk()

void DecrTop()

T & Top()
Access element at the top of the stack.
i.e. the next one returned if Pop() is called.

const T & Top() const
Access element at the top of the stack.
i.e. the next one returned if Pop() is called.

T & First()
Access element at the top of the stack.
i.e. the next one returned if Pop() is called. Same as Top().

const T & First() const
Access element at the top of the stack.
i.e. the next one returned if Pop() is called. Same as Top().

bool IsEmpty() const
Test if stack is empty.
Returns true if it is empty.

long Size() const
Get the number of elements in the stack.

void DbPrint()
Usefull for debuging the stack
Not usefull for normal users.

BaseStackG<T> & operator=(const BaseStackG<T> &)
--------- private function for memory allocation place at the top of the file to allow inlining

s_Blk * AllocBlk() const


Programmer:George (Jiri) Matas, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001