#include <types.h>
Public Member Functions | |
firmware_version () | |
firmware_version (int major, int minor, int patch, int build, bool is_any=false) | |
firmware_version (const std::string &name) | |
bool | is_between (const firmware_version &from, const firmware_version &until) |
operator const char * () const | |
bool | operator!= (const firmware_version &other) const |
bool | operator< (const firmware_version &other) const |
bool | operator<= (const firmware_version &other) const |
bool | operator== (const firmware_version &other) const |
bool | operator> (const firmware_version &other) const |
bool | operator>= (const firmware_version &other) const |
Static Public Member Functions | |
static firmware_version | any () |
Private Member Functions | |
std::string | to_string () const |
Static Private Member Functions | |
static int | parse_part (const std::string &name, int part) |
static std::vector< std::string > | split (const std::string &str) |
Private Attributes | |
bool | is_any |
int | m_build |
int | m_major |
int | m_minor |
int | m_patch |
std::string | string_representation |
rsimpl::firmware_version::firmware_version | ( | ) | [inline] |
rsimpl::firmware_version::firmware_version | ( | int | major, |
int | minor, | ||
int | patch, | ||
int | build, | ||
bool | is_any = false |
||
) | [inline] |
rsimpl::firmware_version::firmware_version | ( | const std::string & | name | ) | [inline, explicit] |
static firmware_version rsimpl::firmware_version::any | ( | ) | [inline, static] |
bool rsimpl::firmware_version::is_between | ( | const firmware_version & | from, |
const firmware_version & | until | ||
) | [inline] |
rsimpl::firmware_version::operator const char * | ( | ) | const [inline] |
bool rsimpl::firmware_version::operator!= | ( | const firmware_version & | other | ) | const [inline] |
bool rsimpl::firmware_version::operator< | ( | const firmware_version & | other | ) | const [inline] |
bool rsimpl::firmware_version::operator<= | ( | const firmware_version & | other | ) | const [inline] |
bool rsimpl::firmware_version::operator== | ( | const firmware_version & | other | ) | const [inline] |
bool rsimpl::firmware_version::operator> | ( | const firmware_version & | other | ) | const [inline] |
bool rsimpl::firmware_version::operator>= | ( | const firmware_version & | other | ) | const [inline] |
int rsimpl::firmware_version::parse_part | ( | const std::string & | name, |
int | part | ||
) | [static, private] |
std::vector< std::string > rsimpl::firmware_version::split | ( | const std::string & | str | ) | [static, private] |
std::string rsimpl::firmware_version::to_string | ( | ) | const [private] |
bool rsimpl::firmware_version::is_any [private] |
int rsimpl::firmware_version::m_build [private] |
int rsimpl::firmware_version::m_major [private] |
int rsimpl::firmware_version::m_minor [private] |
int rsimpl::firmware_version::m_patch [private] |