Public Member Functions | Static Public Member Functions | List of all members
IOstreamOption::versionNumber Class Reference

Public Member Functions

constexpr versionNumber () noexcept
 
constexpr versionNumber (int major, int minor) noexcept
 
constexpr versionNumber (const float ver) noexcept
 
 versionNumber (const std::string &verNum)
 
 versionNumber (const token &tok)
 
 versionNumber (const word &keyword, const dictionary &dict)
 
std::string str () const
 
int canonical () const noexcept
 
int compare (const versionNumber &other) const noexcept
 

Static Public Member Functions

static versionNumber canonical (int verNum) noexcept
 

Detailed Description

Definition at line 81 of file IOstreamOption.H.

Constructor & Destructor Documentation

◆ versionNumber() [1/6]

constexpr versionNumber ( )
inlineconstexprnoexcept

Definition at line 92 of file IOstreamOption.H.

Referenced by IOstreamOption::versionNumber::canonical(), and IOstreamOption::versionNumber::versionNumber().

Here is the caller graph for this function:

◆ versionNumber() [2/6]

constexpr versionNumber ( int  major,
int  minor 
)
inlineconstexprnoexcept

Definition at line 98 of file IOstreamOption.H.

◆ versionNumber() [3/6]

constexpr versionNumber ( const float  ver)
inlineexplicitconstexprnoexcept

Definition at line 104 of file IOstreamOption.H.

◆ versionNumber() [4/6]

versionNumber ( const std::string &  verNum)
explicit

Definition at line 137 of file IOstreamOption.C.

◆ versionNumber() [5/6]

versionNumber ( const token tok)
explicit

◆ versionNumber() [6/6]

versionNumber ( const word keyword,
const dictionary dict 
)

Definition at line 167 of file IOstreamOption.C.

References dict, Foam::glTF::key(), and keyType::LITERAL.

Here is the call graph for this function:

Member Function Documentation

◆ str()

std::string str ( ) const
inline

Definition at line 122 of file IOstreamOption.H.

◆ canonical() [1/2]

int canonical ( ) const
inlinenoexcept

Definition at line 133 of file IOstreamOption.H.

Referenced by decomposedBlockData::writeData().

Here is the caller graph for this function:

◆ canonical() [2/2]

static versionNumber canonical ( int  verNum)
inlinestaticnoexcept

Definition at line 139 of file IOstreamOption.H.

References IOstreamOption::versionNumber::versionNumber().

Here is the call graph for this function:

◆ compare()

int compare ( const versionNumber other) const
inlinenoexcept

Definition at line 148 of file IOstreamOption.H.

Referenced by Foam::operator!=(), Foam::operator<(), Foam::operator<=(), Foam::operator==(), Foam::operator>(), and Foam::operator>=().

Here is the caller graph for this function:

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