Aprepro 5.0x

Public Member Functions | Private Attributes | List of all members
SEAMS::Parser::stack< T, S >::slice Class Reference

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

`#include <aprepro_parser.h>`

Collaboration diagram for SEAMS::Parser::stack< T, S >::slice:
[legend]

## Public Member Functions
| slice (const stack &stack, int range)
const T & | operator[] (int i) const

## Private Attributes
const stack & | stack_
int | range_

## Detailed Description

### template<typename T, typename S = std::vector<T>>
class SEAMS::Parser::stack< T, S >::slice

Present a slice of the top of a stack.

## Constructor & Destructor Documentation

## ◆ slice()

template<typename T, typename S = std::vector<T>>

SEAMS::Parser::stack< T, S >::slice::slice | ( | const stack & | stack,
|  | int | range
| ) |  |
| inline

## Member Function Documentation

## ◆ operator[]()

template<typename T, typename S = std::vector<T>>

const T& SEAMS::Parser::stack< T, S >::slice::operator[] | ( | int | i | ) | const
| inline

## Member Data Documentation

## ◆ range_

template<typename T, typename S = std::vector<T>>

int SEAMS::Parser::stack< T, S >::slice::range_
| private

## ◆ stack_

template<typename T, typename S = std::vector<T>>

const stack& SEAMS::Parser::stack< T, S >::slice::stack_
| private

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

- aprepro_parser.h