OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Classes | Public Member Functions | Private Attributes | List of all members
RefBlockP< T, BoundsCheck > Class Template Reference

#include <RefBlock.h>

Collaboration diagram for RefBlockP< T, BoundsCheck >:
Collaboration graph
[legend]

Classes

class  RefBlockController
 

Public Member Functions

 RefBlockP ()
 
 RefBlockP (size_t size)
 
 RefBlockP (T *p, size_t size)
 
 RefBlockP (const RefBlockP< T, BoundsCheck > &b)
 
RefBlockP< T, BoundsCheck > & operator= (const RefBlockP< T, BoundsCheck > &rhs)
 
RefBlockP< T, BoundsCheck > & operator++ ()
 
RefBlockP< T, BoundsCheck > operator++ (int)
 
RefBlockP< T, BoundsCheck > & operator-- ()
 
RefBlockP< T, BoundsCheck > operator-- (int)
 
Toperator* () const
 
Toperator[] (int i) const
 
Toperator-> () const
 
void operator+= (int i)
 
void operator-= (int i)
 
RefBlockP< T, BoundsCheck > operator+ (int i)
 
RefBlockP< T, BoundsCheck > operator- (int i)
 
bool operator== (const RefBlockP< T, BoundsCheck > &a) const
 
void invalidate ()
 
bool valid ()
 
 operator T * () const
 

Private Attributes

TP
 
RefCountedP< RefBlockControllerController
 

Detailed Description

template<class T, bool BoundsCheck = false>
class RefBlockP< T, BoundsCheck >

Definition at line 61 of file RefBlock.h.

Constructor & Destructor Documentation

template<class T, bool BoundsCheck = false>
RefBlockP< T, BoundsCheck >::RefBlockP ( )
inline

Definition at line 116 of file RefBlock.h.

template<class T, bool BoundsCheck = false>
RefBlockP< T, BoundsCheck >::RefBlockP ( size_t  size)
inline
template<class T, bool BoundsCheck = false>
RefBlockP< T, BoundsCheck >::RefBlockP ( T p,
size_t  size 
)
inline

Definition at line 131 of file RefBlock.h.

template<class T, bool BoundsCheck = false>
RefBlockP< T, BoundsCheck >::RefBlockP ( const RefBlockP< T, BoundsCheck > &  b)
inline

Definition at line 137 of file RefBlock.h.

Member Function Documentation

template<class T, bool BoundsCheck = false>
void RefBlockP< T, BoundsCheck >::invalidate ( )
inline
template<class T, bool BoundsCheck = false>
RefBlockP< T, BoundsCheck >::operator T * ( ) const
inline

Definition at line 254 of file RefBlock.h.

References RefBlockP< T, BoundsCheck >::P.

template<class T, bool BoundsCheck = false>
T& RefBlockP< T, BoundsCheck >::operator* ( void  ) const
inline
template<class T, bool BoundsCheck = false>
RefBlockP<T,BoundsCheck> RefBlockP< T, BoundsCheck >::operator+ ( int  i)
inline

Definition at line 219 of file RefBlock.h.

template<class T, bool BoundsCheck = false>
RefBlockP<T,BoundsCheck>& RefBlockP< T, BoundsCheck >::operator++ ( void  )
inline

Definition at line 167 of file RefBlock.h.

References RefBlockP< T, BoundsCheck >::P.

template<class T, bool BoundsCheck = false>
RefBlockP<T,BoundsCheck> RefBlockP< T, BoundsCheck >::operator++ ( int  )
inline

Definition at line 172 of file RefBlock.h.

References RefBlockP< T, BoundsCheck >::P.

template<class T, bool BoundsCheck = false>
void RefBlockP< T, BoundsCheck >::operator+= ( int  i)
inline

Definition at line 210 of file RefBlock.h.

References RefBlockP< T, BoundsCheck >::P.

template<class T, bool BoundsCheck = false>
RefBlockP<T,BoundsCheck> RefBlockP< T, BoundsCheck >::operator- ( int  i)
inline

Definition at line 225 of file RefBlock.h.

template<class T, bool BoundsCheck = false>
RefBlockP<T,BoundsCheck>& RefBlockP< T, BoundsCheck >::operator-- ( void  )
inline

Definition at line 178 of file RefBlock.h.

References RefBlockP< T, BoundsCheck >::P.

template<class T, bool BoundsCheck = false>
RefBlockP<T,BoundsCheck> RefBlockP< T, BoundsCheck >::operator-- ( int  )
inline

Definition at line 183 of file RefBlock.h.

References RefBlockP< T, BoundsCheck >::P.

template<class T, bool BoundsCheck = false>
void RefBlockP< T, BoundsCheck >::operator-= ( int  i)
inline

Definition at line 214 of file RefBlock.h.

References RefBlockP< T, BoundsCheck >::P.

template<class T, bool BoundsCheck = false>
T* RefBlockP< T, BoundsCheck >::operator-> ( ) const
inline
template<class T, bool BoundsCheck = false>
RefBlockP<T,BoundsCheck>& RefBlockP< T, BoundsCheck >::operator= ( const RefBlockP< T, BoundsCheck > &  rhs)
inline
template<class T, bool BoundsCheck = false>
bool RefBlockP< T, BoundsCheck >::operator== ( const RefBlockP< T, BoundsCheck > &  a) const
inline

Definition at line 232 of file RefBlock.h.

References RefBlockP< T, BoundsCheck >::P.

template<class T, bool BoundsCheck = false>
T& RefBlockP< T, BoundsCheck >::operator[] ( int  i) const
inline
template<class T, bool BoundsCheck = false>
bool RefBlockP< T, BoundsCheck >::valid ( )
inline

Definition at line 246 of file RefBlock.h.

References RefBlockP< T, BoundsCheck >::P.

Member Data Documentation

template<class T, bool BoundsCheck = false>
RefCountedP< RefBlockController > RefBlockP< T, BoundsCheck >::Controller
private
template<class T, bool BoundsCheck = false>
T* RefBlockP< T, BoundsCheck >::P
private

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