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

#include <types.h>

Public Member Functions

bool experimental () const
 
 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) const
 
 operator const char * () const
 
 operator std::string () 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 799 of file src/types.h.

Constructor & Destructor Documentation

librealsense::firmware_version::firmware_version ( )
inline

Definition at line 810 of file src/types.h.

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

Definition at line 812 of file src/types.h.

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

Definition at line 823 of file src/types.h.

Member Function Documentation

static firmware_version librealsense::firmware_version::any ( )
inlinestatic

Definition at line 818 of file src/types.h.

bool librealsense::firmware_version::experimental ( ) const
inline

Definition at line 816 of file src/types.h.

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

Definition at line 845 of file src/types.h.

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

Definition at line 850 of file src/types.h.

librealsense::firmware_version::operator std::string ( ) const
inline

Definition at line 855 of file src/types.h.

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

Definition at line 841 of file src/types.h.

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

Definition at line 842 of file src/types.h.

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

Definition at line 826 of file src/types.h.

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

Definition at line 835 of file src/types.h.

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

Definition at line 840 of file src/types.h.

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

Definition at line 843 of file src/types.h.

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

Definition at line 691 of file types.cpp.

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

Definition at line 676 of file types.cpp.

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

Definition at line 664 of file types.cpp.

Member Data Documentation

bool librealsense::firmware_version::is_any
private

Definition at line 802 of file src/types.h.

int librealsense::firmware_version::m_build
private

Definition at line 801 of file src/types.h.

int librealsense::firmware_version::m_major
private

Definition at line 801 of file src/types.h.

int librealsense::firmware_version::m_minor
private

Definition at line 801 of file src/types.h.

int librealsense::firmware_version::m_patch
private

Definition at line 801 of file src/types.h.

std::string librealsense::firmware_version::string_representation
private

Definition at line 803 of file src/types.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:37