artefaktur
software engineer &        architecture

 
 
 
 

class core_stack_scope

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::lang::sys::core_stack_scope< T > Class Template Reference

#include <core_vector.h>

List of all members.


Detailed Description

template<class T>
class acdk::lang::sys::core_stack_scope< T >

use core_vector stack as scope.

all items in core_stack will be erased in destructor of core_stack_scope are inserted since construction


Public Member Functions

 core_stack_scope (core_stack< T > &stack)
 ~core_stack_scope ()
void commit ()
void push (const T &t)
pop ()
T & top ()

Private Types

typedef core_stack< T >::iterator iterator

Private Attributes

core_stack< T > & _stack
int _savedTop

Member Typedef Documentation

template<class T>
typedef core_stack<T>::iterator acdk::lang::sys::core_stack_scope< T >::iterator [private]
 


Constructor & Destructor Documentation

template<class T>
acdk::lang::sys::core_stack_scope< T >::core_stack_scope core_stack< T > &  stack  )  [inline]
 

template<class T>
acdk::lang::sys::core_stack_scope< T >::~core_stack_scope  )  [inline]
 


Member Function Documentation

template<class T>
void acdk::lang::sys::core_stack_scope< T >::commit  )  [inline]
 

template<class T>
T acdk::lang::sys::core_stack_scope< T >::pop  )  [inline]
 

template<class T>
void acdk::lang::sys::core_stack_scope< T >::push const T &  t  )  [inline]
 

template<class T>
T& acdk::lang::sys::core_stack_scope< T >::top  )  [inline]
 


Member Data Documentation

template<class T>
int acdk::lang::sys::core_stack_scope< T >::_savedTop [private]
 

template<class T>
core_stack<T>& acdk::lang::sys::core_stack_scope< T >::_stack [private]
 

 
Last modified 2005-05-08 18:32 by SYSTEM By Artefaktur, Ing. Bureau Kommer