Dataflow Runtime API  3.1.1.0
Public Member Functions | List of all members
imt::base::core::util::VersionInfo Class Reference

Provides version information in simple class. More...

#include <Imt.Base.Core.Util/VersionInfo.h>

Inheritance diagram for imt::base::core::util::VersionInfo:
imt::base::core::serialization::SerializableIfc

Public Member Functions

 VersionInfo (void)
 Default Constructor. More...
 
 VersionInfo (const uint32_t major, const uint32_t minor)
 Constructor. More...
 
 VersionInfo (const uint32_t major, const uint32_t minor, const uint32_t build, const uint32_t revision)
 Constructor. More...
 
virtual ~VersionInfo (void)
 Destructor. More...
 
 VersionInfo (const VersionInfo &other)
 Provide the copy constructor. More...
 
VersionInfooperator= (const VersionInfo &other)
 Provide the assignment operator. More...
 
bool operator== (const VersionInfo &other) const
 Provide the equality operator. More...
 
bool operator!= (const VersionInfo &other) const
 Provide the inequality operator. More...
 
bool operator<= (const VersionInfo &other) const
 Provide the <= operator. More...
 
bool operator>= (const VersionInfo &other) const
 Provide the >= operator. More...
 
bool operator> (const VersionInfo &other) const
 Provide the > operator. More...
 
bool operator< (const VersionInfo &other) const
 Provide the < operator. More...
 
virtual void deserialize (imt::base::core::serialization::Deserializer &deserializer)
 
virtual void serialize (imt::base::core::serialization::Serializer &serializer) const
 
uint32_t getMajorVersion (void) const
 Gets the major version. More...
 
void setMajorVersion (const uint32_t major)
 Sets the major version. More...
 
uint32_t getMinorVersion (void) const
 Gets the minor version. More...
 
void setMinorVersion (const uint32_t minor)
 Sets the minor version. More...
 
uint32_t getBuildVersion (void) const
 Gets the build version. More...
 
void setBuildVersion (const uint32_t build)
 Sets the build version. More...
 
uint32_t getRevisionVersion (void) const
 Gets the revision version. More...
 
void setRevisionVersion (const uint32_t revision)
 Sets the revision version. More...
 
- Public Member Functions inherited from imt::base::core::serialization::SerializableIfc
virtual ~SerializableIfc (void)
 Destructor. More...
 

Detailed Description

Provides version information in simple class.

Constructor & Destructor Documentation

◆ VersionInfo() [1/4]

imt::base::core::util::VersionInfo::VersionInfo ( void  )
explicit

Default Constructor.

◆ VersionInfo() [2/4]

imt::base::core::util::VersionInfo::VersionInfo ( const uint32_t  major,
const uint32_t  minor 
)
explicit

Constructor.

Parameters
majorThe major part of the version
minorThe minor part of the version

◆ VersionInfo() [3/4]

imt::base::core::util::VersionInfo::VersionInfo ( const uint32_t  major,
const uint32_t  minor,
const uint32_t  build,
const uint32_t  revision 
)
explicit

Constructor.

Parameters
majorThe major part of the version
minorThe minor part of the version
buildThe build part of the version
revisionThe revision part of the version

◆ ~VersionInfo()

virtual imt::base::core::util::VersionInfo::~VersionInfo ( void  )
virtual

Destructor.

◆ VersionInfo() [4/4]

imt::base::core::util::VersionInfo::VersionInfo ( const VersionInfo other)

Provide the copy constructor.

Parameters
otherVersionInfo to copy.

Member Function Documentation

◆ deserialize()

virtual void imt::base::core::util::VersionInfo::deserialize ( imt::base::core::serialization::Deserializer deserializer)
virtual
See also
SerializableIfc

Implements imt::base::core::serialization::SerializableIfc.

◆ getBuildVersion()

uint32_t imt::base::core::util::VersionInfo::getBuildVersion ( void  ) const

Gets the build version.

Returns
The build version.

◆ getMajorVersion()

uint32_t imt::base::core::util::VersionInfo::getMajorVersion ( void  ) const

Gets the major version.

Returns
The major version.

◆ getMinorVersion()

uint32_t imt::base::core::util::VersionInfo::getMinorVersion ( void  ) const

Gets the minor version.

Returns
The minor version.

◆ getRevisionVersion()

uint32_t imt::base::core::util::VersionInfo::getRevisionVersion ( void  ) const

Gets the revision version.

Returns
The revision version.

◆ operator!=()

bool imt::base::core::util::VersionInfo::operator!= ( const VersionInfo other) const

Provide the inequality operator.

Parameters
otherOther VersionInfo to test for inequality.
Returns
True if other VersionInfo is not equal to this.

◆ operator<()

bool imt::base::core::util::VersionInfo::operator< ( const VersionInfo other) const

Provide the < operator.

Parameters
otherOther VersionInfo to compare to.
Returns
True if this VersionInfo is lower than the other.

◆ operator<=()

bool imt::base::core::util::VersionInfo::operator<= ( const VersionInfo other) const

Provide the <= operator.

Parameters
otherOther VersionInfo to compare to.
Returns
True if this VersionInfo is lower or equal to the other.

◆ operator=()

VersionInfo& imt::base::core::util::VersionInfo::operator= ( const VersionInfo other)

Provide the assignment operator.

Parameters
otherOther VersionInfo to assign.
Returns
Reference to this object.

◆ operator==()

bool imt::base::core::util::VersionInfo::operator== ( const VersionInfo other) const

Provide the equality operator.

Parameters
otherOther VersionInfo to test for equality.
Returns
True if other VersionInfo is equal to this.

◆ operator>()

bool imt::base::core::util::VersionInfo::operator> ( const VersionInfo other) const

Provide the > operator.

Parameters
otherOther VersionInfo to compare to.
Returns
True if this VersionInfo is higher than the other.

◆ operator>=()

bool imt::base::core::util::VersionInfo::operator>= ( const VersionInfo other) const

Provide the >= operator.

Parameters
otherOther VersionInfo to compare to.
Returns
True if this VersionInfo is higher or equal to the other.

◆ serialize()

virtual void imt::base::core::util::VersionInfo::serialize ( imt::base::core::serialization::Serializer serializer) const
virtual
See also
SerializableIfc

Implements imt::base::core::serialization::SerializableIfc.

◆ setBuildVersion()

void imt::base::core::util::VersionInfo::setBuildVersion ( const uint32_t  build)

Sets the build version.

Parameters
buildThe build version.

◆ setMajorVersion()

void imt::base::core::util::VersionInfo::setMajorVersion ( const uint32_t  major)

Sets the major version.

Parameters
majorThe major version.

◆ setMinorVersion()

void imt::base::core::util::VersionInfo::setMinorVersion ( const uint32_t  minor)

Sets the minor version.

Parameters
minorThe minor version.

◆ setRevisionVersion()

void imt::base::core::util::VersionInfo::setRevisionVersion ( const uint32_t  revision)

Sets the revision version.

Parameters
revisionThe revision version.

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