7 #include "fwCamp/camp/customtype.hpp" 8 #include "fwCamp/camp/MapProperty.hpp" 9 #include "fwCamp/camp/ExtendedClassVisitor.hpp" 14 MapProperty::MapProperty(
const std::string& name, Type elementType) :
15 Property(name, (::
camp::Type) mappingType),
16 m_elementType(elementType)
22 MapProperty::~MapProperty()
28 void MapProperty::accept(ClassVisitor& visitor)
const 33 mapVisitor->visit(*
this);
43 Value MapProperty::getValue(
const UserObject&
object)
const 45 return getElement(
object, 0);
50 void MapProperty::setValue(
const UserObject&
object,
const Value& value)
const 57 Type MapProperty::elementType()
const