BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Public Member Functions | |
const ValueType * | getItem (const std::string &key) const |
std::vector< std::string > | keys () const |
size_t | size () const |
Protected Member Functions | |
void | add (const std::string &key, ValueType *item) |
Private Attributes | |
std::map< std::string, std::unique_ptr< ValueType > > | m_data |
Templated object registry.
Definition at line 28 of file IRegistry.h.
|
inline |
Definition at line 31 of file IRegistry.h.
References IRegistry< ValueType >::m_data.
Referenced by LayersWithAbsorptionBuilder::createSampleByIndex(), and ParticleInVacuumBuilder::createSampleByIndex().
|
inline |
Definition at line 40 of file IRegistry.h.
References IRegistry< ValueType >::m_data.
Referenced by LayersWithAbsorptionBuilder::createSampleByIndex(), Basic2DParaCrystalBuilder::createSampleByIndex(), and ParticleInVacuumBuilder::createSampleByIndex().
|
inline |
Definition at line 48 of file IRegistry.h.
References IRegistry< ValueType >::m_data.
Referenced by LayersWithAbsorptionBuilder::size(), and ParticleInVacuumBuilder::size().
|
inlineprotected |
|
private |
Definition at line 60 of file IRegistry.h.
Referenced by IRegistry< ValueType >::add(), IRegistry< ValueType >::getItem(), IRegistry< ValueType >::keys(), and IRegistry< ValueType >::size().