libdrmconf
0.12.0
A library to program DMR radios.
|
Abstract base class for all radio limits. More...
#include <radiolimits.hh>
Public Types | |
typedef std::initializer_list< std::pair< QString, RadioLimitElement * > > | PropList |
Initializer lists of ConfigItem properties. | |
Public Member Functions | |
virtual bool | verify (const ConfigItem *item, const QMetaProperty &prop, RadioLimitContext &context) const =0 |
Verifies the given property of the specified item. More... | |
virtual | ~RadioLimitElement () |
Destructor. | |
Protected Member Functions | |
RadioLimitElement (QObject *parent=nullptr) | |
Hidden constructor. | |
Abstract base class for all radio limits.
|
pure virtual |
Verifies the given property of the specified item.
This method gets implemented by the specialized classes to implement the actual verification.
Implemented in RadioLimitGroupCallRefList, RadioLimitRefList, RadioLimitList, RadioLimitObjRefIgnored, RadioLimitObjRef, RadioLimitIgnored, RadioLimitItem, RadioLimitTransmitFrequencies, RadioLimitFrequencies, RadioLimitEnum, RadioLimitUInt, RadioLimitIgnoredBool, RadioLimitBool, RadioLimitStringIgnored, RadioLimitStringRegEx, and RadioLimitString.