2 * Config_ValidatorMessage.h
4 * Created on: 08 Jul 2014 ã.
8 #ifndef Config_ValidatorMessage_H_
9 #define Config_ValidatorMessage_H_
11 #include <Events_Message.h>
12 #include <Config_def.h>
17 /// Event ID that feature is loaded (comes with Config_FeatureMessage)
18 static const char * EVENT_VALIDATOR_LOADED = "ValidatorLoaded";
20 class Config_ValidatorMessage : public Events_Message
22 std::string myValidatorId;
23 std::string myFeatureId;
24 std::string myAttributeId;
25 std::list<std::string> myVaidatorParameters;
28 CONFIG_EXPORT Config_ValidatorMessage(const Events_ID theId, const void* theParent = 0);CONFIG_EXPORT virtual ~Config_ValidatorMessage();
30 //CONFIG_EXPORT static const char* UID() const;
32 CONFIG_EXPORT const std::string& validatorId() const;CONFIG_EXPORT const std::string& featureId() const;CONFIG_EXPORT const std::string& attributeId() const;CONFIG_EXPORT const std::list<
33 std::string>& parameters() const;CONFIG_EXPORT bool isValid() const;
35 CONFIG_EXPORT void setValidatorId(const std::string& theId);CONFIG_EXPORT void setFeatureId(
36 const std::string& theId);CONFIG_EXPORT void setAttributeId(const std::string& theId);CONFIG_EXPORT void setValidatorParameters(
37 const std::list<std::string>& parameters);
40 #endif /* Config_ValidatorMessage_H_ */