template<class NODE_TYPE>inline LCVMstack<NODE_TYPE> & LCVMstack<NODE_TYPE> push(const NODE_TYPE &the_data)

push on the stack

[more]friend ostream& operator<<<>(ostream&, const LCVMstack<NODE_TYPE>&)
[more]friend ostream& operator<<(ostream&, const LCVMstack<NODE_TYPE>&)
[more] LCVMstack()
we start with constructors and destructors
[more] LCVMstack(LCVMstack<NODE_TYPE>&)
default constructor
[more] ~LCVMstack()
copy constructor
[more]LCVMstack<NODE_TYPE> & push(const NODE_TYPE&)
destructor
[more]NODE_TYPE pop()
push on the stack
[more]LCVMstack<NODE_TYPE> & erase()
pop from the stack
[more]int is_empty() const
various checks on the stack
[more]int not_empty() const
check if the stack is empty
[more]int get_size() const
various utility functions
[more]NODE_TYPE get_top() const
return the number of elements in the stack
[more]NODE_TYPE& operator*()
return the data on the stack top
[more]NODE_TYPE& get_top_ref()
return reference to data on top:
[more]LCVMstack<NODE_TYPE> & operator=(LCVMstack<NODE_TYPE>&)
assignment operator--assign one stack to another
[more]int operator==(LCVMstack<NODE_TYPE>&)
[more]int operator!=(LCVMstack<NODE_TYPE>&)
check for equality of stacks
[more]void print(ostream&) const
check for non equality
oLCVMdoubly_linked_list<NODE_TYPE> stack
print function


Documentation

push on the stack
ofriend ostream& operator<<<>(ostream&, const LCVMstack<NODE_TYPE>&)

ofriend ostream& operator<<(ostream&, const LCVMstack<NODE_TYPE>&)

o LCVMstack()
we start with constructors and destructors

o LCVMstack(LCVMstack<NODE_TYPE>&)
default constructor

o ~LCVMstack()
copy constructor

oLCVMstack<NODE_TYPE> & push(const NODE_TYPE&)
destructor

oNODE_TYPE pop()
push on the stack

oLCVMstack<NODE_TYPE> & erase()
pop from the stack

oint is_empty() const
various checks on the stack

oint not_empty() const
check if the stack is empty

oint get_size() const
various utility functions

oNODE_TYPE get_top() const
return the number of elements in the stack

oNODE_TYPE& operator*()
return the data on the stack top

oNODE_TYPE& get_top_ref()
return reference to data on top:

oLCVMstack<NODE_TYPE> & operator=(LCVMstack<NODE_TYPE>&)
assignment operator--assign one stack to another

oint operator==(LCVMstack<NODE_TYPE>&)

oint operator!=(LCVMstack<NODE_TYPE>&)
check for equality of stacks

ovoid print(ostream&) const
check for non equality

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.