SernaConfig — The access to the values read from the Serna configuration.
class SernaConfig { public: // public static functions PropertyNode root() ; SString getProperty(const SString &) ; SString getHomeDir() ; SString getDataDir() ; SString getConfigDir() ; SString resolveResource(const SString &, const SString &, const SString &, const PropertyNode & = PropertyNode()) ; };
SernaConfig
public static functionsPropertyNode root() ;
Get root of the Serna configuration.
SString getProperty(const SString & ) ;
Shortcut to root()->getProperty(prop).
SString getHomeDir() ;
Get user home directory path.
SString getDataDir() ;
Get Serna installation path.
SString getConfigDir() ;
Get Serna configuration directory path.
SString resolveResource(const SString & defaultPropName, const SString & src, const SString & baseUri, const PropertyNode & localVars = PropertyNode()) ;
Resolve file resource using config "vars" section.