2 * Config_ValidatorMessage.h
4 * Created on: 08 èþëÿ 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);
29 CONFIG_EXPORT virtual ~Config_ValidatorMessage();
31 //CONFIG_EXPORT static const char* UID() const;
33 CONFIG_EXPORT const std::string& validatorId() const;
34 const std::string& featureId() const;
35 const std::string& attributeId() const;
36 CONFIG_EXPORT const std::list<std::string>& parameters() const;
37 CONFIG_EXPORT bool isValid() const;
39 CONFIG_EXPORT void setValidatorId(const std::string& theId);
40 CONFIG_EXPORT void setFeatureId(const std::string& theId);
41 CONFIG_EXPORT void setAttributeId(const std::string& theId);
42 CONFIG_EXPORT void setValidatorParameters(const std::list<std::string>& parameters);
45 #endif /* Config_ValidatorMessage_H_ */