clang API Documentation

Classes | Public Types | Public Member Functions
clang::threadSafety::til::SimpleArray< T > Class Template Reference

#include <ThreadSafetyUtil.h>

Inheritance diagram for clang::threadSafety::til::SimpleArray< T >:
Inheritance graph
[legend]

List of all members.

Classes

class  ReverseAdaptor

Public Types

typedef T * iterator
typedef const T * const_iterator

Public Member Functions

 SimpleArray ()
 SimpleArray (T *Dat, size_t Cp, size_t Sz=0)
 SimpleArray (MemRegionRef A, size_t Cp)
 SimpleArray (SimpleArray< T > &&A)
SimpleArrayoperator= (SimpleArray &&RHS)
void reserve (size_t Ncp, MemRegionRef A)
void reserveCheck (size_t N, MemRegionRef A)
size_t size () const
size_t capacity () const
T & operator[] (unsigned i)
const T & operator[] (unsigned i) const
T & back ()
const T & back () const
iterator begin ()
iterator end ()
const_iterator begin () const
const_iterator end () const
const_iterator cbegin () const
const_iterator cend () const
void push_back (const T &Elem)
void drop (unsigned n=0)
void setValues (unsigned Sz, const T &C)
template<class Iter >
unsigned append (Iter I, Iter E)
const ReverseAdaptor reverse () const
ReverseAdaptor reverse ()

Detailed Description

template<class T>
class clang::threadSafety::til::SimpleArray< T >

Definition at line 87 of file ThreadSafetyUtil.h.


Member Typedef Documentation

template<class T>
typedef const T* clang::threadSafety::til::SimpleArray< T >::const_iterator

Definition at line 133 of file ThreadSafetyUtil.h.

template<class T>
typedef T* clang::threadSafety::til::SimpleArray< T >::iterator

Definition at line 132 of file ThreadSafetyUtil.h.


Constructor & Destructor Documentation

template<class T>
clang::threadSafety::til::SimpleArray< T >::SimpleArray ( ) [inline]

Definition at line 89 of file ThreadSafetyUtil.h.

template<class T>
clang::threadSafety::til::SimpleArray< T >::SimpleArray ( T *  Dat,
size_t  Cp,
size_t  Sz = 0 
) [inline]

Definition at line 90 of file ThreadSafetyUtil.h.

template<class T>
clang::threadSafety::til::SimpleArray< T >::SimpleArray ( MemRegionRef  A,
size_t  Cp 
) [inline]

Definition at line 92 of file ThreadSafetyUtil.h.

template<class T>
clang::threadSafety::til::SimpleArray< T >::SimpleArray ( SimpleArray< T > &&  A) [inline]

Definition at line 94 of file ThreadSafetyUtil.h.


Member Function Documentation

template<class T>
template<class Iter >
unsigned clang::threadSafety::til::SimpleArray< T >::append ( Iter  I,
Iter  E 
) [inline]

Definition at line 183 of file ThreadSafetyUtil.h.

template<class T>
T& clang::threadSafety::til::SimpleArray< T >::back ( ) [inline]

Definition at line 146 of file ThreadSafetyUtil.h.

template<class T>
const T& clang::threadSafety::til::SimpleArray< T >::back ( ) const [inline]

Definition at line 150 of file ThreadSafetyUtil.h.

template<class T>
iterator clang::threadSafety::til::SimpleArray< T >::begin ( ) [inline]
template<class T>
const_iterator clang::threadSafety::til::SimpleArray< T >::begin ( ) const [inline]

Definition at line 158 of file ThreadSafetyUtil.h.

template<class T>
size_t clang::threadSafety::til::SimpleArray< T >::capacity ( ) const [inline]

Definition at line 136 of file ThreadSafetyUtil.h.

template<class T>
const_iterator clang::threadSafety::til::SimpleArray< T >::cbegin ( ) const [inline]

Definition at line 161 of file ThreadSafetyUtil.h.

template<class T>
const_iterator clang::threadSafety::til::SimpleArray< T >::cend ( ) const [inline]

Definition at line 162 of file ThreadSafetyUtil.h.

template<class T>
void clang::threadSafety::til::SimpleArray< T >::drop ( unsigned  n = 0) [inline]

Definition at line 170 of file ThreadSafetyUtil.h.

template<class T>
iterator clang::threadSafety::til::SimpleArray< T >::end ( ) [inline]
template<class T>
const_iterator clang::threadSafety::til::SimpleArray< T >::end ( ) const [inline]

Definition at line 159 of file ThreadSafetyUtil.h.

template<class T>
SimpleArray& clang::threadSafety::til::SimpleArray< T >::operator= ( SimpleArray< T > &&  RHS) [inline]

Definition at line 101 of file ThreadSafetyUtil.h.

template<class T>
T& clang::threadSafety::til::SimpleArray< T >::operator[] ( unsigned  i) [inline]

Definition at line 138 of file ThreadSafetyUtil.h.

template<class T>
const T& clang::threadSafety::til::SimpleArray< T >::operator[] ( unsigned  i) const [inline]

Definition at line 142 of file ThreadSafetyUtil.h.

template<class T>
void clang::threadSafety::til::SimpleArray< T >::push_back ( const T &  Elem) [inline]
template<class T>
void clang::threadSafety::til::SimpleArray< T >::reserve ( size_t  Ncp,
MemRegionRef  A 
) [inline]
template<class T>
void clang::threadSafety::til::SimpleArray< T >::reserveCheck ( size_t  N,
MemRegionRef  A 
) [inline]
template<class T>
const ReverseAdaptor clang::threadSafety::til::SimpleArray< T >::reverse ( ) const [inline]

Definition at line 220 of file ThreadSafetyUtil.h.

template<class T>
ReverseAdaptor clang::threadSafety::til::SimpleArray< T >::reverse ( ) [inline]

Definition at line 221 of file ThreadSafetyUtil.h.

template<class T>
void clang::threadSafety::til::SimpleArray< T >::setValues ( unsigned  Sz,
const T &  C 
) [inline]

Definition at line 175 of file ThreadSafetyUtil.h.

template<class T>
size_t clang::threadSafety::til::SimpleArray< T >::size ( ) const [inline]

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