Nektar++
Static Public Member Functions | List of all members
Nektar::ConsistentObjectAccess< DataType > Struct Template Reference

#include <ConsistentObjectAccess.hpp>

Static Public Member Functions

static DataType & reference (DataType &o)
 
static const DataType & const_reference (const DataType &o)
 
static DataType * pointer (DataType &o)
 
static const DataType * const_pointer (const DataType &o)
 
static bool ReferencesObject (const DataType &o)
 

Detailed Description

template<typename DataType>
struct Nektar::ConsistentObjectAccess< DataType >

Definition at line 44 of file ConsistentObjectAccess.hpp.

Member Function Documentation

◆ const_pointer()

template<typename DataType >
static const DataType * Nektar::ConsistentObjectAccess< DataType >::const_pointer ( const DataType &  o)
inlinestatic

Definition at line 58 of file ConsistentObjectAccess.hpp.

59 {
60 return &o;
61 }

◆ const_reference()

template<typename DataType >
static const DataType & Nektar::ConsistentObjectAccess< DataType >::const_reference ( const DataType &  o)
inlinestatic

Definition at line 50 of file ConsistentObjectAccess.hpp.

51 {
52 return o;
53 }

◆ pointer()

template<typename DataType >
static DataType * Nektar::ConsistentObjectAccess< DataType >::pointer ( DataType &  o)
inlinestatic

Definition at line 54 of file ConsistentObjectAccess.hpp.

55 {
56 return &o;
57 }

◆ reference()

template<typename DataType >
static DataType & Nektar::ConsistentObjectAccess< DataType >::reference ( DataType &  o)
inlinestatic

Definition at line 46 of file ConsistentObjectAccess.hpp.

47 {
48 return o;
49 }

◆ ReferencesObject()

template<typename DataType >
static bool Nektar::ConsistentObjectAccess< DataType >::ReferencesObject ( const DataType &  o)
inlinestatic

Definition at line 63 of file ConsistentObjectAccess.hpp.

64 {
65 return true;
66 }