fw4spl
|
Base class for all fwActivities data validator's classes. More...
#include <IObjectValidator.hpp>
Public Member Functions | |
virtual bool | isA (const std::string &type) const override |
virtual FWACTIVITIES_API ValidationType | validate (const ::fwActivities::registry::ActivityInfo &, const std::shared_ptr< const ::fwData::Vector > &) const override |
Does nothing. | |
virtual FWACTIVITIES_API ValidationType | validate (const std::shared_ptr< const ::fwData::Object > ¤tData) const =0 |
Performs the validation of the given data. More... | |
Public Member Functions inherited from fwActivities::IValidator | |
Public Member Functions inherited from fwCore::BaseObject | |
virtual const std::string & | getLeafClassname () const |
return object's classname without its namespace, i.e. BaseObject | |
Static Public Member Functions | |
static bool | isTypeOf (const std::string &type) |
Static Public Member Functions inherited from fwActivities::IValidator | |
static bool | isTypeOf (const std::string &type) |
static const std::string & | classname () |
return full object's classname with its namespace, i.e. fwCore::BaseObject | |
Static Public Member Functions inherited from fwCore::BaseObject | |
static bool | isTypeOf (const std::string &type) |
static const std::string & | leafClassname () |
return object's classname without its namespace, i.e. BaseObject | |
static const std::string & | classname () |
return object's classname without its namespace, i.e. BaseObject | |
Demangling methods | |
virtual const std::string & | getClassname () const override |
return full object's classname with its namespace, i.e. fwCore::BaseObject | |
static const std::string & | classname () |
return full object's classname with its namespace, i.e. fwCore::BaseObject | |
Additional Inherited Members | |
Public Types inherited from fwActivities::IValidator | |
typedef std::pair< bool, std::string > | ValidationType |
Defines validation result of an activity. First element tells if the activity is validated or not by the IValidator implementation. Second element may contains information about the result of activity validation. | |
typedef ::fwActivities::validator::factory::Key | Key |
Base class for all fwActivities data validator's classes.
This validator works on one type of data. The validated data can be a single data, or a Vector or a Composite containing multiple data of the same type.
Definition at line 30 of file IObjectValidator.hpp.
|
pure virtual |
Performs the validation of the given data.
Implemented in fwActivities::validator::ImageProperties.