7 #include <fwAtoms/Numeric.hpp> 8 #include <fwAtoms/String.hpp> 9 #include <fwAtoms/Map.hpp> 11 #include <fwAtomsPatch/helper/Object.hpp> 13 #include "fwStructuralPatch/creator/fwMedData/Patient1.hpp" Namespace containing medical data.
std::string m_version
Object version.
static FWATOMS_API String::sptr New(std::string value)
Construct a new Object represented a string.
Contains base functionalities used to transform objects from a version to another.
Contains creators and structural patches.
FWATOMSPATCH_API::fwAtoms::Object::sptr createObjBase() const
Create the object base : create meta infos : classname, version and id.
FWATOMSPATCH_API void addAttribute(const std::string &name,::fwAtoms::Base::sptr value, conditions::Abstract::sptr condition=conditions::Abstract::New())
Adds a new attribute in the current object.
FWATOMSPATCH_API IStructuralCreator()
Constructor.
Structural creator for fwMedData::Patient version '1'.
FWSTRUCTURALPATCH_API Patient1()
Constructor.
virtual FWSTRUCTURALPATCH_API::fwAtoms::Object::sptr create() override
Creates the specified object (sets 'name', 'patient_id', 'birth_date' and 'sex' attributes).
std::string m_classname
Object classname.
FWSTRUCTURALPATCH_API ~Patient1()
Destructor.