libsigrokcxx
0.4.0
C++ bindings for libsigrok
|
An input format supported by the library. More...
#include <libsigrokcxx/libsigrokcxx.hpp>
Inherits sigrok::ParentOwned< Class, Parent >.
Public Member Functions | |
string | name () const |
Name of this input format. More... | |
string | description () const |
Description of this input format. More... | |
vector< string > | extensions () const |
A list of preferred file name extensions for this file format. More... | |
map< string, shared_ptr< Option > > | options () |
Options supported by this input format. More... | |
shared_ptr< Input > | create_input (map< string, Glib::VariantBase > options=map< string, Glib::VariantBase >()) |
Create an input using this input format. More... | |
An input format supported by the library.
Definition at line 791 of file libsigrokcxx.hpp.
string sigrok::InputFormat::name | ( | ) | const |
Name of this input format.
string sigrok::InputFormat::description | ( | ) | const |
Description of this input format.
vector<string> sigrok::InputFormat::extensions | ( | ) | const |
A list of preferred file name extensions for this file format.
map<string, shared_ptr<Option> > sigrok::InputFormat::options | ( | ) |
Options supported by this input format.
shared_ptr<Input> sigrok::InputFormat::create_input | ( | map< string, Glib::VariantBase > | options = map< string, Glib::VariantBase >() | ) |
Create an input using this input format.
options | Mapping of (option name, value) pairs. |