clang API Documentation

Public Types | Public Member Functions
clang::BumpVector< T > Class Template Reference

#include <BumpVector.h>

Inheritance diagram for clang::BumpVector< T >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef size_t size_type
typedef ptrdiff_t difference_type
typedef T value_type
typedef T * iterator
typedef const T * const_iterator
typedef std::reverse_iterator
< const_iterator
const_reverse_iterator
typedef std::reverse_iterator
< iterator
reverse_iterator
typedef T & reference
typedef const T & const_reference
typedef T * pointer
typedef const T * const_pointer

Public Member Functions

 BumpVector (BumpVectorContext &C, unsigned N)
 ~BumpVector ()
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
bool empty () const
size_type size () const
reference operator[] (unsigned idx)
const_reference operator[] (unsigned idx) const
reference front ()
const_reference front () const
reference back ()
const_reference back () const
void pop_back ()
pop_back_val ()
void clear ()
pointer data ()
 data - Return a pointer to the vector's buffer, even if empty().
const_pointer data () const
 data - Return a pointer to the vector's buffer, even if empty().
void push_back (const_reference Elt, BumpVectorContext &C)
iterator insert (iterator I, size_t Cnt, const_reference E, BumpVectorContext &C)
void reserve (BumpVectorContext &C, unsigned N)
size_t capacity () const

Detailed Description

template<typename T>
class clang::BumpVector< T >

Definition at line 53 of file BumpVector.h.


Member Typedef Documentation

template<typename T>
typedef const T* clang::BumpVector< T >::const_iterator

Definition at line 73 of file BumpVector.h.

template<typename T>
typedef const T* clang::BumpVector< T >::const_pointer

Definition at line 81 of file BumpVector.h.

template<typename T>
typedef const T& clang::BumpVector< T >::const_reference

Definition at line 79 of file BumpVector.h.

template<typename T>
typedef std::reverse_iterator<const_iterator> clang::BumpVector< T >::const_reverse_iterator

Definition at line 75 of file BumpVector.h.

template<typename T>
typedef ptrdiff_t clang::BumpVector< T >::difference_type

Definition at line 70 of file BumpVector.h.

template<typename T>
typedef T* clang::BumpVector< T >::iterator

Definition at line 72 of file BumpVector.h.

template<typename T>
typedef T* clang::BumpVector< T >::pointer

Definition at line 80 of file BumpVector.h.

template<typename T>
typedef T& clang::BumpVector< T >::reference

Definition at line 78 of file BumpVector.h.

template<typename T>
typedef std::reverse_iterator<iterator> clang::BumpVector< T >::reverse_iterator

Definition at line 76 of file BumpVector.h.

template<typename T>
typedef size_t clang::BumpVector< T >::size_type

Definition at line 69 of file BumpVector.h.

template<typename T>
typedef T clang::BumpVector< T >::value_type

Definition at line 71 of file BumpVector.h.


Constructor & Destructor Documentation

template<typename T>
clang::BumpVector< T >::BumpVector ( BumpVectorContext C,
unsigned  N 
) [inline, explicit]

Definition at line 57 of file BumpVector.h.

template<typename T>
clang::BumpVector< T >::~BumpVector ( ) [inline]

Definition at line 62 of file BumpVector.h.


Member Function Documentation

template<typename T>
reference clang::BumpVector< T >::back ( ) [inline]
template<typename T>
const_reference clang::BumpVector< T >::back ( ) const [inline]

Definition at line 117 of file BumpVector.h.

template<typename T>
iterator clang::BumpVector< T >::begin ( ) [inline]
template<typename T>
const_iterator clang::BumpVector< T >::begin ( ) const [inline]

Definition at line 85 of file BumpVector.h.

template<typename T>
size_t clang::BumpVector< T >::capacity ( ) const [inline]

capacity - Return the total number of elements in the currently allocated buffer.

Definition at line 185 of file BumpVector.h.

template<typename T>
void clang::BumpVector< T >::clear ( ) [inline]

Definition at line 132 of file BumpVector.h.

template<typename T>
pointer clang::BumpVector< T >::data ( ) [inline]

data - Return a pointer to the vector's buffer, even if empty().

Definition at line 140 of file BumpVector.h.

template<typename T>
const_pointer clang::BumpVector< T >::data ( ) const [inline]

data - Return a pointer to the vector's buffer, even if empty().

Definition at line 145 of file BumpVector.h.

template<typename T>
bool clang::BumpVector< T >::empty ( ) const [inline]

Definition at line 95 of file BumpVector.h.

Referenced by clang::CFGBlock::pred_empty(), and clang::CFGBlock::succ_empty().

template<typename T>
iterator clang::BumpVector< T >::end ( ) [inline]
template<typename T>
const_iterator clang::BumpVector< T >::end ( ) const [inline]

Definition at line 87 of file BumpVector.h.

template<typename T>
reference clang::BumpVector< T >::front ( ) [inline]

Definition at line 107 of file BumpVector.h.

Referenced by clang::CFG::front().

template<typename T>
const_reference clang::BumpVector< T >::front ( ) const [inline]

Definition at line 110 of file BumpVector.h.

template<typename T>
iterator clang::BumpVector< T >::insert ( iterator  I,
size_t  Cnt,
const_reference  E,
BumpVectorContext C 
) [inline]

insert - Insert some number of copies of element into a position. Return iterator to position after last inserted copy.

Definition at line 162 of file BumpVector.h.

template<typename T>
reference clang::BumpVector< T >::operator[] ( unsigned  idx) [inline]

Definition at line 98 of file BumpVector.h.

template<typename T>
const_reference clang::BumpVector< T >::operator[] ( unsigned  idx) const [inline]

Definition at line 102 of file BumpVector.h.

template<typename T>
void clang::BumpVector< T >::pop_back ( ) [inline]

Definition at line 121 of file BumpVector.h.

Referenced by clang::BumpVector< CFGElement >::pop_back_val().

template<typename T>
T clang::BumpVector< T >::pop_back_val ( ) [inline]

Definition at line 126 of file BumpVector.h.

template<typename T>
void clang::BumpVector< T >::push_back ( const_reference  Elt,
BumpVectorContext C 
) [inline]
template<typename T>
reverse_iterator clang::BumpVector< T >::rbegin ( ) [inline]
template<typename T>
const_reverse_iterator clang::BumpVector< T >::rbegin ( ) const [inline]

Definition at line 91 of file BumpVector.h.

template<typename T>
reverse_iterator clang::BumpVector< T >::rend ( ) [inline]
template<typename T>
const_reverse_iterator clang::BumpVector< T >::rend ( ) const [inline]

Definition at line 93 of file BumpVector.h.

template<typename T>
void clang::BumpVector< T >::reserve ( BumpVectorContext C,
unsigned  N 
) [inline]

Definition at line 178 of file BumpVector.h.

Referenced by clang::BumpVector< CFGElement >::BumpVector().

template<typename T>
size_type clang::BumpVector< T >::size ( ) const [inline]

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