OpenStudio:utilities
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Public Attributes | List of all members
openstudio::cx_VersionString Struct Reference

#include <DeprecatedHelpers.hpp>

Public Member Functions

constexpr cx_VersionString (int t_major, int t_minor, int t_patch)
 
constexpr cx_VersionString ()=default
 
constexpr bool isGreaterThan (const cx_VersionString &other, int numMinors=3) const
 
std::string str () const
 

Public Attributes

int major = openstudio::detail::cx_openStudioVersionMajor()
 
int minor = openstudio::detail::cx_openStudioVersionMinor()
 
int patch = openstudio::detail::cx_openStudioVersionPatch()
 

Constructor & Destructor Documentation

constexpr openstudio::cx_VersionString::cx_VersionString ( int  t_major,
int  t_minor,
int  t_patch 
)
inline
constexpr openstudio::cx_VersionString::cx_VersionString ( )
default

Member Function Documentation

constexpr bool openstudio::cx_VersionString::isGreaterThan ( const cx_VersionString other,
int  numMinors = 3 
) const
inline
std::string openstudio::cx_VersionString::str ( ) const
inline

Member Data Documentation

int openstudio::cx_VersionString::major = openstudio::detail::cx_openStudioVersionMajor()
int openstudio::cx_VersionString::minor = openstudio::detail::cx_openStudioVersionMinor()
int openstudio::cx_VersionString::patch = openstudio::detail::cx_openStudioVersionPatch()