casacore
|
A global enum used by some Array/Block constructors. More...
#include <Allocator.h>
Public Member Functions | |
Bool | operator== (ArrayInitPolicy const &other) |
Bool | operator!= (ArrayInitPolicy const &other) |
Static Public Attributes | |
static ArrayInitPolicy const | NO_INIT |
Don't initialize elements in the array. More... | |
static ArrayInitPolicy const | INIT |
Initialize all elements in the array with the default value. More... | |
Private Member Functions | |
ArrayInitPolicy (bool v) | |
Private Attributes | |
Bool | init |
A global enum used by some Array/Block constructors.
ArrayInitPolicy is used in functions where an array is allocated/resized.
Definition at line 57 of file Allocator.h.
|
inlineexplicitprivate |
Definition at line 71 of file Allocator.h.
|
inline |
Definition at line 66 of file Allocator.h.
References init.
|
inline |
Definition at line 63 of file Allocator.h.
References init.
|
static |
Initialize all elements in the array with the default value.
Definition at line 62 of file Allocator.h.
Referenced by casacore::Block< casacore::String >::Block(), casacore::Array< casacore::String >::defaultArrayInitPolicy(), casacore::Block< casacore::String >::init(), casacore::Block< casacore::String >::remove(), and casacore::Block< casacore::String >::resize().
|
private |
Definition at line 70 of file Allocator.h.
Referenced by operator!=(), and operator==().
|
static |
Don't initialize elements in the array.
(The array will be explicitly filled with values other than the default value.)
Definition at line 60 of file Allocator.h.
Referenced by casacore::Block< casacore::String >::Block(), casacore::Array< casacore::String >::defaultArrayInitPolicy(), casacore::Block< casacore::String >::operator=(), casacore::Block< casacore::String >::remove(), and casacore::Block< casacore::String >::resize().