20 #ifndef CONFIG_VALIDATORMESSAGE_H_
21 #define CONFIG_VALIDATORMESSAGE_H_
23 #include <Events_Message.h>
24 #include <Config_def.h>
30 MAYBE_UNUSED
static const char * EVENT_VALIDATOR_LOADED =
"ValidatorLoaded";
39 std::string myValidatorId;
40 std::string myFeatureId;
41 std::string myAttributeId;
42 std::list<std::string> myVaidatorParameters;
54 CONFIG_EXPORT
const std::string&
validatorId()
const;
56 CONFIG_EXPORT
const std::string&
featureId()
const;
58 CONFIG_EXPORT
const std::string&
attributeId()
const;
60 CONFIG_EXPORT
const std::list<std::string>&
parameters()
const;
62 CONFIG_EXPORT
bool isValid()
const;
67 CONFIG_EXPORT
void setFeatureId(
const std::string& theId);
Transmits info about created validator on "ValidatorLoaded" event.
Definition: Config_ValidatorMessage.h:38
CONFIG_EXPORT const std::string & validatorId() const
Get id of the filter.
Definition: Config_ValidatorMessage.cpp:34
CONFIG_EXPORT void setValidatorParameters(const std::list< std::string > ¶meters)
Get filter parameters.
Definition: Config_ValidatorMessage.cpp:64
CONFIG_EXPORT void setFeatureId(const std::string &theId)
Set id of a feature to which the filter belongs to.
Definition: Config_ValidatorMessage.cpp:69
CONFIG_EXPORT void setAttributeId(const std::string &theId)
Set id of an attribute to which the filter belongs to.
Definition: Config_ValidatorMessage.cpp:74
CONFIG_EXPORT const std::string & attributeId() const
Get id of an attribute to which the filter belongs to.
Definition: Config_ValidatorMessage.cpp:44
CONFIG_EXPORT bool isValid() const
Returns true if validator id is not empty.
Definition: Config_ValidatorMessage.cpp:54
CONFIG_EXPORT const std::list< std::string > & parameters() const
Get filter parameters.
Definition: Config_ValidatorMessage.cpp:49
CONFIG_EXPORT void setValidatorId(const std::string &theId)
Set id of the filter.
Definition: Config_ValidatorMessage.cpp:59
CONFIG_EXPORT const std::string & featureId() const
Get id of a feature to which the filter belongs to.
Definition: Config_ValidatorMessage.cpp:39
CONFIG_EXPORT Config_ValidatorMessage(const Events_ID theId, const void *theParent=0)
Definition: Config_ValidatorMessage.cpp:22
Identifier of the event kind.
Definition: Events_Message.h:36
Message for communication between sender and listener of event.
Definition: Events_Message.h:65