casacore::ArrayInitPolicy Class Reference

A global enum used by some Array/Block constructors. More...

#include <Allocator.h>

List of all members.

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.
static ArrayInitPolicy const INIT
 Initialize all elements in the array with the default value.

Private Member Functions

 ArrayInitPolicy (bool v)

Private Attributes

Bool init

Detailed Description

A global enum used by some Array/Block constructors.

Synopsis

ArrayInitPolicy is used in functions where an array is allocated/resized.

Definition at line 57 of file Allocator.h.


Constructor & Destructor Documentation

casacore::ArrayInitPolicy::ArrayInitPolicy ( bool  v  )  [inline, explicit, private]

Definition at line 71 of file Allocator.h.


Member Function Documentation

Bool casacore::ArrayInitPolicy::operator!= ( ArrayInitPolicy const &  other  )  [inline]

Definition at line 66 of file Allocator.h.

References init.

Bool casacore::ArrayInitPolicy::operator== ( ArrayInitPolicy const &  other  )  [inline]

Definition at line 63 of file Allocator.h.

References init.


Member Data Documentation

Definition at line 70 of file Allocator.h.

Referenced by operator!=(), and operator==().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1