FileFormatVersion#

Fully qualified name: omni::graph::core::FileFormatVersion

struct FileFormatVersion#

Encapsulates the information required to define a file format version number.

Public Functions

inline bool operator==(const FileFormatVersion &rhs) const#

Equality operator for the file format version object.

Parameters:

rhs – Version number to compare against

Returns:

true The version number is not equal to rhs

Returns:

false The version number is equal to rhs

inline bool operator!=(const FileFormatVersion &rhs) const#

Inequality operator for the file format version object.

Parameters:

rhs – Version number to compare against

Returns:

true The version number is not equal to rhs

Returns:

false The version number is equal to rhs

inline bool operator<(const FileFormatVersion &rhs) const#

Less-than operator for the file format version object.

Parameters:

rhs – Version number to compare against

Returns:

true The version number is less than rhs

Returns:

false The version number is greater than or equal to rhs

inline bool operator>(const FileFormatVersion &rhs) const#

Greater-than operator for the file format version object.

Parameters:

rhs – Version number to compare against

Returns:

true The version number is greater than rhs

Returns:

false The version number is less than or equal to rhs

inline bool operator>=(const FileFormatVersion &rhs) const#

Greater-than or equal operator for the file format version object.

Parameters:

rhs – Version number to compare against

Returns:

true The version number is greater than or equal than rhs

Returns:

false The version number is less than to rhs

inline bool operator<=(const FileFormatVersion &rhs) const#

Less-than or equal operator for the file format version object.

Parameters:

rhs – Version number to compare against

Returns:

true The version number is less than or equal than rhs

Returns:

false The version number is greater than to rhs

Public Members

int majorVersion#

Major version, for which changes mean incompatible formats.

int minorVersion#

Minor version, for which changes mean compatible formats, possibly with auto-upgrades.