16 #error no need to expose this header to Swig
20 #ifndef BORNAGAIN_SIM_EXPORT_MATERIALKEYHANDLER_H
21 #define BORNAGAIN_SIM_EXPORT_MATERIALKEYHANDLER_H
35 const std::map<const std::string, const Material*>&
materialMap()
const;
40 std::map<const std::string, const Material*>
m_Key2Mat;
Stores Material instances, associates them with given tag, and provides unique keys.
const std::map< const std::string, const Material * > & materialMap() const
const std::string & mat2key(const Material *mat) const
void insertMaterial(const Material *mat)
std::map< const Material *, const Material * > m_Mat2Unique
std::map< const std::string, const Material * > m_Key2Mat
A wrapper for underlying material implementation.