

Go to the source code of this file.
Classes | |
| class | NullObject |
| Singleton null-object class and instance. More... | |
Namespaces | |
| Foam | |
| Namespace for OpenFOAM. | |
Functions | |
| Istream & | operator>> (Istream &is, const NullObject &) noexcept |
| Read from Istream consumes no content. More... | |
| Ostream & | operator<< (Ostream &os, const NullObject &) noexcept |
| Write to Ostream emits no content. More... | |
| template<class T > | |
| const T * | NullObjectPtr () |
| Pointer (of type T) to the nullObject. More... | |
| template<class T > | |
| const T & | NullObjectRef () |
| Reference (of type T) to the nullObject. More... | |
| template<class T > | |
| bool | isNull (const T *ptr) |
| True if ptr is a pointer (of type T) to the nullObject. More... | |
| template<class T > | |
| bool | isNull (const T &obj) |
| True if obj is a reference (of type T) to the nullObject. More... | |
| template<class T > | |
| bool | notNull (const T *ptr) |
| True if ptr is not a pointer (of type T) to the nullObject. More... | |
| template<class T > | |
| bool | notNull (const T &obj) |
| True if obj is not a reference (of type T) to the nullObject. More... | |
Variables | |
| const NullObject * | nullObjectPtr = &Foam::NullObject::nullObject |
| Pointer to the unique nullObject. More... | |
Original source file nullObject.H
Definition in file nullObject.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.