![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <pyconfig/Parser.hpp>


Public Member Functions | |
| void | appendPath (const std::string &pathname) |
| Append pathname to the python search path. | |
| void | load (const std::string &filename) |
| Load "filename". | |
| void | loadString (const std::string &s) |
| Use "s" as configuration content. | |
| Parser (const std::string &filename, const std::string &pathname="") | |
| Constructor loading the given file as configuration. | |
| Parser () | |
| Default constructor. | |
| virtual | ~Parser () |
| Destructor. | |
Static Public Member Functions | |
| static View | fromString (const std::string &s) |
| Create a View object from a string. | |
Private Member Functions | |
| void | initPython () |
| initialize the Python interpreter | |
Private Attributes | |
| std::string | module_name |
Static Private Attributes | |
| static long | serial = 0 |
Definition at line 39 of file Parser.hpp.
| Parser::Parser | ( | ) |
Definition at line 43 of file Parser.cpp.
| Parser::Parser | ( | const std::string & | filename, | |
| const std::string & | pathname = "" | |||
| ) | [explicit] |
Definition at line 51 of file Parser.cpp.
| Parser::~Parser | ( | ) | [virtual] |
Definition at line 61 of file Parser.cpp.
| void Parser::appendPath | ( | const std::string & | pathname | ) |
| View Parser::fromString | ( | const std::string & | s | ) | [static] |
Definition at line 161 of file Parser.cpp.
| void Parser::initPython | ( | ) | [private] |
Definition at line 124 of file Parser.cpp.
| void Parser::load | ( | const std::string & | filename | ) |
Definition at line 67 of file Parser.cpp.
| void Parser::loadString | ( | const std::string & | s | ) |
Definition at line 100 of file Parser.cpp.
std::string wns::pyconfig::Parser::module_name [private] |
Definition at line 95 of file Parser.hpp.
long Parser::serial = 0 [static, private] |
Definition at line 93 of file Parser.hpp.
1.5.5