BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Templated object registry.
Definition at line 33 of file IRegistry.h.
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 |
|
inlineprotected |
Definition at line 53 of file IRegistry.h.
References ASSERT, and IRegistry< ValueType >::m_data.
|
inline |
Definition at line 35 of file IRegistry.h.
References ASSERT, and IRegistry< ValueType >::m_data.
|
inline |
|
inline |
|
private |
Definition at line 60 of file IRegistry.h.
Referenced by IRegistry< ValueType >::add(), IRegistry< ValueType >::getItem(), IRegistry< ValueType >::keys(), and IRegistry< ValueType >::size().