Ising_OPV  v4.0.2
Generates and analyzes model bulk heterojunction morphologies in a parallel computing environment
Ising_OPV::Version Class Reference

This class contains the current version information and version comparison operators. More...

#include <Version.h>

Public Member Functions

 Version ()
 Default constructor that creates an empty Version object. More...
 
 Version (const std::string &version_str)
 Standard constructor that creates an initialized Version object. More...
 
std::string getVersionStr () const
 Returns the version string representation of the Version object. More...
 
bool operator== (const Version &input) const
 Defined equal to operator for comparing versions. More...
 
bool operator != (const Version &input) const
 Defined not equal to operator for comparing versions. More...
 
bool operator< (const Version &input) const
 Defined less than operator for comparing versions. More...
 
bool operator > (const Version &input) const
 Defined greater than operator for comparing versions. More...
 
bool operator<= (const Version &input) const
 Defined less than or equal to operator for comparing versions. More...
 
bool operator >= (const Version &input) const
 Defined greater than or equal to operator for comparing versions. More...
 

Friends

std::ostream & operator<< (std::ostream &stream, const Version &input)
 Defined stream operator for streaming the version string. More...
 

Detailed Description

This class contains the current version information and version comparison operators.

Author
Michael C. Heiber
Date
2014-2019

Constructor & Destructor Documentation

◆ Version() [1/2]

Ising_OPV::Version::Version ( )

Default constructor that creates an empty Version object.

Warning
An empty Version object should not be used until initialized.

◆ Version() [2/2]

Ising_OPV::Version::Version ( const std::string &  version_str)

Standard constructor that creates an initialized Version object.

Parameters
version_stris the version string used to initialize the Version object.

Member Function Documentation

◆ getVersionStr()

std::string Ising_OPV::Version::getVersionStr ( ) const

Returns the version string representation of the Version object.

◆ operator !=()

bool Ising_OPV::Version::operator != ( const Version input) const

Defined not equal to operator for comparing versions.

◆ operator >()

bool Ising_OPV::Version::operator > ( const Version input) const

Defined greater than operator for comparing versions.

◆ operator >=()

bool Ising_OPV::Version::operator >= ( const Version input) const

Defined greater than or equal to operator for comparing versions.

◆ operator<()

bool Ising_OPV::Version::operator< ( const Version input) const

Defined less than operator for comparing versions.

◆ operator<=()

bool Ising_OPV::Version::operator<= ( const Version input) const

Defined less than or equal to operator for comparing versions.

◆ operator==()

bool Ising_OPV::Version::operator== ( const Version input) const

Defined equal to operator for comparing versions.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  stream,
const Version input 
)
friend

Defined stream operator for streaming the version string.


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