|
Wittyshare
0.2
|
Abstract Properties class. More...
#include <WsAbstractProperties.h>


Public Member Functions | |
| WsAbstractProperties () | |
| Default constructor. More... | |
| virtual std::string | get (const std::string §ion, const std::string &id, const std::string &def)=0 |
Protected Member Functions | |
| int | parse (const std::string &path) |
| parse the Json config file More... | |
Protected Attributes | |
| Json::Value | m_root |
| bool | m_parsed |
Abstract Properties class.
must be derived and pure virtual methods redefined
Definition at line 33 of file WsAbstractProperties.h.
| WsAbstractProperties::WsAbstractProperties | ( | ) |
Default constructor.
Definition at line 23 of file WsAbstractProperties.cpp.
|
pure virtual |
Implemented in WsNodeProperties, WsLayoutProperties, and WsGlobalProperties.
|
protected |
parse the Json config file
| path | the path to the configuration file |
Definition at line 28 of file WsAbstractProperties.cpp.

|
protected |
True or false whether the configuration file has already be parsed or no This flag is changed by the WsAbstractProperties::parse method
Definition at line 66 of file WsAbstractProperties.h.
|
protected |
Root of the Json tree where. This is where the contents of Json parsed file is stored
Definition at line 60 of file WsAbstractProperties.h.
1.8.6