template class for registering new RegulatoryElements. More...
#include <RegulatoryElement.h>
Public Member Functions | |
RegisterRegulatoryElement () | |
template class for registering new RegulatoryElements.
The parser will determine which rule to pick based on the "rule" tag of a RegulatoryElement. If no rule matches, a GenericRegulatoryElement will be created.
To register a class, put RegisterRegulatoryElement<MyClass> regMyClass; somewhere in your cpp file.
Your class is required to have a constructor that takes a RegulatoryElementDataPtr as argument. The constructor of this class is allowed to throw when the data passed to it is invalid.
Definition at line 384 of file primitives/RegulatoryElement.h.
|
inline |
Definition at line 386 of file primitives/RegulatoryElement.h.