SHAPER  9.15.0
Config_ValidatorMessage Class Reference

Transmits info about created validator on "ValidatorLoaded" event. More...

Inheritance diagram for Config_ValidatorMessage:
Inheritance graph

Public Member Functions

CONFIG_EXPORT Config_ValidatorMessage (const Events_ID theId, const void *theParent=0)
 
CONFIG_EXPORT const std::string & validatorId () const
 Get id of the filter. More...
 
CONFIG_EXPORT const std::string & featureId () const
 Get id of a feature to which the filter belongs to. More...
 
CONFIG_EXPORT const std::string & attributeId () const
 Get id of an attribute to which the filter belongs to. More...
 
CONFIG_EXPORT const std::list< std::string > & parameters () const
 Get filter parameters. More...
 
CONFIG_EXPORT bool isValid () const
 Returns true if validator id is not empty. More...
 
CONFIG_EXPORT void setValidatorId (const std::string &theId)
 Set id of the filter. More...
 
CONFIG_EXPORT void setFeatureId (const std::string &theId)
 Set id of a feature to which the filter belongs to. More...
 
CONFIG_EXPORT void setAttributeId (const std::string &theId)
 Set id of an attribute to which the filter belongs to. More...
 
CONFIG_EXPORT void setValidatorParameters (const std::list< std::string > &parameters)
 Get filter parameters. More...
 
const Events_IDeventID () const
 Returns identifier of the message. More...
 
void * sender () const
 Returns sender of the message or NULL if it is anonymous message. More...
 

Detailed Description

Transmits info about created validator on "ValidatorLoaded" event.

Constructor & Destructor Documentation

◆ Config_ValidatorMessage()

Config_ValidatorMessage::Config_ValidatorMessage ( const Events_ID  theId,
const void *  theParent = 0 
)

Constructor.

Parameters
theId- Events_ID of the message
theParent- pointer to the sender

Member Function Documentation

◆ validatorId()

const std::string & Config_ValidatorMessage::validatorId ( ) const

Get id of the filter.

◆ featureId()

const std::string & Config_ValidatorMessage::featureId ( ) const

Get id of a feature to which the filter belongs to.

◆ attributeId()

const std::string & Config_ValidatorMessage::attributeId ( ) const

Get id of an attribute to which the filter belongs to.

◆ parameters()

const std::list< std::string > & Config_ValidatorMessage::parameters ( ) const

Get filter parameters.

◆ isValid()

bool Config_ValidatorMessage::isValid ( ) const

Returns true if validator id is not empty.

◆ setValidatorId()

void Config_ValidatorMessage::setValidatorId ( const std::string &  theId)

Set id of the filter.

◆ setFeatureId()

void Config_ValidatorMessage::setFeatureId ( const std::string &  theId)

Set id of a feature to which the filter belongs to.

◆ setAttributeId()

void Config_ValidatorMessage::setAttributeId ( const std::string &  theId)

Set id of an attribute to which the filter belongs to.

◆ setValidatorParameters()

void Config_ValidatorMessage::setValidatorParameters ( const std::list< std::string > &  parameters)

Get filter parameters.

◆ eventID()

const Events_ID& Events_Message::eventID ( ) const
inlineinherited

Returns identifier of the message.

◆ sender()

void* Events_Message::sender ( ) const
inlineinherited

Returns sender of the message or NULL if it is anonymous message.