gz/math/SemanticVersion.hh
Definition: gz/math/AdditivelySeparableScalarField3.hh:27
STL class.
SemanticVersion & operator=(const SemanticVersion &_other)
Assignment operator.
bool operator<=(const SemanticVersion &_other) const
Less than or equal comparison operator.
bool operator<(const SemanticVersion &_other) const
Less than comparison operator.
std::string Build() const
Get the build metadata string. Build meta data is not used when determining precedence.
Version comparison class based on Semantic Versioning 2.0.0 http://semver.org/ Compares versions and ...
Definition: gz/math/SemanticVersion.hh:41
bool operator>=(const SemanticVersion &_other) const
Greater than or equal comparison operator.
STL class.
friend std::ostream & operator<<(std::ostream &_out, const SemanticVersion &_v)
Stream insertion operator.
Definition: gz/math/SemanticVersion.hh:142
bool operator>(const SemanticVersion &_other) const
Greater than comparison operator.
SemanticVersion()
Default constructor. Use the Parse function to populate an instance with version information.
bool Parse(const std::string &_versionStr)
Parse a version string and set the major, minor, patch numbers, and prerelease and build strings.
bool operator!=(const SemanticVersion &_other) const
Inequality comparison operator.
bool operator==(const SemanticVersion &_other) const
Equality comparison operator.