|
|
Definition at line 109 of file IOstream.H.
Public Member Functions | |
| versionNumber (const scalar num) | |
| Construct from number. | |
| versionNumber (Istream &is) | |
| Construct from Istream. | |
| int | numberToIndex (const scalar num) const |
| Convert a version number into an index. | |
| int | majorVersion () const |
| Return major version. | |
| int | minorVersion () const |
| Return minor version. | |
| string | str () const |
| Return the versionNumber as a character string. | |
| bool | operator== (const versionNumber &vn) |
| Are these versionNumbers the same? | |
| bool | operator!= (const versionNumber &vn) |
| Are these versionNumbers different? | |
| bool | operator< (const versionNumber &vn) |
| Is this version older than the one given. | |
| bool | operator<= (const versionNumber &vn) |
| Is this version the same as or older than the one given. | |
| bool | operator> (const versionNumber &vn) |
| Is this version newer than the one given. | |
| bool | operator>= (const versionNumber &vn) |
| this version the same as or newer than the one given | |
Friends | |
| Ostream & | operator<< (Ostream &os, const versionNumber &vn) |
| Ostream operator. | |
|
|
Construct from number.
Definition at line 123 of file IOstream.H. References readScalar. |
|
|
Construct from Istream.
Definition at line 130 of file IOstream.H. |
|
|
Return major version.
Definition at line 146 of file IOstream.H. |
|
|
Return minor version.
Definition at line 152 of file IOstream.H. References IOstream::versionNumber::index_. |
|
|
Convert a version number into an index.
Definition at line 140 of file IOstream.H. |
|
|
Are these versionNumbers different?
Definition at line 170 of file IOstream.H. References IOstream::versionNumber::index_. |
|
|
Is this version older than the one given.
Definition at line 176 of file IOstream.H. References IOstream::versionNumber::index_. |
|
|
Is this version the same as or older than the one given.
Definition at line 182 of file IOstream.H. References IOstream::versionNumber::index_. |
|
|
Are these versionNumbers the same?
Definition at line 164 of file IOstream.H. References IOstream::versionNumber::index_. |
|
|
Is this version newer than the one given.
Definition at line 188 of file IOstream.H. References IOstream::versionNumber::index_. |
|
|
this version the same as or newer than the one given
Definition at line 194 of file IOstream.H. |
|
|
Return the versionNumber as a character string.
|
|
||||||||||||
|
Ostream operator.
|