Simple parameters class for Marlin. More...
#include <StringParameters.h>
Public Member Functions | |
StringParameters (const StringParameters &sp) | |
void | add (const std::string &key, const std::vector< std::string > &values) |
void | add (const std::vector< std::string > &tokens) |
void | erase (const std::string &key) |
bool | isParameterSet (const std::string &key) |
int | getIntVal (const std::string &key) |
float | getFloatVal (const std::string &key) |
const std::string & | getStringVal (const std::string &key) |
IntVec & | getIntVals (const std::string &key, IntVec &intVec) |
FloatVec & | getFloatVals (const std::string &key, FloatVec &floatVec) |
StringVec & | getStringVals (const std::string &key, StringVec &stringVec) |
StringVec & | getStringKeys (StringVec &stringVec) |
Protected Attributes | |
ParametersMap | _map {} |
Friends | |
std::ostream & | operator<< (std::ostream &, StringParameters &) |
Simple parameters class for Marlin.
Holds named parameters as string vectors.