9 #ifndef _STRUS_CONFIG_PARSER_HPP_INCLUDED 
   10 #define _STRUS_CONFIG_PARSER_HPP_INCLUDED 
   18 class ErrorBufferInterface;
 
   27 bool addConfigStringItem( std::string& config, 
const std::string& key, 
const std::string& value, ErrorBufferInterface* errorhnd);
 
   28 std::vector<std::pair<std::string,std::string> > 
getAssignmentListItems( 
const std::string& config, ErrorBufferInterface* errorhnd);
 
   29 std::vector<std::pair<std::string,std::string> > 
getConfigStringItems( 
const std::string& config, ErrorBufferInterface* errorhnd);
 
   30 std::vector<std::pair<std::string,std::string> > 
getSubConfigStringItems( 
const std::string& configelem, ErrorBufferInterface* errorhnd);
 
bool extractBooleanFromConfigString(bool &val, std::string &config, const char *key, ErrorBufferInterface *errorhnd)
std::vector< std::pair< std::string, std::string > > getSubConfigStringItems(const std::string &configelem, ErrorBufferInterface *errorhnd)
bool extractUIntFromConfigString(unsigned int &val, std::string &config, const char *key, ErrorBufferInterface *errorhnd)
bool extractStringArrayFromConfigString(std::vector< std::string > &val, std::string &config, const char *key, char separator, ErrorBufferInterface *errorhnd)
bool extractFloatFromConfigString(double &val, std::string &config, const char *key, ErrorBufferInterface *errorhnd)
void removeKeysFromConfigString(std::string &config, const char **keys, ErrorBufferInterface *errorhnd)
bool extractStringFromConfigString(std::string &val, std::string &config, const char *key, ErrorBufferInterface *errorhnd)
std::vector< std::pair< std::string, std::string > > getAssignmentListItems(const std::string &config, ErrorBufferInterface *errorhnd)
std::vector< std::pair< std::string, std::string > > getConfigStringItems(const std::string &config, ErrorBufferInterface *errorhnd)
bool addConfigStringItem(std::string &config, const std::string &key, const std::string &value, ErrorBufferInterface *errorhnd)