![]() |
OpenLB 1.8.1
|
Efficient indexing of dynamically allocated data fields. More...
#include <data.h>
Collaboration diagram for olb::FieldTypeRegistry< T, DESCRIPTOR, PLATFORM >:Public Member Functions | |
| template<typename FIELD_TYPE > | |
| bool | provides () const |
| Returns true iff FIELD_TYPE is registered. | |
| template<typename FIELD_TYPE > | |
| const AnyFieldTypeD< T, DESCRIPTOR, PLATFORM > * | get () const |
| Return read-only pointer to FIELD_TYPE data. | |
| template<typename FIELD_TYPE > | |
| AnyFieldTypeD< T, DESCRIPTOR, PLATFORM > * | get () |
| Return pointer to FIELD_TYPE data. | |
| template<typename FIELD_TYPE > | |
| void | track (AnyFieldTypeD< T, DESCRIPTOR, PLATFORM > *fieldType) |
| Track newly allocated FIELD_TYPE. | |
Efficient indexing of dynamically allocated data fields.
May be specialized to manage platform specific access structures
|
inline |
Return pointer to FIELD_TYPE data.
FIELD_TYPE must be registered
Definition at line 288 of file data.h.
References olb::FieldTypeRegistry< T, DESCRIPTOR, PLATFORM >::get().
Here is the call graph for this function:
|
inline |
Return read-only pointer to FIELD_TYPE data.
FIELD_TYPE must be registered
Definition at line 280 of file data.h.
References olb::FieldTypeRegistry< T, DESCRIPTOR, PLATFORM >::get().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Returns true iff FIELD_TYPE is registered.
FIELD_TYPE is registered if track<FIELD_TYPE> was called previously
Definition at line 271 of file data.h.
References olb::FieldTypeRegistry< T, DESCRIPTOR, PLATFORM >::provides().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |