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

#include <Cxx_Grammar.h>

Inheritance diagram for SgSharedVector< _Tp >:
Collaboration diagram for SgSharedVector< _Tp >:

Classes

class  const_iterator
 
class  iterator
 

Public Types

typedef _Tp value_type
 
typedef _Tp * pointer
 
typedef const _Tp * const_pointer
 
typedef _Tp & reference
 
typedef const _Tp & const_reference
 
typedef size_t size_type
 

Public Member Functions

 SgSharedVector ()
 
 SgSharedVector (pointer pool, size_type n)
 
 SgSharedVector (pointer pool, size_type n, size_type nres)
 
 SgSharedVector (const SgSharedVector &x)
 
 SgSharedVector (const SgSharedVector &x, size_type offset)
 
 SgSharedVector (const SgSharedVector &x, size_type offset, size_type size)
 
 ~SgSharedVector ()
 
SgSharedVectoroperator= (const SgSharedVector &x)
 
void clear ()
 
void erase (iterator position)
 
void erase (iterator start, iterator finish)
 
void pop_back ()
 
void insert (iterator position, const_reference x)
 
void insert (iterator position, size_type n, const_reference x)
 
void insert (iterator position, iterator start, iterator finish)
 
void push_back (const_reference x)
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
reference operator[] (size_type n)
 
const_reference operator[] (size_type n) const
 
reference at (size_type n)
 
const_reference at (size_type n) const
 
reference back ()
 
const_reference back () const
 
reference front ()
 
const_reference front () const
 
pointer pool () const
 
size_type capacity () const
 
bool empty () const
 
size_type max_size () const
 
void reserve (size_type n)
 
void resize (size_type n)
 
size_type size () const
 

Private Attributes

pointer p_pool
 
size_type p_capacity
 
size_type p_size
 

Detailed Description

template<typename _Tp>
class SgSharedVector< _Tp >

Definition at line 6916 of file Cxx_Grammar.h.

Member Typedef Documentation

template<typename _Tp>
typedef _Tp SgSharedVector< _Tp >::value_type

Definition at line 6918 of file Cxx_Grammar.h.

template<typename _Tp>
typedef _Tp* SgSharedVector< _Tp >::pointer

Definition at line 6919 of file Cxx_Grammar.h.

template<typename _Tp>
typedef const _Tp* SgSharedVector< _Tp >::const_pointer

Definition at line 6920 of file Cxx_Grammar.h.

template<typename _Tp>
typedef _Tp& SgSharedVector< _Tp >::reference

Definition at line 6921 of file Cxx_Grammar.h.

template<typename _Tp>
typedef const _Tp& SgSharedVector< _Tp >::const_reference

Definition at line 6922 of file Cxx_Grammar.h.

template<typename _Tp>
typedef size_t SgSharedVector< _Tp >::size_type

Definition at line 6923 of file Cxx_Grammar.h.

Constructor & Destructor Documentation

template<typename _Tp>
SgSharedVector< _Tp >::SgSharedVector ( )
inlineexplicit

Definition at line 6950 of file Cxx_Grammar.h.

template<typename _Tp>
SgSharedVector< _Tp >::SgSharedVector ( pointer  pool,
size_type  n 
)
inlineexplicit

Definition at line 6953 of file Cxx_Grammar.h.

template<typename _Tp>
SgSharedVector< _Tp >::SgSharedVector ( pointer  pool,
size_type  n,
size_type  nres 
)
inlineexplicit

Definition at line 6956 of file Cxx_Grammar.h.

template<typename _Tp>
SgSharedVector< _Tp >::SgSharedVector ( const SgSharedVector< _Tp > &  x)
inline

Definition at line 6961 of file Cxx_Grammar.h.

template<typename _Tp>
SgSharedVector< _Tp >::SgSharedVector ( const SgSharedVector< _Tp > &  x,
size_type  offset 
)
inline

Definition at line 6964 of file Cxx_Grammar.h.

template<typename _Tp>
SgSharedVector< _Tp >::SgSharedVector ( const SgSharedVector< _Tp > &  x,
size_type  offset,
size_type  size 
)
inline

Definition at line 6975 of file Cxx_Grammar.h.

template<typename _Tp>
SgSharedVector< _Tp >::~SgSharedVector ( )
inline

Definition at line 6982 of file Cxx_Grammar.h.

Member Function Documentation

template<typename _Tp>
SgSharedVector& SgSharedVector< _Tp >::operator= ( const SgSharedVector< _Tp > &  x)
inline

Definition at line 6985 of file Cxx_Grammar.h.

template<typename _Tp>
void SgSharedVector< _Tp >::clear ( )
inline

Definition at line 6993 of file Cxx_Grammar.h.

Referenced by SgAsmGenericFile::~SgAsmGenericFile().

template<typename _Tp>
void SgSharedVector< _Tp >::erase ( iterator  position)
inline

Definition at line 6998 of file Cxx_Grammar.h.

template<typename _Tp>
void SgSharedVector< _Tp >::erase ( iterator  start,
iterator  finish 
)
inline

Definition at line 7001 of file Cxx_Grammar.h.

template<typename _Tp>
void SgSharedVector< _Tp >::pop_back ( )
inline

Definition at line 7004 of file Cxx_Grammar.h.

template<typename _Tp>
void SgSharedVector< _Tp >::insert ( iterator  position,
const_reference  x 
)
inline

Definition at line 7010 of file Cxx_Grammar.h.

template<typename _Tp>
void SgSharedVector< _Tp >::insert ( iterator  position,
size_type  n,
const_reference  x 
)
inline

Definition at line 7013 of file Cxx_Grammar.h.

template<typename _Tp>
void SgSharedVector< _Tp >::insert ( iterator  position,
iterator  start,
iterator  finish 
)
inline

Definition at line 7016 of file Cxx_Grammar.h.

template<typename _Tp>
void SgSharedVector< _Tp >::push_back ( const_reference  x)
inline

Definition at line 7019 of file Cxx_Grammar.h.

template<typename _Tp>
iterator SgSharedVector< _Tp >::begin ( )
inline

Definition at line 7025 of file Cxx_Grammar.h.

template<typename _Tp>
iterator SgSharedVector< _Tp >::end ( )
inline

Definition at line 7026 of file Cxx_Grammar.h.

template<typename _Tp>
const_iterator SgSharedVector< _Tp >::begin ( ) const
inline

Definition at line 7028 of file Cxx_Grammar.h.

template<typename _Tp>
const_iterator SgSharedVector< _Tp >::end ( ) const
inline

Definition at line 7029 of file Cxx_Grammar.h.

template<typename _Tp>
reference SgSharedVector< _Tp >::operator[] ( size_type  n)
inline

Definition at line 7032 of file Cxx_Grammar.h.

template<typename _Tp>
const_reference SgSharedVector< _Tp >::operator[] ( size_type  n) const
inline

Definition at line 7035 of file Cxx_Grammar.h.

template<typename _Tp>
reference SgSharedVector< _Tp >::at ( size_type  n)
inline

Definition at line 7038 of file Cxx_Grammar.h.

Referenced by SgSharedVector< unsigned char >::operator[]().

template<typename _Tp>
const_reference SgSharedVector< _Tp >::at ( size_type  n) const
inline

Definition at line 7045 of file Cxx_Grammar.h.

template<typename _Tp>
reference SgSharedVector< _Tp >::back ( )
inline

Definition at line 7050 of file Cxx_Grammar.h.

template<typename _Tp>
const_reference SgSharedVector< _Tp >::back ( ) const
inline

Definition at line 7054 of file Cxx_Grammar.h.

template<typename _Tp>
reference SgSharedVector< _Tp >::front ( )
inline

Definition at line 7058 of file Cxx_Grammar.h.

template<typename _Tp>
const_reference SgSharedVector< _Tp >::front ( ) const
inline

Definition at line 7062 of file Cxx_Grammar.h.

template<typename _Tp>
size_type SgSharedVector< _Tp >::capacity ( ) const
inline
template<typename _Tp>
bool SgSharedVector< _Tp >::empty ( ) const
inline

Definition at line 7074 of file Cxx_Grammar.h.

Referenced by SgAsmExecutableFileFormat::hexdump().

template<typename _Tp>
size_type SgSharedVector< _Tp >::max_size ( ) const
inline

Definition at line 7077 of file Cxx_Grammar.h.

template<typename _Tp>
void SgSharedVector< _Tp >::reserve ( size_type  n)
inline

Definition at line 7080 of file Cxx_Grammar.h.

template<typename _Tp>
void SgSharedVector< _Tp >::resize ( size_type  n)
inline

Definition at line 7083 of file Cxx_Grammar.h.

Referenced by SgSharedVector< unsigned char >::SgSharedVector().

Member Data Documentation


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