Nektar++
|
#include <ArrayPolicies.hpp>
Static Public Member Functions | |
static void | Initialize (ObjectType *data, unsigned int itemsToCreate) |
Initalize each element in the array with ObjectType's default constructor. More... | |
static void | Initialize (ObjectType *data, unsigned int itemsToCreate, const ObjectType &initValue) |
Initalize each element in the array with ObjectType's copy constructor. More... | |
static void | Initialize (ObjectType *data, unsigned int itemsToCreate, const ObjectType *initValue) |
Static Private Member Functions | |
template<typename CreateType > | |
static void | DoInitialization (ObjectType *data, unsigned int itemsToCreate, const CreateType &f) |
static void | DefaultConstructionWithPlacementNew (ObjectType *element) |
static void | CopyConstructionWithPlacementNew (ObjectType *element, const ObjectType &initValue) |
static void | CopyConstructionFromArray (ObjectType *element, const ObjectType *&rhs) |
Definition at line 84 of file ArrayPolicies.hpp.
|
inlinestaticprivate |
Definition at line 148 of file ArrayPolicies.hpp.
|
inlinestaticprivate |
Definition at line 143 of file ArrayPolicies.hpp.
|
inlinestaticprivate |
Definition at line 138 of file ArrayPolicies.hpp.
|
inlinestaticprivate |
Definition at line 115 of file ArrayPolicies.hpp.
|
inlinestatic |
Initalize each element in the array with ObjectType's default constructor.
data | The array of values to populate. |
itemsToCreate | The size of data. |
Definition at line 91 of file ArrayPolicies.hpp.
|
inlinestatic |
Initalize each element in the array with ObjectType's copy constructor.
data | The array of values to populate. |
itemsToCreate | The size of data. |
initValue | The inital value each element in data will have. |
Definition at line 101 of file ArrayPolicies.hpp.
|
inlinestatic |
Definition at line 107 of file ArrayPolicies.hpp.