60 template <
typename AlphabetElementType = double,
61 typename Container = std::map<std::string, AlphabetElementType>,
62 typename InputSource = std::istream>
78 void load(
const std::string & fname);
92 virtual void parse(InputSource & is) = 0;
98 template <
typename AlphabetElementType,
typename Container,
typename InputSource>
101 std::ifstream ifs(fname.c_str());
General IOException.
Definition: Exception.h:568
An abstract templatized parser to load the data that is used to initialize Alphabet objects.
Definition: IMSAlphabetParser.h:64
virtual ContainerType & getElements()=0
virtual ~IMSAlphabetParser()
Destructor.
Definition: IMSAlphabetParser.h:95
Container ContainerType
Definition: IMSAlphabetParser.h:69
virtual void parse(InputSource &is)=0
void load(const std::string &fname)
Definition: IMSAlphabetParser.h:99
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48