Singleton null-object class and instance. More...
Public Member Functions | |
const void * | pointer () const |
unsigned long | value () const |
bool | empty () const |
label | size () const |
const NullObject & | toc () const |
const NullObject & | sortedToc () const |
template<class T > | |
const NullObject & | operator= (const T &) const |
Static Public Attributes | |
static const NullObject | nullObject |
Singleton null-object class and instance.
Its contents occupy enough space to also be reinterpreted as another class with a null pointer or zero long for its first member, with additional zero parameters for safe casting to List etc.
Definition at line 56 of file nullObject.H.
|
inline |
Definition at line 99 of file nullObject.H.
|
inline |
Definition at line 105 of file nullObject.H.
|
inline |
Definition at line 111 of file nullObject.H.
|
inline |
Definition at line 117 of file nullObject.H.
|
inline |
Definition at line 123 of file nullObject.H.
|
inline |
Definition at line 129 of file nullObject.H.
|
inline |
Definition at line 139 of file nullObject.H.
|
static |
Definition at line 93 of file nullObject.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.