spot  1.0.2
Public Member Functions | Private Attributes | List of all members
ltlyy::slice< T, S > Class Template Reference

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

#include <ltlparse/stack.hh>

Collaboration diagram for ltlyy::slice< T, S >:
Collaboration graph

Public Member Functions

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

Private Attributes

const S & stack_
unsigned int range_

Detailed Description

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

Present a slice of the top of a stack.

Constructor & Destructor Documentation

template<class T , class S = stack<T>>
ltlyy::slice< T, S >::slice ( const S &  stack,
unsigned int  range 
)
inline

Member Function Documentation

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

Member Data Documentation

template<class T , class S = stack<T>>
unsigned int ltlyy::slice< T, S >::range_
private
template<class T , class S = stack<T>>
const S& ltlyy::slice< T, S >::stack_
private

The documentation for this class was generated from the following file:

Please comment this page and report errors about it on the RefDocComments page.
Generated on Wed Mar 6 2013 09:25:15 for spot by doxygen 1.8.1.2