OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

instant Class Reference

Collaboration diagram for instant:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 58 of file instant.H.


Public Member Functions

 instant ()
 Construct null.
 instant (const scalar, const word &)
 Construct from components.
 instant (const scalar)
 Construct from time value.
 instant (const word &)
 Construct from word.
scalar value () const
 Value (const access).
scalar & value ()
 Value (non-const access).
const word & name () const
 Name (const access).
word & name ()
 Name (non-const access).

Friends

int operator== (const instant &, const instant &)
int operator!= (const instant &, const instant &)
Istream & operator>> (Istream &, instant &)
Ostream & operator<< (Ostream &, const instant &)

Classes

class  less
 Less function class used in sorting instants. More...

Constructor & Destructor Documentation

instant (  ) 

Construct null.

instant ( const   scalar,
const word &   
)

Construct from components.

instant ( const   scalar  ) 

Construct from time value.

instant ( const word &   ) 

Construct from word.


Member Function Documentation

scalar value (  )  const [inline]

Value (const access).

Definition at line 101 of file instant.H.

scalar& value (  )  [inline]

Value (non-const access).

Definition at line 107 of file instant.H.

const word& name (  )  const [inline]

Name (const access).

Definition at line 113 of file instant.H.

word& name (  )  [inline]

Name (non-const access).

Definition at line 119 of file instant.H.


Friends And Related Function Documentation

int operator== ( const instant &  ,
const instant &   
) [friend]

int operator!= ( const instant &  ,
const instant &   
) [friend]

Istream& operator>> ( Istream &  ,
instant &   
) [friend]

Ostream& operator<< ( Ostream &  ,
const instant &   
) [friend]


The documentation for this class was generated from the following file: Copyright © 2000-2007 OpenCFD Ltd