OpenFOAM logo
Open Source CFD Toolkit

instant Class Reference

Collaboration diagram for instant:

Collaboration graph
[legend]
List of all members.

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 &)

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

word& name (   )  [inline]
 

Name (non-const access).

Definition at line 119 of file instant.H.

const word& name (   )  const [inline]
 

Name (const access).

Definition at line 113 of file instant.H.

scalar& value (   )  [inline]
 

Value (non-const access).

Definition at line 107 of file instant.H.

scalar value (   )  const [inline]
 

Value (const access).

Definition at line 101 of file instant.H.


Friends And Related Function Documentation

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

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

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

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


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org