libsigrokcxx
unreleased development snapshot
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... | |
std::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 1051 of file libsigrokcxx.hpp.
|
inline |
The integer constant associated with this value.
Definition at line 1055 of file libsigrokcxx.hpp.
|
inline |
The name associated with this value.
Definition at line 1060 of file libsigrokcxx.hpp.
|
inlinestatic |
Get value associated with a given integer constant.
Definition at line 1065 of file libsigrokcxx.hpp.
|
inlinestatic |
Get possible values.
Definition at line 1073 of file libsigrokcxx.hpp.