Public Member Functions | Private Attributes
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
 

Private Attributes

Type value_
 

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.

Member Function Documentation

◆ operator[]()

Type operator[] ( const  label) const
inline

Definition at line 38 of file UniformFieldI.H.

◆ field()

Foam::UniformField< Type > field
inline

Definition at line 45 of file UniformFieldI.H.

Field Documentation

◆ value_

Type value_
private

Definition at line 51 of file UniformField.H.


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