OW_NAMESPACE::Stack< T > Class Template Reference

#include <OW_Stack.hpp>

Inheritance diagram for OW_NAMESPACE::Stack< T >:

Inheritance graph
[legend]
Collaboration diagram for OW_NAMESPACE::Stack< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef Array< T >::size_type size_type
typedef Array< T >::reference reference
typedef Array< T >::const_reference const_reference

Public Member Functions

 Stack ()
bool empty () const
reference top ()
const_reference top () const
void pop ()
void push (const T &x)
int search (const T &x) const
size_type size () const

Detailed Description

template<class T>
class OW_NAMESPACE::Stack< T >

Definition at line 46 of file OW_Stack.hpp.


Member Typedef Documentation

template<class T>
typedef Array<T>::const_reference OW_NAMESPACE::Stack< T >::const_reference
 

Reimplemented from OW_NAMESPACE::Array< T >.

Definition at line 51 of file OW_Stack.hpp.

template<class T>
typedef Array<T>::reference OW_NAMESPACE::Stack< T >::reference
 

Reimplemented from OW_NAMESPACE::Array< T >.

Definition at line 50 of file OW_Stack.hpp.

template<class T>
typedef Array<T>::size_type OW_NAMESPACE::Stack< T >::size_type
 

Reimplemented from OW_NAMESPACE::Array< T >.

Definition at line 49 of file OW_Stack.hpp.


Constructor & Destructor Documentation

template<class T>
OW_NAMESPACE::Stack< T >::Stack  )  [inline]
 

Definition at line 52 of file OW_Stack.hpp.


Member Function Documentation

template<class T>
bool OW_NAMESPACE::Stack< T >::empty  )  const [inline]
 

Reimplemented from OW_NAMESPACE::Array< T >.

Definition at line 53 of file OW_Stack.hpp.

References OW_NAMESPACE::Stack< T >::size().

template<class T>
void OW_NAMESPACE::Stack< T >::pop  )  [inline]
 

Definition at line 56 of file OW_Stack.hpp.

References OW_NAMESPACE::Array< T >::pop_back().

Referenced by OW_NAMESPACE::WQLCompile::_buildEvalHeap(), and OW_NAMESPACE::WQLSelectStatement::evaluateWhereClause().

template<class T>
void OW_NAMESPACE::Stack< T >::push const T &  x  )  [inline]
 

Definition at line 57 of file OW_Stack.hpp.

References OW_NAMESPACE::Array< T >::push_back().

Referenced by OW_NAMESPACE::WQLCompile::_buildEvalHeap(), and OW_NAMESPACE::WQLSelectStatement::evaluateWhereClause().

template<class T>
int OW_NAMESPACE::Stack< T >::search const T &  x  )  const [inline]
 

Definition at line 58 of file OW_Stack.hpp.

References i, and OW_NAMESPACE::Stack< T >::size().

template<class T>
size_type OW_NAMESPACE::Stack< T >::size  )  const [inline]
 

Reimplemented from OW_NAMESPACE::Array< T >.

Definition at line 63 of file OW_Stack.hpp.

Referenced by OW_NAMESPACE::WQLCompile::_buildEvalHeap(), OW_NAMESPACE::Stack< T >::empty(), OW_NAMESPACE::WQLSelectStatement::evaluateWhereClause(), and OW_NAMESPACE::Stack< T >::search().

template<class T>
const_reference OW_NAMESPACE::Stack< T >::top  )  const [inline]
 

Definition at line 55 of file OW_Stack.hpp.

References OW_NAMESPACE::Array< T >::back().

template<class T>
reference OW_NAMESPACE::Stack< T >::top  )  [inline]
 

Definition at line 54 of file OW_Stack.hpp.

References OW_NAMESPACE::Array< T >::back().

Referenced by OW_NAMESPACE::WQLCompile::_buildEvalHeap(), and OW_NAMESPACE::WQLSelectStatement::evaluateWhereClause().


The documentation for this class was generated from the following file:
Generated on Thu Feb 9 09:14:31 2006 for openwbem by  doxygen 1.4.6