libsigrokcxx
0.4.0
C++ bindings for libsigrok
|
Base class for objects which wrap an enumeration value from libsigrok. More...
#include <libsigrokcxx/libsigrokcxx.hpp>
Public Member Functions | |
int | id () const |
The integer constant associated with this value. More... | |
string | name () const |
The name associated with this value. More... | |
Static Public Member Functions | |
static const Class * | get (int id) |
Get value associated with a given integer constant. More... | |
static std::vector< const Class * > | values () |
Get possible values. More... | |
Base class for objects which wrap an enumeration value from libsigrok.
Definition at line 952 of file libsigrokcxx.hpp.
|
inline |
The integer constant associated with this value.
Definition at line 956 of file libsigrokcxx.hpp.
|
inline |
The name associated with this value.
Definition at line 961 of file libsigrokcxx.hpp.
|
inlinestatic |
Get value associated with a given integer constant.
Definition at line 966 of file libsigrokcxx.hpp.
|
inlinestatic |
Get possible values.
Definition at line 974 of file libsigrokcxx.hpp.