Public Member Functions | List of all members
UniformField< Type > Class Template Reference

A class representing the concept of a uniform field which stores only the single value and providing the operator[] to return it. More...

Public Member Functions

 UniformField (const Type &value)
 Construct given value. More...
 
Type operator[] (const label) const
 
UniformField field () const
 

Detailed Description

template<class Type>
class Foam::UniformField< Type >

A class representing the concept of a uniform field which stores only the single value and providing the operator[] to return it.

Definition at line 47 of file UniformField.H.

Constructor & Destructor Documentation

◆ UniformField()

UniformField ( const Type &  value)
inline

Construct given value.

Definition at line 31 of file UniformFieldI.H.

Referenced by UniformField< Type >::field().

Here is the caller graph for this function:

Member Function Documentation

◆ operator[]()

Type operator[] ( const label  ) const
inline

Definition at line 38 of file UniformFieldI.H.

◆ field()

Foam::UniformField< Type > field ( ) const
inline

Definition at line 45 of file UniformFieldI.H.

References UniformField< Type >::UniformField().

Here is the call graph for this function:

The documentation for this class was generated from the following files: