OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
PRegion< T > Class Template Reference

#include <PRegion.h>

Collaboration diagram for PRegion< T >:

Public Member Functions

 PRegion ()
 PRegion (T B)
 PRegion (T A, T B)
 ~PRegion ()
min () const
max () const
length () const
first () const
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< T > intersect (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

First
Last

Detailed Description

template<class T>
class PRegion< T >

Definition at line 60 of file PRegion.h.

Constructor & Destructor Documentation

◆ PRegion() [1/3]

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

◆ PRegion() [2/3]

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

Definition at line 69 of file PRegion.h.

References First, and Last.

◆ PRegion() [3/3]

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

Definition at line 70 of file PRegion.h.

References First, and Last.

◆ ~PRegion()

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

Definition at line 73 of file PRegion.h.

Member Function Documentation

◆ contains()

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

Definition at line 169 of file PRegion.h.

References max(), min(), and PRegion().

Here is the call graph for this function:

◆ empty()

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

Definition at line 81 of file PRegion.h.

References First, and Last.

◆ first()

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

Definition at line 79 of file PRegion.h.

References First.

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

◆ getMessage()

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

Definition at line 206 of file PRegion.h.

References Message::get_iter(), and PRegion().

Here is the call graph for this function:

◆ intersect()

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

Definition at line 110 of file PRegion.h.

References max(), min(), and PRegion().

Here is the call graph for this function:

◆ last()

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

Definition at line 80 of file PRegion.h.

References Last.

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

◆ length()

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

Definition at line 78 of file PRegion.h.

References max(), and min().

Referenced by operator<().

Here is the call graph for this function:

◆ max()

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

Definition at line 77 of file PRegion.h.

References First, and Last.

Referenced by contains(), intersect(), length(), operator<<(), and touches().

◆ min()

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

Definition at line 76 of file PRegion.h.

References First, and Last.

Referenced by contains(), intersect(), length(), operator<(), operator<<(), and touches().

◆ operator*=()

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

Definition at line 94 of file PRegion.h.

References First, Last, and PRegion().

Here is the call graph for this function:

◆ operator+=()

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

Definition at line 84 of file PRegion.h.

References First, Last, and PRegion().

Here is the call graph for this function:

◆ operator-=()

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

Definition at line 89 of file PRegion.h.

References First, Last, and PRegion().

Here is the call graph for this function:

◆ operator/=()

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

Definition at line 99 of file PRegion.h.

References First, Last, and PRegion().

Here is the call graph for this function:

◆ operator<()

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

Definition at line 182 of file PRegion.h.

References length(), min(), and PRegion().

Here is the call graph for this function:

◆ operator==()

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

Definition at line 192 of file PRegion.h.

References First, Last, and PRegion().

Here is the call graph for this function:

◆ putMessage()

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

Definition at line 197 of file PRegion.h.

References First, Last, and Message::put().

Here is the call graph for this function:

◆ split()

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

Definition at line 174 of file PRegion.h.

References First, Last, and PRegion().

Here is the call graph for this function:

◆ touches()

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

Definition at line 143 of file PRegion.h.

References max(), min(), and PRegion().

Here is the call graph for this function:

Member Data Documentation

◆ First

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

◆ Last

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

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