Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

yy::slice< T, S > Class Template Reference

Present a slice of the top of a stack. More...

#include <ltlparse/stack.hh>

Collaboration diagram for yy::slice< T, S >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 slice (const S &stack, unsigned int range)
const T & operator[] (unsigned int i) const
 slice (const S &stack, unsigned int range)
const T & operator[] (unsigned int i) const

Private Attributes

const S & stack_
unsigned int range_
const S & stack_

Detailed Description

template<class T, class S = stack<T>>
class yy::slice< T, S >

Present a slice of the top of a stack.


Constructor & Destructor Documentation

template<class T, class S = stack<T>>
yy::slice< T, S >::slice const S &  stack,
unsigned int  range
[inline]
 

template<class T, class S = stack<T>>
yy::slice< T, S >::slice const S &  stack,
unsigned int  range
[inline]
 


Member Function Documentation

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

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


Member Data Documentation

template<class T, class S = stack<T>>
unsigned int yy::slice< T, S >::range_ [private]
 

template<class T, class S = stack<T>>
const S& yy::slice< T, S >::stack_ [private]
 

template<class T, class S = stack<T>>
const S& yy::slice< T, S >::stack_ [private]
 


The documentation for this class was generated from the following files:
Please comment this page and report errors about it on the RefDocComments page.
Generated on Wed Mar 1 11:30:25 2006 for spot by doxygen 1.4.0