ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
StackFrameVector< T > Class Template Reference

#include <StackFrameVector.h>

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 ()
 
 StackFrameVector (const StackFrameVector &)
 
 StackFrameVector (size_type n)
 
 StackFrameVector (size_type n, value_type initValue)
 
 ~StackFrameVector ()
 
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

BufferTypebuffer
 
iterator framePtr
 
iterator stackPtr
 
bool deleteBufferWhenDone
 

Private Member Functions

 StackFrameVector (const BufferType &otherBuffer, difference_type framePtrOffset)
 

Detailed Description

template<class T>
class StackFrameVector< T >

Definition at line 43 of file StackFrameVector.h.

Member Typedef Documentation

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

Definition at line 48 of file StackFrameVector.h.

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

Definition at line 52 of file StackFrameVector.h.

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

Definition at line 53 of file StackFrameVector.h.

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

Definition at line 54 of file StackFrameVector.h.

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

Definition at line 55 of file StackFrameVector.h.

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

Definition at line 56 of file StackFrameVector.h.

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

Definition at line 57 of file StackFrameVector.h.

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

Definition at line 58 of file StackFrameVector.h.

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

Definition at line 59 of file StackFrameVector.h.

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

Definition at line 60 of file StackFrameVector.h.

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

Definition at line 61 of file StackFrameVector.h.

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

Definition at line 62 of file StackFrameVector.h.

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

Definition at line 63 of file StackFrameVector.h.

Constructor & Destructor Documentation

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

Definition at line 155 of file StackFrameVector.h.

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

Definition at line 164 of file StackFrameVector.h.

template<class T>
StackFrameVector< T >::StackFrameVector ( size_type  n)
template<class T>
StackFrameVector< T >::StackFrameVector ( size_type  n,
value_type  initValue 
)
template<class T >
StackFrameVector< T >::~StackFrameVector ( )

Definition at line 205 of file StackFrameVector.h.

template<class T>
StackFrameVector< T >::StackFrameVector ( const BufferType otherBuffer,
difference_type  framePtrOffset 
)
explicitprivate

Member Function Documentation

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

Definition at line 217 of file StackFrameVector.h.

Referenced by SgGraphTraversal< CFG >::operator=().

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

Definition at line 235 of file StackFrameVector.h.

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

Definition at line 249 of file StackFrameVector.h.

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

Definition at line 256 of file StackFrameVector.h.

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

Definition at line 263 of file StackFrameVector.h.

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

Definition at line 270 of file StackFrameVector.h.

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

Definition at line 277 of file StackFrameVector.h.

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

Definition at line 284 of file StackFrameVector.h.

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

Definition at line 291 of file StackFrameVector.h.

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

Definition at line 298 of file StackFrameVector.h.

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

Definition at line 305 of file StackFrameVector.h.

template<class T>
reference StackFrameVector< T >::operator[] ( size_type  )
template<class T>
const_reference StackFrameVector< T >::operator[] ( size_type  ) const
template<class T>
reference StackFrameVector< T >::at ( size_type  )
template<class T>
const_reference StackFrameVector< T >::at ( size_type  ) const
template<class T >
StackFrameVector< T >::reference StackFrameVector< T >::front ( )

Definition at line 346 of file StackFrameVector.h.

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

Definition at line 353 of file StackFrameVector.h.

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

Definition at line 360 of file StackFrameVector.h.

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

Definition at line 367 of file StackFrameVector.h.

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

Definition at line 373 of file StackFrameVector.h.

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

Definition at line 381 of file StackFrameVector.h.

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

Definition at line 405 of file StackFrameVector.h.

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

Definition at line 415 of file StackFrameVector.h.

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

Definition at line 423 of file StackFrameVector.h.

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

Definition at line 431 of file StackFrameVector.h.

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

Definition at line 443 of file StackFrameVector.h.

Member Data Documentation

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

Definition at line 138 of file StackFrameVector.h.

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

Definition at line 141 of file StackFrameVector.h.

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

Definition at line 141 of file StackFrameVector.h.

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: