Template Class RegisterRegulatoryElement
Defined in File RegulatoryElement.h
Class Documentation
-
template<class T>
class 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.
Public Functions
-
inline RegisterRegulatoryElement()
-
inline RegisterRegulatoryElement()