Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
rsimpl::firmware_version Class Reference

#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::stringsplit (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
 

Detailed Description

Definition at line 200 of file types.h.

Constructor & Destructor Documentation

rsimpl::firmware_version::firmware_version ( )
inline

Definition at line 211 of file types.h.

rsimpl::firmware_version::firmware_version ( int  major,
int  minor,
int  patch,
int  build,
bool  is_any = false 
)
inline

Definition at line 213 of file types.h.

rsimpl::firmware_version::firmware_version ( const std::string name)
inlineexplicit

Definition at line 221 of file types.h.

Member Function Documentation

static firmware_version rsimpl::firmware_version::any ( )
inlinestatic

Definition at line 216 of file types.h.

bool rsimpl::firmware_version::is_between ( const firmware_version from,
const firmware_version until 
)
inline

Definition at line 243 of file types.h.

rsimpl::firmware_version::operator const char * ( ) const
inline

Definition at line 248 of file types.h.

bool rsimpl::firmware_version::operator!= ( const firmware_version other) const
inline

Definition at line 239 of file types.h.

bool rsimpl::firmware_version::operator< ( const firmware_version other) const
inline

Definition at line 240 of file types.h.

bool rsimpl::firmware_version::operator<= ( const firmware_version other) const
inline

Definition at line 224 of file types.h.

bool rsimpl::firmware_version::operator== ( const firmware_version other) const
inline

Definition at line 233 of file types.h.

bool rsimpl::firmware_version::operator> ( const firmware_version other) const
inline

Definition at line 238 of file types.h.

bool rsimpl::firmware_version::operator>= ( const firmware_version other) const
inline

Definition at line 241 of file types.h.

int rsimpl::firmware_version::parse_part ( const std::string name,
int  part 
)
staticprivate

Definition at line 706 of file types.cpp.

std::vector< std::string > rsimpl::firmware_version::split ( const std::string str)
staticprivate

Definition at line 691 of file types.cpp.

std::string rsimpl::firmware_version::to_string ( ) const
private

Definition at line 679 of file types.cpp.

Member Data Documentation

bool rsimpl::firmware_version::is_any
private

Definition at line 203 of file types.h.

int rsimpl::firmware_version::m_build
private

Definition at line 202 of file types.h.

int rsimpl::firmware_version::m_major
private

Definition at line 202 of file types.h.

int rsimpl::firmware_version::m_minor
private

Definition at line 202 of file types.h.

int rsimpl::firmware_version::m_patch
private

Definition at line 202 of file types.h.

std::string rsimpl::firmware_version::string_representation
private

Definition at line 204 of file types.h.


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


librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Fri Mar 13 2020 03:16:19