The SFVersionTag class represents a version tag.
More...
#include <types.hpp>
|
|
uint16_t | major |
| | Major version number.
|
| |
|
uint16_t | minor |
| | Minor version number.
|
| |
The SFVersionTag class represents a version tag.
- See also
- "5.1 The ifil Sub-chunk". In SoundFont Technical Specification 2.04.
| sf2cute::SFVersionTag::SFVersionTag |
( |
uint16_t |
major, |
|
|
uint16_t |
minor |
|
) |
| |
|
inlinenoexcept |
Constructs a new SFVersionTag using the specified version numbers.
- Parameters
-
| major | the major version number. |
| minor | the minor version number. |
| std::string sf2cute::SFVersionTag::to_string |
( |
| ) |
const |
|
inline |
Returns a string represents the version.
- Returns
- a string representation of the version.
Indicates a SFVersionTag object is "not equal to" the other one.
- Parameters
-
| x | the first object to be compared. |
| y | the second object to be compared. |
- Returns
- true if a SFVersionTag object is "not equal to" the other one.
Indicates a SFVersionTag object is "less than" the other one.
- Parameters
-
| x | the first object to be compared. |
| y | the second object to be compared. |
- Returns
- true if a SFVersionTag object is "less than" the other one.
| std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const SFVersionTag & |
version |
|
) |
| |
|
friend |
Outputs the version number to the specified output stream.
- Parameters
-
| out | the output stream. |
| version | the version tag. |
Indicates a SFVersionTag object is "less than or equal to" the other one.
- Parameters
-
| x | the first object to be compared. |
| y | the second object to be compared. |
- Returns
- true if a SFVersionTag object is "less than or equal to" the other one.
Indicates a SFVersionTag object is "equal to" the other one.
- Parameters
-
| x | the first object to be compared. |
| y | the second object to be compared. |
- Returns
- true if a SFVersionTag object is "equal to" the other one.
Indicates a SFVersionTag object is "greater than" the other one.
- Parameters
-
| x | the first object to be compared. |
| y | the second object to be compared. |
- Returns
- true if a SFVersionTag object is "greater than" the other one.
Indicates a SFVersionTag object is "greater than or equal to" the other one.
- Parameters
-
| x | the first object to be compared. |
| y | the second object to be compared. |
- Returns
- true if a SFVersionTag object is "greater than or equal to" the other one.
The documentation for this struct was generated from the following file: