fw4spl
fwActivities::validator::RelatedStudy Class Reference

Defines a validator which checks that given series refer to the same study. More...

#include <RelatedStudy.hpp>

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

Public Member Functions

virtual bool isA (const std::string &type) const override
 
FWACTIVITIES_API RelatedStudy (::fwActivities::IValidator::Key key)
 Constructor. Do nothing.
 
virtual FWACTIVITIES_API ~RelatedStudy ()
 Destructor. Do nothing.
 
virtual FWACTIVITIES_API IValidator::ValidationType validate (const ::fwActivities::registry::ActivityInfo &activityInfo, const std::shared_ptr< const ::fwData::Vector > &currentSelection) const override
 
- 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::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 given series refer to the same study.

Definition at line 24 of file RelatedStudy.hpp.

Member Function Documentation

virtual FWACTIVITIES_API IValidator::ValidationType fwActivities::validator::RelatedStudy::validate ( const ::fwActivities::registry::ActivityInfo activityInfo,
const std::shared_ptr< const ::fwData::Vector > &  currentSelection 
) const
overridevirtual

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