strusBase  0.17
Namespaces | Functions
configParser.hpp File Reference
#include <string>
#include <vector>
#include <utility>

Go to the source code of this file.

Namespaces

 strus
 Wrapper to structures needed for atomic counters.
 

Functions

bool strus::extractStringFromConfigString (std::string &val, std::string &config, const char *key, ErrorBufferInterface *errorhnd)
 
bool strus::extractStringArrayFromConfigString (std::vector< std::string > &val, std::string &config, const char *key, char separator, ErrorBufferInterface *errorhnd)
 
bool strus::extractBooleanFromConfigString (bool &val, std::string &config, const char *key, ErrorBufferInterface *errorhnd)
 
bool strus::extractUIntFromConfigString (unsigned int &val, std::string &config, const char *key, ErrorBufferInterface *errorhnd)
 
bool strus::extractFloatFromConfigString (double &val, std::string &config, const char *key, ErrorBufferInterface *errorhnd)
 
void strus::removeKeysFromConfigString (std::string &config, const char **keys, ErrorBufferInterface *errorhnd)
 
bool strus::addConfigStringItem (std::string &config, const std::string &key, const std::string &value, ErrorBufferInterface *errorhnd)
 
std::vector< std::pair
< std::string, std::string > > 
strus::getAssignmentListItems (const std::string &config, ErrorBufferInterface *errorhnd)
 
std::vector< std::pair
< std::string, std::string > > 
strus::getConfigStringItems (const std::string &config, ErrorBufferInterface *errorhnd)
 
std::vector< std::pair
< std::string, std::string > > 
strus::getSubConfigStringItems (const std::string &configelem, ErrorBufferInterface *errorhnd)