#include <gnuradio_swig_python.h>
Inheritance diagram for SwigDirector_gr_prefs:
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 |
SwigDirector_gr_prefs::SwigDirector_gr_prefs | ( | PyObject * | self | ) |
SwigDirector_gr_prefs::~SwigDirector_gr_prefs | ( | ) | [virtual] |
bool SwigDirector_gr_prefs::has_section | ( | std::string const | section | ) | [virtual] |
bool SwigDirector_gr_prefs::has_option | ( | std::string const | section, | |
std::string const | option | |||
) | [virtual] |
std::string const SwigDirector_gr_prefs::get_string | ( | std::string const | section, | |
std::string const | option, | |||
std::string const | default_val | |||
) | [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.
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.
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.
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] |