SwigDirector_gr_prefs Class Reference
#include <gnuradio_swig_py_general.h>
List of all members.
|
Public Member Functions |
| SwigDirector_gr_prefs (PyObject *self) |
virtual | ~SwigDirector_gr_prefs () |
virtual bool | has_section (std::string const section) |
| Does section exist?
|
virtual bool | has_option (std::string const section, std::string const option) |
| Does option exist?
|
virtual std::string const | get_string (std::string const section, std::string const option, std::string const default_val) |
| If option exists return associated value; else default_val.
|
virtual bool | get_bool (std::string const section, std::string const option, bool default_val) |
| If option exists and value can be converted to bool, return it; else default_val.
|
virtual long | get_long (std::string const section, std::string const option, long default_val) |
| If option exists and value can be converted to long, return it; else default_val.
|
virtual double | get_double (std::string const section, std::string const option, double default_val) |
| If option exists and value can be converted to double, return it; else default_val.
|
bool | swig_get_inner (const char *name) const |
void | swig_set_inner (const char *name, bool val) const |
Constructor & Destructor Documentation
SwigDirector_gr_prefs::SwigDirector_gr_prefs |
( |
PyObject * |
self |
) |
|
virtual SwigDirector_gr_prefs::~SwigDirector_gr_prefs |
( |
|
) |
[virtual] |
Member Function Documentation
virtual bool SwigDirector_gr_prefs::get_bool |
( |
std::string const |
section, |
|
|
std::string const |
option, |
|
|
bool |
default_val | |
|
) |
| | [virtual] |
If option exists and value can be converted to bool, return it; else default_val.
Reimplemented from gr_prefs.
virtual double SwigDirector_gr_prefs::get_double |
( |
std::string const |
section, |
|
|
std::string const |
option, |
|
|
double |
default_val | |
|
) |
| | [virtual] |
If option exists and value can be converted to double, return it; else default_val.
Reimplemented from gr_prefs.
virtual long SwigDirector_gr_prefs::get_long |
( |
std::string const |
section, |
|
|
std::string const |
option, |
|
|
long |
default_val | |
|
) |
| | [virtual] |
If option exists and value can be converted to long, return it; else default_val.
Reimplemented from gr_prefs.
virtual std::string const SwigDirector_gr_prefs::get_string |
( |
std::string const |
section, |
|
|
std::string const |
option, |
|
|
std::string const |
default_val | |
|
) |
| | [virtual] |
If option exists return associated value; else default_val.
Reimplemented from gr_prefs.
virtual bool SwigDirector_gr_prefs::has_option |
( |
std::string const |
section, |
|
|
std::string const |
option | |
|
) |
| | [virtual] |
virtual bool SwigDirector_gr_prefs::has_section |
( |
std::string const |
section |
) |
[virtual] |
Does section
exist?
Reimplemented from gr_prefs.
bool SwigDirector_gr_prefs::swig_get_inner |
( |
const char * |
name |
) |
const [inline] |
void SwigDirector_gr_prefs::swig_set_inner |
( |
const char * |
name, |
|
|
bool |
val | |
|
) |
| | const [inline] |
The documentation for this class was generated from the following file: