class Gambit::omp_safe_ptr
[No description available] More…
#include <util_types.hpp>
Inherits from Gambit::safe_ptr< TYPE >
Public Functions
Name | |
---|---|
omp_safe_ptr(TYPE * in_ptr =NULL) Constructor. | |
virtual const TYPE & | operator*() const Dereference pointer. |
Additional inherited members
Public Functions inherited from Gambit::safe_ptr< TYPE >
Name | |
---|---|
safe_ptr(TYPE * in_ptr =NULL) Construct-o-safe_ptr. | |
virtual void | set(TYPE * in_ptr) Set pointer. |
virtual const TYPE & | operator[](int index) const Dereference pointer as if it is an array. |
virtual const TYPE * | operator->() const Access is allowed to const member functions only. |
virtual bool | isNull() const |
Protected Functions inherited from Gambit::safe_ptr< TYPE >
Name | |
---|---|
void | dieGracefully() Failure message invoked when the user tries to dereference a null safe_ptr. |
Protected Attributes inherited from Gambit::safe_ptr< TYPE >
Name | |
---|---|
const TYPE * | ptr The actual underlying pointer, interpreted as a pointer to constant value. |
Detailed Description
template <typename TYPE >
class Gambit::omp_safe_ptr;
A safe pointer designed to point at an array, and return the entry in that array corresponding to the current OpenMP thread.
Public Functions Documentation
function omp_safe_ptr
inline omp_safe_ptr(
TYPE * in_ptr =NULL
)
Constructor.
function operator*
inline virtual const TYPE & operator*() const
Dereference pointer.
Reimplements: Gambit::safe_ptr::operator*
Updated on 2024-07-18 at 13:53:30 +0000