Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
rsimpl::firmware_version Class Reference

#include <types.h>

List of all members.

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

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) [inline, explicit]

Definition at line 221 of file types.h.


Member Function Documentation

static firmware_version rsimpl::firmware_version::any ( ) [inline, static]

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 
) [static, private]

Definition at line 706 of file types.cpp.

std::vector< std::string > rsimpl::firmware_version::split ( const std::string str) [static, private]

Definition at line 691 of file types.cpp.

Definition at line 679 of file types.cpp.


Member Data Documentation

Definition at line 203 of file types.h.

Definition at line 202 of file types.h.

Definition at line 202 of file types.h.

Definition at line 202 of file types.h.

Definition at line 202 of file types.h.

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 Tue Jun 25 2019 19:54:41