SwigDirector_gr_prefs Class Reference

#include <gnuradio_swig_python.h>

Inheritance diagram for SwigDirector_gr_prefs:

gr_prefs List of all members.

Public Member Functions

 SwigDirector_gr_prefs (PyObject *self)
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 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.
virtual ~SwigDirector_gr_prefs ()
virtual bool has_section (std::string const section)
 Does section exist?
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.

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]

Does option exist?

Reimplemented from gr_prefs.

virtual bool SwigDirector_gr_prefs::has_section ( std::string const   section  )  [virtual]

Does section exist?

Reimplemented from gr_prefs.


The documentation for this class was generated from the following file:
Generated on Mon Sep 18 14:57:50 2006 for GNU Radio 2.x by  doxygen 1.4.7