SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
An entry in the factory holding an update method and all the metadata required to index the things the method applies to. More...
#include <Factory.h>
Public Member Functions | |
Entry (std::size_t appliesToVersionMin, std::size_t appliesToVersionMax, std::size_t producesVersion, UpdaterSignature update) | |
bool | isValid () const |
True when an entry has a valid updater and revision range. | |
operator bool () const | |
An entry is truthy when it is valid. | |
bool | operator< (const Entry &other) const |
A comparator for insertion into ordered containers. | |
Public Attributes | |
std::size_t | AppliesToVersionMin = 0 |
The lowest revision of the input element this updater applies to. | |
std::size_t | AppliesToVersionMax = 0 |
The highest revision of the input element this updater applies to. | |
std::size_t | ProducesVersion = 0 |
The version of an element produced by invoking the updater on a target. | |
UpdaterSignature | Update |
The method to invoke on a target to update it. | |
An entry in the factory holding an update method and all the metadata required to index the things the method applies to.