|
Celeritas 0.7.0-dev.161+develop.301cbc939
|
Concrete mixin utility class for managing an action. More...
#include <ActionInterface.hh>

Public Member Functions | |
| ConcreteAction (ActionId id, std::string label) noexcept(!CELERITAS_DEBUG) | |
| Construct a concrete action from a label and ID. | |
| ConcreteAction (ActionId id, std::string label, std::string description) noexcept(!CELERITAS_DEBUG) | |
| Construct a concrete action from an ID, a unique label, and a description. | |
| ~ConcreteAction () noexcept override | |
| Default destructor. | |
| CELER_DELETE_COPY_MOVE (ConcreteAction) | |
| ActionId | action_id () const final |
| ID of this action for verification. | |
| std::string_view | label () const final |
| Short label. | |
| std::string_view | description () const final |
| Descriptive label. | |
Public Member Functions inherited from celeritas::ActionInterface | |
| virtual | ~ActionInterface () noexcept=0 |
| Default destructor. | |
Additional Inherited Members | |
Protected Member Functions inherited from celeritas::ActionInterface | |
| CELER_DEFAULT_COPY_MOVE (ActionInterface) | |
Concrete mixin utility class for managing an action.
Example:
The noexcept declarations improve code generation for the common use case of multiple inheritance.
|
inlinefinalvirtual |
ID of this action for verification.
Implements celeritas::ActionInterface.
|
inlinefinalvirtual |
Descriptive label.
Implements celeritas::ActionInterface.
|
inlinefinalvirtual |
Short label.
Implements celeritas::ActionInterface.