18#ifndef VOTCA_TOOLS_STRUCTUREPARAMETERS_H
19#define VOTCA_TOOLS_STRUCTUREPARAMETERS_H
23#include <unordered_map>
26#include <boost/any.hpp>
111 std::unordered_map<StructureParameter, boost::any, std::hash<int>>
parameters;
115 boost::any value)
noexcept {
116 parameters[parameter] = value;
122 "StructureParameter is not stored in StructureParameters class");
123 assert(
typeid(T) ==
parameters.at(parameter).type() &&
124 "Cannot return boost any value from parameters class because it is "
125 "not being cast to the correct type");
126 return boost::any_cast<T>(
parameters.at(parameter));
base class for all analysis tools