casacore
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
casacore::ArrayInitPolicy Class Reference

More...

#include <Allocator.h>

Public Member Functions

Bool operator== (ArrayInitPolicy const &other)
 
Bool operator!= (ArrayInitPolicy const &other)
 

Private Member Functions

constexpr ArrayInitPolicy (bool v)
 

Private Attributes

Bool init
 

Friends

struct ArrayInitPolicies
 

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 55 of file Allocator.h.

Constructor & Destructor Documentation

◆ ArrayInitPolicy()

constexpr casacore::ArrayInitPolicy::ArrayInitPolicy ( bool  v)
inlineexplicitconstexprprivate

Definition at line 65 of file Allocator.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 60 of file Allocator.h.

References init.

◆ operator==()

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

Definition at line 57 of file Allocator.h.

References init.

Friends And Related Function Documentation

◆ ArrayInitPolicies

friend struct ArrayInitPolicies
friend

Definition at line 66 of file Allocator.h.

Member Data Documentation

◆ init

Bool casacore::ArrayInitPolicy::init
private

Definition at line 64 of file Allocator.h.

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


The documentation for this class was generated from the following file: