spot  0.8.3
Public Member Functions | Private Attributes
kripkeyy::slice< T, S > Class Template Reference

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

#include <kripkeparse/stack.hh>

List of all members.

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 kripkeyy::slice< T, S >

Present a slice of the top of a stack.


Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

template<class T , class S = stack<T>>
unsigned int kripkeyy::slice< T, S >::range_ [private]
template<class T , class S = stack<T>>
const S& kripkeyy::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 Fri Mar 9 2012 13:52:10 for spot by doxygen 1.7.6.1