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

#include <PRegion.h>

Public Member Functions

 PRegion ()
 
 PRegion (T B)
 
 PRegion (T A, T B)
 
 ~PRegion ()
 
T min () const
 
T max () const
 
T length () const
 
T first () const
 
T last () const
 
bool empty () const
 
PRegion< T > & operator+= (T t)
 
PRegion< T > & operator-= (T t)
 
PRegion< T > & operator*= (T t)
 
PRegion< T > & operator/= (T t)
 
PRegion< Tintersect (const PRegion< T > &r) const
 
bool touches (const PRegion< T > &r) const
 
bool contains (const PRegion< T > &r) const
 
bool split (PRegion< T > &l, PRegion< T > &r) const
 
bool operator< (const PRegion< T > &r) const
 
bool operator== (const PRegion< T > &r) const
 
MessageputMessage (Message &m)
 
MessagegetMessage (Message &m)
 

Private Attributes

T First
 
T Last
 

Detailed Description

template<class T>
class PRegion< T >

Definition at line 39 of file PRegion.h.

Constructor & Destructor Documentation

template<class T>
PRegion< T >::PRegion ( )
inline

Definition at line 68 of file PRegion.h.

template<class T>
PRegion< T >::PRegion ( T  B)
inline

Definition at line 69 of file PRegion.h.

template<class T>
PRegion< T >::PRegion ( T  A,
T  B 
)
inline

Definition at line 70 of file PRegion.h.

template<class T>
PRegion< T >::~PRegion ( )
inline

Definition at line 73 of file PRegion.h.

Member Function Documentation

template<class T>
bool PRegion< T >::contains ( const PRegion< T > &  r) const
inline

Definition at line 169 of file PRegion.h.

References PRegion< T >::max(), and PRegion< T >::min().

Here is the call graph for this function:

template<class T>
bool PRegion< T >::empty ( ) const
inline

Definition at line 81 of file PRegion.h.

References PRegion< T >::First, and PRegion< T >::Last.

template<class T>
T PRegion< T >::first ( ) const
inline

Definition at line 79 of file PRegion.h.

References PRegion< T >::First.

Referenced by operator*(), operator+(), operator-(), and operator/().

template<class T>
Message& PRegion< T >::getMessage ( Message m)
inline

Definition at line 210 of file PRegion.h.

References Message::get_iter(), getMessage_iter(), and T.

Here is the call graph for this function:

template<class T>
PRegion<T> PRegion< T >::intersect ( const PRegion< T > &  r) const
inline

Definition at line 110 of file PRegion.h.

References PRegion< T >::max(), PRegion< T >::min(), and T.

Here is the call graph for this function:

template<class T>
T PRegion< T >::last ( ) const
inline

Definition at line 80 of file PRegion.h.

References PRegion< T >::Last.

Referenced by operator*(), operator+(), operator-(), and operator/().

template<class T>
T PRegion< T >::length ( ) const
inline

Definition at line 78 of file PRegion.h.

References PRegion< T >::max(), and PRegion< T >::min().

Referenced by PRegion< T >::operator<().

Here is the call graph for this function:

template<class T>
T PRegion< T >::max ( ) const
inline
template<class T>
T PRegion< T >::min ( ) const
inline
template<class T>
PRegion<T>& PRegion< T >::operator*= ( T  t)
inline

Definition at line 94 of file PRegion.h.

References PRegion< T >::First, and PRegion< T >::Last.

template<class T>
PRegion<T>& PRegion< T >::operator+= ( T  t)
inline

Definition at line 84 of file PRegion.h.

References PRegion< T >::First, and PRegion< T >::Last.

template<class T>
PRegion<T>& PRegion< T >::operator-= ( T  t)
inline

Definition at line 89 of file PRegion.h.

References PRegion< T >::First, and PRegion< T >::Last.

template<class T>
PRegion<T>& PRegion< T >::operator/= ( T  t)
inline

Definition at line 99 of file PRegion.h.

References PRegion< T >::First, and PRegion< T >::Last.

template<class T>
bool PRegion< T >::operator< ( const PRegion< T > &  r) const
inline

Definition at line 182 of file PRegion.h.

References PRegion< T >::length(), PRegion< T >::min(), and T.

Here is the call graph for this function:

template<class T>
bool PRegion< T >::operator== ( const PRegion< T > &  r) const
inline

Definition at line 192 of file PRegion.h.

References PRegion< T >::First, and PRegion< T >::Last.

template<class T>
Message& PRegion< T >::putMessage ( Message m)
inline

Definition at line 197 of file PRegion.h.

References PRegion< T >::First, PRegion< T >::Last, Message::put(), and T.

Here is the call graph for this function:

template<class T>
bool PRegion< T >::split ( PRegion< T > &  l,
PRegion< T > &  r 
) const
inline

Definition at line 174 of file PRegion.h.

References PRegion< T >::First, PRegion< T >::Last, and T.

template<class T>
bool PRegion< T >::touches ( const PRegion< T > &  r) const
inline

Definition at line 143 of file PRegion.h.

References PRegion< T >::max(), PRegion< T >::min(), and T.

Here is the call graph for this function:

Member Data Documentation

template<class T>
T PRegion< T >::First
private
template<class T>
T PRegion< T >::Last
private

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