Column-oriented GPU-accelerated Database Management System
CoGaDB
CoGaDB::SQL::stack< T, S > Class Template Reference

#include <stack.hh>

Inheritance diagram for CoGaDB::SQL::stack< T, S >:
Collaboration diagram for CoGaDB::SQL::stack< T, S >:

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

Private Attributes

seq_

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


Member Typedef Documentation

template<class T, class S = std::deque<T>>
typedef S::const_reverse_iterator CoGaDB::SQL::stack< T, S >::const_iterator
template<class T, class S = std::deque<T>>
typedef S::reverse_iterator CoGaDB::SQL::stack< T, S >::iterator

Constructor & Destructor Documentation

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

Member Function Documentation

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

Referenced by CoGaDB::SQL::Parser::yystack_print_().

Here is the caller graph for this function:

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

Referenced by CoGaDB::SQL::Parser::yystack_print_().

Here is the caller graph for this function:

template<class T, class S = std::deque<T>>
unsigned int CoGaDB::SQL::stack< T, S >::height ( ) const [inline]
template<class T, class S = std::deque<T>>
T& CoGaDB::SQL::stack< T, S >::operator[] ( unsigned int  i) [inline]
template<class T, class S = std::deque<T>>
const T& CoGaDB::SQL::stack< T, S >::operator[] ( unsigned int  i) const [inline]
template<class T, class S = std::deque<T>>
void CoGaDB::SQL::stack< T, S >::pop ( unsigned int  n = 1) [inline]

Referenced by CoGaDB::SQL::Parser::yypop_().

Here is the caller graph for this function:

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

Referenced by CoGaDB::SQL::Parser::parse().

Here is the caller graph for this function:


Member Data Documentation


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