CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
OdGeLibVersion Class Reference

#include <GeLibVersion.h>

Public Member Functions

 OdGeLibVersion ()
 
 OdGeLibVersion (const OdGeLibVersion &source)
 
 OdGeLibVersion (OdUInt8 major, OdUInt8 minor, OdUInt8 corrective, OdUInt8 schema)
 
OdUInt8 majorVersion () const
 
OdUInt8 minorVersion () const
 
OdUInt8 correctiveVersion () const
 
OdUInt8 schemaVersion () const
 
OdGeLibVersion & setMajorVersion (OdUInt8 major)
 
OdGeLibVersion & setMinorVersion (OdUInt8 minor)
 
OdGeLibVersion & setCorrectiveVersion (OdUInt8 corrective)
 
OdGeLibVersion & setSchemaVersion (OdUInt8 schema)
 
bool operator== (const OdGeLibVersion &libVersion) const
 
bool operator!= (const OdGeLibVersion &libVersion) const
 
bool operator< (const OdGeLibVersion &libVersion) const
 
bool operator<= (const OdGeLibVersion &libVersion) const
 
bool operator> (const OdGeLibVersion &libVersion) const
 
bool operator>= (const OdGeLibVersion &libVersion) const
 

Static Public Attributes

static GE_STATIC_EXPORT const OdGeLibVersion kRelease0_95
 
static GE_STATIC_EXPORT const OdGeLibVersion kReleaseSed
 
static GE_STATIC_EXPORT const OdGeLibVersion kReleaseTah
 

Detailed Description

This class provides management of GeLib versions.

Corresponding C++ library: TD_Ge

<group OdGe_Classes>

Definition at line 41 of file GeLibVersion.h.

Constructor & Destructor Documentation

◆ OdGeLibVersion() [1/3]

OdGeLibVersion::OdGeLibVersion ( )

Default constructor for the OdGeLibVersion class.

◆ OdGeLibVersion() [2/3]

OdGeLibVersion::OdGeLibVersion ( const OdGeLibVersion &  source)

Copy constructor for the OdGeLibVersion class.

Parameters
source[in] A OdGeLibVersion object to be copied.

◆ OdGeLibVersion() [3/3]

OdGeLibVersion::OdGeLibVersion ( OdUInt8  major,
OdUInt8  minor,
OdUInt8  corrective,
OdUInt8  schema 
)

Constructor for the OdGeLibVersion class.

Parameters
major[in] Major version.
minor[in] Minor version.
corrective[in] Corrective version.
schema[in] Schema version.

Member Function Documentation

◆ correctiveVersion()

OdUInt8 OdGeLibVersion::correctiveVersion ( ) const

Returns the corrective version of GeLib.

◆ majorVersion()

OdUInt8 OdGeLibVersion::majorVersion ( ) const

Returns the major version of GeLib.

◆ minorVersion()

OdUInt8 OdGeLibVersion::minorVersion ( ) const

Returns the minor version of GeLib.

◆ operator!=()

bool OdGeLibVersion::operator!= ( const OdGeLibVersion &  libVersion) const

Comparison operator for the OdGeLibVersion object.

Parameters
libVersion[in] OdGeLibVersion object to compare.
Returns
A boolean value that indicates whether the input interval is not identical to this interval.

◆ operator<()

bool OdGeLibVersion::operator< ( const OdGeLibVersion &  libVersion) const

Comparison operator for the OdGeLibVersion object.

Parameters
libVersion[in] OdGeLibVersion object to compare.
Returns
A boolean value that indicates whether the input library version is less than this library version.

◆ operator<=()

bool OdGeLibVersion::operator<= ( const OdGeLibVersion &  libVersion) const

Comparison operator for the OdGeLibVersion object.

Parameters
libVersion[in] OdGeLibVersion object to compare.
Returns
A boolean value that indicates whether the input library version is less than or equal to this library version.

◆ operator==()

bool OdGeLibVersion::operator== ( const OdGeLibVersion &  libVersion) const

Comparison operator for the OdGeLibVersion object.

Parameters
libVersion[in] OdGeLibVersion object to compare.
Returns
A boolean value that indicates whether the input library version is identical to this library version.

◆ operator>()

bool OdGeLibVersion::operator> ( const OdGeLibVersion &  libVersion) const

Comparison operator for the OdGeLibVersion object.

Parameters
libVersion[in] OdGeLibVersion object to compare.
Returns
A boolean value that indicates whether the input library version is greater than this library version.

◆ operator>=()

bool OdGeLibVersion::operator>= ( const OdGeLibVersion &  libVersion) const

Comparison operator for the OdGeLibVersion object.

Parameters
libVersion[in] OdGeLibVersion object to compare.
Returns
A boolean value that indicates whether the input library version is greater than or equal to this library version.

◆ schemaVersion()

OdUInt8 OdGeLibVersion::schemaVersion ( ) const

Returns the schema version of GeLib.

◆ setCorrectiveVersion()

OdGeLibVersion & OdGeLibVersion::setCorrectiveVersion ( OdUInt8  corrective)

Sets the corrective version of GeLib.

Parameters
corrective[in] Corrective version.

◆ setMajorVersion()

OdGeLibVersion & OdGeLibVersion::setMajorVersion ( OdUInt8  major)

Sets the major version of GeLib.

Parameters
major[in] Major version.

◆ setMinorVersion()

OdGeLibVersion & OdGeLibVersion::setMinorVersion ( OdUInt8  minor)

Sets the minor version of GeLib.

Parameters
minor[in] Minor version.

◆ setSchemaVersion()

OdGeLibVersion & OdGeLibVersion::setSchemaVersion ( OdUInt8  schema)

Sets the schema version of GeLib.

Parameters
schema[in] Schema version.

Member Data Documentation

◆ kRelease0_95

GE_STATIC_EXPORT const OdGeLibVersion OdGeLibVersion::kRelease0_95
static

Definition at line 189 of file GeLibVersion.h.

◆ kReleaseSed

GE_STATIC_EXPORT const OdGeLibVersion OdGeLibVersion::kReleaseSed
static

Definition at line 191 of file GeLibVersion.h.

◆ kReleaseTah

GE_STATIC_EXPORT const OdGeLibVersion OdGeLibVersion::kReleaseTah
static

Definition at line 193 of file GeLibVersion.h.


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