Classes | Namespaces | Functions | Variables
nullObject.H File Reference
Include dependency graph for nullObject.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  NullObject
 

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Functions

template<class T >
const TNullObjectRef ()
 Return reference to the nullObject of type T. More...
 
template<class T >
const TNullObjectPtr ()
 Return pointer to the nullObject of type T. More...
 
template<class T >
bool isNull (const T &t)
 Return true if t is a reference to the nullObject of type T. More...
 
template<class T >
bool notNull (const T &t)
 Return true if t is not a reference to the nullObject of type T. More...
 
template<class T >
bool isNull (const T *t)
 Return true if t is a pointer to the nullObject of type T. More...
 
template<class T >
bool notNull (const T *t)
 Return true if t is not a pointer to the nullObject of type T. More...
 

Variables

const NullObject * nullObjectPtr = &Foam::NullObject::nullObject
 Pointer to the unique nullObject. More...
 

Detailed Description

Original source file nullObject.H

Definition in file nullObject.H.