ct_common  1.0.1
Common library for combinatorial testing
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions
yy::stack< T, S > Class Template Reference

#include <stack.hh>

List of all members.

Public Types

typedef S::reverse_iterator iterator
typedef S::const_reverse_iterator const_iterator

Public Member Functions

 stack ()
 stack (unsigned int n)
T & operator[] (unsigned int i)
const T & operator[] (unsigned int i) const
void push (const T &t)
void pop (unsigned int n=1)
unsigned int height () const
const_iterator begin () const
const_iterator end () const

Detailed Description

template<class T, class S = std::deque<T>>
class yy::stack< T, S >

Definition at line 44 of file stack.hh.


Member Typedef Documentation

template<class T, class S = std::deque<T>>
typedef S::const_reverse_iterator yy::stack< T, S >::const_iterator

Definition at line 50 of file stack.hh.

template<class T, class S = std::deque<T>>
typedef S::reverse_iterator yy::stack< T, S >::iterator

Definition at line 49 of file stack.hh.


Constructor & Destructor Documentation

template<class T, class S = std::deque<T>>
yy::stack< T, S >::stack ( ) [inline]

Definition at line 52 of file stack.hh.

template<class T, class S = std::deque<T>>
yy::stack< T, S >::stack ( unsigned int  n) [inline]

Definition at line 56 of file stack.hh.


Member Function Documentation

template<class T, class S = std::deque<T>>
const_iterator yy::stack< T, S >::begin ( ) const [inline]

Definition at line 96 of file stack.hh.

template<class T, class S = std::deque<T>>
const_iterator yy::stack< T, S >::end ( ) const [inline]

Definition at line 97 of file stack.hh.

template<class T, class S = std::deque<T>>
unsigned int yy::stack< T, S >::height ( ) const [inline]

Definition at line 91 of file stack.hh.

template<class T, class S = std::deque<T>>
T& yy::stack< T, S >::operator[] ( unsigned int  i) [inline]

Definition at line 62 of file stack.hh.

template<class T, class S = std::deque<T>>
const T& yy::stack< T, S >::operator[] ( unsigned int  i) const [inline]

Definition at line 69 of file stack.hh.

template<class T, class S = std::deque<T>>
void yy::stack< T, S >::pop ( unsigned int  n = 1) [inline]

Definition at line 83 of file stack.hh.

template<class T, class S = std::deque<T>>
void yy::stack< T, S >::push ( const T &  t) [inline]

Definition at line 76 of file stack.hh.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines