BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Templated object registry. More...
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 33 of file IRegistry.h.
|
inlineprotected |
Definition at line 54 of file IRegistry.h.
References IRegistry< ValueType >::m_data.
|
inline |
|
inline |
Definition at line 43 of file IRegistry.h.
References IRegistry< ValueType >::m_data.
Referenced by Basic2DParaCrystalBuilder::createSampleByIndex().
|
inline |
|
private |
Definition at line 62 of file IRegistry.h.
Referenced by IRegistry< ValueType >::add(), IRegistry< ValueType >::getItem(), IRegistry< ValueType >::keys(), and IRegistry< ValueType >::size().