7 #ifndef __FWATOMSPATCH_CONDITIONS_ABSTRACT_HPP__ 8 #define __FWATOMSPATCH_CONDITIONS_ABSTRACT_HPP__ 10 #include <fwCore/base.hpp> 12 #include <fwAtoms/Base.hpp> 14 #include "fwAtomsPatch/config.hpp" 32 FWATOMSPATCH_API virtual ::fwAtoms::Base::sptr getDefaultValue();
35 FWATOMSPATCH_API
virtual bool test(::fwAtoms::Base::sptr old, ::fwAtoms::Base::sptr newValue);
38 FWATOMSPATCH_API
virtual bool test(::fwAtoms::Base::sptr old);
44 Abstract(::fwAtoms::Base::sptr defaultValue);
46 ::fwAtoms::Base::sptr m_defaultValue;
47 std::string m_message;
Base class for all FW4SPL's classes.
Contains functions used to control patching process by defining conditions on objects.
Contains base functionalities used to transform objects from a version to another.
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
#define fwCoreAllowSharedFromThis()
Generate getSptr and getConstSptr methods.
Defines a condition in the patch.