OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

nil Class Reference

A zero-sized class without any storage. Used, for example, in HashSet. More...

List of all members.


Public Member Functions

 nil ()
 Construct null.
 nil (Istream &)
 Construct from Istream.

Friends

Istream & operator>> (Istream &is, nil &)
Ostream & operator<< (Ostream &os, const nil &)

Detailed Description

A zero-sized class without any storage. Used, for example, in HashSet.

Note:
A zero-sized class actually does still require at least 1 byte storage.

Definition at line 51 of file nil.H.


Constructor & Destructor Documentation

nil (  )  [inline]

Construct null.

Definition at line 59 of file nil.H.

nil ( Istream &   )  [inline]

Construct from Istream.

Definition at line 63 of file nil.H.


Friends And Related Function Documentation

Istream& operator>> ( Istream &  is,
nil &   
) [friend]

Definition at line 69 of file nil.H.

Ostream& operator<< ( Ostream &  os,
const nil &   
) [friend]

Definition at line 74 of file nil.H.


The documentation for this class was generated from the following file:
  • src/OpenFOAM/primitives/nil/nil.H
Copyright © 2000-2009 OpenCFD Ltd