ROSE 0.11.145.147
Public Types | Public Member Functions | Protected Attributes | List of all members
StackFrameVector< T > Class Template Reference

Description

template<class T>
class StackFrameVector< T >

Definition at line 43 of file StackFrameVector.h.

Collaboration diagram for StackFrameVector< T >:
Collaboration graph
[legend]

Public Types

typedef std::vector< T > BufferType
 
typedef BufferType::reference reference
 
typedef BufferType::const_reference const_reference
 
typedef BufferType::iterator iterator
 
typedef BufferType::const_iterator const_iterator
 
typedef BufferType::size_type size_type
 
typedef BufferType::difference_type difference_type
 
typedef BufferType::value_type value_type
 
typedef BufferType::allocator_type allocator_type
 
typedef BufferType::pointer pointer
 
typedef BufferType::const_pointer const_pointer
 
typedef BufferType::reverse_iterator reverse_iterator
 
typedef BufferType::const_reverse_iterator const_reverse_iterator
 

Public Member Functions

 StackFrameVector (const StackFrameVector &)
 
 StackFrameVector (size_type n)
 
 StackFrameVector (size_type n, value_type initValue)
 
StackFrameVectordeepCopy () const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
size_type size () const
 
size_type max_size () const
 
size_type capacity () const
 
bool empty () const
 
reference operator[] (size_type)
 
const_reference operator[] (size_type) const
 
reference at (size_type)
 
const_reference at (size_type) const
 
reference front ()
 
const_reference front () const
 
reference back ()
 
const_reference back () const
 
 operator std::vector< T > ()
 
void push (const T &)
 
void setFrameSize (difference_type)
 
size_type debugSize () const
 
void resetStack ()
 
value_type pop ()
 
void debugDump (std::ostream &s)
 

Protected Attributes

BufferType * buffer
 
iterator framePtr
 
iterator stackPtr
 
bool deleteBufferWhenDone
 

Member Typedef Documentation

◆ BufferType

template<class T >
typedef std::vector<T> StackFrameVector< T >::BufferType

Definition at line 48 of file StackFrameVector.h.

◆ reference

template<class T >
typedef BufferType::reference StackFrameVector< T >::reference

Definition at line 52 of file StackFrameVector.h.

◆ const_reference

template<class T >
typedef BufferType::const_reference StackFrameVector< T >::const_reference

Definition at line 53 of file StackFrameVector.h.

◆ iterator

template<class T >
typedef BufferType::iterator StackFrameVector< T >::iterator

Definition at line 54 of file StackFrameVector.h.

◆ const_iterator

template<class T >
typedef BufferType::const_iterator StackFrameVector< T >::const_iterator

Definition at line 55 of file StackFrameVector.h.

◆ size_type

template<class T >
typedef BufferType::size_type StackFrameVector< T >::size_type

Definition at line 56 of file StackFrameVector.h.

◆ difference_type

template<class T >
typedef BufferType::difference_type StackFrameVector< T >::difference_type

Definition at line 57 of file StackFrameVector.h.

◆ value_type

template<class T >
typedef BufferType::value_type StackFrameVector< T >::value_type

Definition at line 58 of file StackFrameVector.h.

◆ allocator_type

template<class T >
typedef BufferType::allocator_type StackFrameVector< T >::allocator_type

Definition at line 59 of file StackFrameVector.h.

◆ pointer

template<class T >
typedef BufferType::pointer StackFrameVector< T >::pointer

Definition at line 60 of file StackFrameVector.h.

◆ const_pointer

template<class T >
typedef BufferType::const_pointer StackFrameVector< T >::const_pointer

Definition at line 61 of file StackFrameVector.h.

◆ reverse_iterator

template<class T >
typedef BufferType::reverse_iterator StackFrameVector< T >::reverse_iterator

Definition at line 62 of file StackFrameVector.h.

◆ const_reverse_iterator

template<class T >
typedef BufferType::const_reverse_iterator StackFrameVector< T >::const_reverse_iterator

Definition at line 63 of file StackFrameVector.h.

Constructor & Destructor Documentation

◆ StackFrameVector() [1/2]

template<class T >
StackFrameVector< T >::StackFrameVector ( )

Definition at line 155 of file StackFrameVector.h.

◆ StackFrameVector() [2/2]

template<class T >
StackFrameVector< T >::StackFrameVector ( const StackFrameVector< T > &  v)

Definition at line 164 of file StackFrameVector.h.

◆ ~StackFrameVector()

template<class T >
StackFrameVector< T >::~StackFrameVector ( )

Definition at line 205 of file StackFrameVector.h.

Member Function Documentation

◆ deepCopy()

template<class T >
StackFrameVector< T > * StackFrameVector< T >::deepCopy ( ) const

Definition at line 217 of file StackFrameVector.h.

◆ begin() [1/2]

template<class T >
StackFrameVector< T >::iterator StackFrameVector< T >::begin ( )

Definition at line 228 of file StackFrameVector.h.

◆ begin() [2/2]

template<class T >
StackFrameVector< T >::const_iterator StackFrameVector< T >::begin ( ) const

Definition at line 235 of file StackFrameVector.h.

◆ end() [1/2]

template<class T >
StackFrameVector< T >::iterator StackFrameVector< T >::end ( )

Definition at line 242 of file StackFrameVector.h.

◆ end() [2/2]

template<class T >
StackFrameVector< T >::const_iterator StackFrameVector< T >::end ( ) const

Definition at line 249 of file StackFrameVector.h.

◆ rbegin() [1/2]

template<class T >
StackFrameVector< T >::reverse_iterator StackFrameVector< T >::rbegin ( )

Definition at line 256 of file StackFrameVector.h.

◆ rbegin() [2/2]

template<class T >
StackFrameVector< T >::const_reverse_iterator StackFrameVector< T >::rbegin ( ) const

Definition at line 263 of file StackFrameVector.h.

◆ rend() [1/2]

template<class T >
StackFrameVector< T >::reverse_iterator StackFrameVector< T >::rend ( )

Definition at line 270 of file StackFrameVector.h.

◆ rend() [2/2]

template<class T >
StackFrameVector< T >::const_reverse_iterator StackFrameVector< T >::rend ( ) const

Definition at line 277 of file StackFrameVector.h.

◆ size()

template<class T >
StackFrameVector< T >::size_type StackFrameVector< T >::size ( ) const

Definition at line 284 of file StackFrameVector.h.

◆ max_size()

template<class T >
StackFrameVector< T >::size_type StackFrameVector< T >::max_size ( ) const

Definition at line 291 of file StackFrameVector.h.

◆ capacity()

template<class T >
StackFrameVector< T >::size_type StackFrameVector< T >::capacity ( ) const

Definition at line 298 of file StackFrameVector.h.

◆ empty()

template<class T >
bool StackFrameVector< T >::empty ( ) const

Definition at line 305 of file StackFrameVector.h.

◆ front() [1/2]

template<class T >
StackFrameVector< T >::reference StackFrameVector< T >::front ( )

Definition at line 346 of file StackFrameVector.h.

◆ front() [2/2]

template<class T >
StackFrameVector< T >::const_reference StackFrameVector< T >::front ( ) const

Definition at line 353 of file StackFrameVector.h.

◆ back() [1/2]

template<class T >
StackFrameVector< T >::reference StackFrameVector< T >::back ( )

Definition at line 360 of file StackFrameVector.h.

◆ back() [2/2]

template<class T >
StackFrameVector< T >::const_reference StackFrameVector< T >::back ( ) const

Definition at line 367 of file StackFrameVector.h.

◆ operator std::vector< T >()

template<class T >
StackFrameVector< T >::operator std::vector< T > ( )

Definition at line 373 of file StackFrameVector.h.

◆ push()

template<class T >
void StackFrameVector< T >::push ( const T &  x)

Definition at line 381 of file StackFrameVector.h.

◆ setFrameSize()

template<class T >
void StackFrameVector< T >::setFrameSize ( difference_type  frameSize)

Definition at line 405 of file StackFrameVector.h.

◆ debugSize()

template<class T >
StackFrameVector< T >::size_type StackFrameVector< T >::debugSize ( ) const

Definition at line 415 of file StackFrameVector.h.

◆ resetStack()

template<class T >
void StackFrameVector< T >::resetStack ( )

Definition at line 423 of file StackFrameVector.h.

◆ pop()

template<class T >
StackFrameVector< T >::value_type StackFrameVector< T >::pop ( )

Definition at line 431 of file StackFrameVector.h.

◆ debugDump()

template<class T >
void StackFrameVector< T >::debugDump ( std::ostream &  s)

Definition at line 443 of file StackFrameVector.h.

Member Data Documentation

◆ buffer

template<class T >
BufferType* StackFrameVector< T >::buffer
protected

Definition at line 138 of file StackFrameVector.h.

◆ framePtr

template<class T >
iterator StackFrameVector< T >::framePtr
protected

Definition at line 141 of file StackFrameVector.h.

◆ stackPtr

template<class T >
iterator StackFrameVector< T >::stackPtr
protected

Definition at line 141 of file StackFrameVector.h.

◆ deleteBufferWhenDone

template<class T >
bool StackFrameVector< T >::deleteBufferWhenDone
protected

Definition at line 145 of file StackFrameVector.h.


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