Public Member Functions | Private Attributes | Friends
labelledScalar Class Reference

Public Member Functions

 labelledScalar ()
 Null construct. More...
 
 labelledScalar (const label sl, const scalar s)
 Construct from label and value. More...
 
 ~labelledScalar ()
 
label scalarLabel () const
 return scalar label More...
 
const scalar & value () const
 return the value More...
 
void operator= (const labelledScalar &ls)
 
bool operator== (const labelledScalar &ls) const
 
bool operator< (const labelledScalar &ls) const
 
bool operator<= (const labelledScalar &ls) const
 
bool operator> (const labelledScalar &ls) const
 
bool operator>= (const labelledScalar &ls) const
 
bool operator!= (const labelledScalar &ls) const
 

Private Attributes

label sLabel_
 label More...
 
scalar value_
 value More...
 

Friends

Ostreamoperator<< (Ostream &os, const labelledScalar &ls)
 
Istreamoperator>> (Istream &is, labelledScalar &ls)
 

Detailed Description

Definition at line 50 of file labelledScalar.H.

Constructor & Destructor Documentation

◆ labelledScalar() [1/2]

labelledScalar ( )
inline

Null construct.

Definition at line 63 of file labelledScalar.H.

◆ labelledScalar() [2/2]

labelledScalar ( const label  sl,
const scalar  s 
)
inline

Construct from label and value.

Definition at line 70 of file labelledScalar.H.

◆ ~labelledScalar()

~labelledScalar ( )
inline

Definition at line 77 of file labelledScalar.H.

Member Function Documentation

◆ scalarLabel()

label scalarLabel ( ) const
inline

◆ value()

const scalar& value ( ) const
inline

◆ operator=()

void operator= ( const labelledScalar ls)
inline

Definition at line 95 of file labelledScalar.H.

References labelledScalar::sLabel_, and labelledScalar::value_.

◆ operator==()

bool operator== ( const labelledScalar ls) const
inline

Definition at line 101 of file labelledScalar.H.

References labelledScalar::sLabel_.

Referenced by labelledScalar::operator!=().

Here is the caller graph for this function:

◆ operator<()

bool operator< ( const labelledScalar ls) const
inline

Definition at line 109 of file labelledScalar.H.

References labelledScalar::value_.

◆ operator<=()

bool operator<= ( const labelledScalar ls) const
inline

Definition at line 117 of file labelledScalar.H.

References labelledScalar::value_.

◆ operator>()

bool operator> ( const labelledScalar ls) const
inline

Definition at line 125 of file labelledScalar.H.

References labelledScalar::value_.

◆ operator>=()

bool operator>= ( const labelledScalar ls) const
inline

Definition at line 133 of file labelledScalar.H.

References labelledScalar::value_.

◆ operator!=()

bool operator!= ( const labelledScalar ls) const
inline

Definition at line 141 of file labelledScalar.H.

References labelledScalar::operator==().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream os,
const labelledScalar ls 
)
friend

Definition at line 147 of file labelledScalar.H.

◆ operator>>

Istream& operator>> ( Istream is,
labelledScalar ls 
)
friend

Definition at line 159 of file labelledScalar.H.

Field Documentation

◆ sLabel_

label sLabel_
private

◆ value_

scalar value_
private

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