OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
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 ()
 
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

Definition at line 68 of file PRegion.h.

◆ PRegion() [2/3]

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

Definition at line 69 of file PRegion.h.

◆ PRegion() [3/3]

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

Definition at line 70 of file PRegion.h.

◆ ~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 PRegion< T >::max(), and PRegion< T >::min().

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 PRegion< T >::First, and PRegion< T >::Last.

◆ first()

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/().

◆ getMessage()

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

Definition at line 206 of file PRegion.h.

References Message::get_iter(), and Attrib::Legacy::Distribution::T.

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 PRegion< T >::max(), PRegion< T >::min(), and Attrib::Legacy::Distribution::T.

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 PRegion< T >::Last.

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

◆ length()

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:

◆ max()

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

◆ min()

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

◆ operator*=()

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

Definition at line 94 of file PRegion.h.

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

◆ operator+=()

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

Definition at line 84 of file PRegion.h.

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

◆ operator-=()

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

Definition at line 89 of file PRegion.h.

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

◆ operator/=()

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

Definition at line 99 of file PRegion.h.

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

◆ operator<()

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 Attrib::Legacy::Distribution::T.

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 PRegion< T >::First, and PRegion< T >::Last.

◆ putMessage()

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 Attrib::Legacy::Distribution::T.

Here is the call graph for this function:

◆ split()

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

◆ touches()

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 Attrib::Legacy::Distribution::T.

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: