fw4spl
fwActivities::validator::DefaultActivity Class Reference

Defines a validator which checks that activity requirements are valid. More...

#include <DefaultActivity.hpp>

+ Inheritance diagram for fwActivities::validator::DefaultActivity:
+ Collaboration diagram for fwActivities::validator::DefaultActivity:

Public Member Functions

virtual bool isA (const std::string &type) const override
 
FWACTIVITIES_API DefaultActivity (::fwActivities::IValidator::Key key)
 Constructor. Do nothing.
 
virtual FWACTIVITIES_API ~DefaultActivity ()
 Destructor. Do nothing.
 
virtual FWACTIVITIES_API IValidator::ValidationType validate (const std::shared_ptr< const ::fwMedData::ActivitySeries > &activitySeries) const override
 Checks if all the required data are present and if the appConfig parameters are found.
 
- Public Member Functions inherited from fwActivities::IActivityValidator
virtual FWACTIVITIES_API ValidationType validate (const ::fwActivities::registry::ActivityInfo &, const std::shared_ptr< const ::fwData::Vector > &) const override
 Does nothing.
 
FWACTIVITIES_API ValidationType checkRequirements (const std::shared_ptr< const ::fwMedData::ActivitySeries > &activity) const
 Checks if all the required data are present in the activity series. More...
 
FWACTIVITIES_API ValidationType checkParameters (const std::shared_ptr< const ::fwMedData::ActivitySeries > &activity) const
 Checks if all the activity's AppConfig parameters are valid. More...
 
FWACTIVITIES_API ValidationType checkObject (const std::shared_ptr< const ::fwData::Object > &object, const std::string &validatorImpl) const
 Calls the object validator if it is defined. More...
 
- Public Member Functions inherited from fwActivities::IValidator
- Public Member Functions inherited from fwCore::BaseObject

Static Public Member Functions

static bool isTypeOf (const std::string &type)
 
- Static Public Member Functions inherited from fwActivities::IActivityValidator
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 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
 

Friends

template<class , class , class >
class ::fwTools::ClassFactory
 
class ::fwTools::Factory
 

Demangling methods

virtual const std::string & getLeafClassname () const override
 return object's classname without its namespace, i.e. BaseObject
 
virtual const std::string & getClassname () const override
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
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
 

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
 

Detailed Description

Defines a validator which checks that activity requirements are valid.

It checks if all the required data are present and if the appConfig parameters are found.

Definition at line 25 of file DefaultActivity.hpp.


The documentation for this class was generated from the following file: