Celeritas 0.6.0-dev.115+3b60a5fd
|
Manage auxiliary parameter classes. More...
#include <AuxParamsRegistry.hh>
Public Types | |
Type aliases | |
using | SPParams = std::shared_ptr< AuxParamsInterface > |
using | SPConstParams = std::shared_ptr< AuxParamsInterface const > |
Public Member Functions | |
AuxId | next_id () const |
Get the next available ID. | |
void | insert (SPParams params) |
Register auxiliary parameters. | |
AuxId::size_type | size () const |
Get the number of defined params. | |
SPParams const & | at (AuxId) |
Access mutable params at the given ID. | |
SPConstParams | at (AuxId) const |
Access params at the given ID. | |
std::string const & | id_to_label (AuxId id) const |
Get the label corresponding to auxiliary params. | |
AuxId | find (std::string const &label) const |
Find the auxiliary params corresponding to an label. | |
Manage auxiliary parameter classes.
This class keeps track of AuxParamsInterface
classes.