Marlin  1.17.1
 All Classes Namespaces Functions Variables Enumerations Friends Pages
Public Member Functions | Protected Attributes | Friends | List of all members
marlin::StringParameters Class Reference

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 &)
 

Detailed Description

Simple parameters class for Marlin.

Holds named parameters as string vectors.

Author
F. Gaede, DESY
Version
Id:
StringParameters.h,v 1.5 2006-11-10 11:56:07 engels Exp

The documentation for this class was generated from the following files: