#include <MaterialRegistry.h>
inet::physicalenvironment::MaterialRegistry::MaterialRegistry |
( |
| ) |
|
inet::physicalenvironment::MaterialRegistry::~MaterialRegistry |
( |
| ) |
|
|
virtual |
std::map< const std::string, const Material * > materials
Definition: MaterialRegistry.h:31
void inet::physicalenvironment::MaterialRegistry::addMaterial |
( |
const Material * |
material | ) |
const |
|
protected |
Referenced by getMaterial().
39 materials.insert(std::pair<const std::string, const Material *>(material->getName(), material));
std::map< const std::string, const Material * > materials
Definition: MaterialRegistry.h:31
const Material * inet::physicalenvironment::MaterialRegistry::getMaterial |
( |
const char * |
name | ) |
const |
|
overridevirtual |
Implements inet::physicalenvironment::IMaterialRegistry.
58 return it !=
materials.end() ? it->second :
nullptr;
compose< Ohm, m > Ohmm
Definition: Units.h:775
std::map< const std::string, const Material * > materials
Definition: MaterialRegistry.h:31
#define NaN
Definition: INETMath.h:103
void addMaterial(const Material *material) const
Definition: MaterialRegistry.cc:37
std::map<const std::string, const Material *> inet::physicalenvironment::MaterialRegistry::materials |
|
mutableprotected |
The documentation for this class was generated from the following files: