29 const std::string& name,
30 const IInterface* parent)
31 : base_class (
type, name, parent)
33 declareProperty (
"Label",
m_label,
34 "Label to assign to this getter, to be able to reference "
35 "it from an association tool. Leave blank if no label "
37 declareProperty (
"CollectionGetterRegistry",
m_registry,
38 "Collection getter registry tool");
55 return ObjGetterToolImpl::initialize();
72 this->m_converter.dstTypeinfo() != ti)
83 const void* pconv = this->
m_converter.convertUntyped (p);
84 if (pconv)
return pconv;
85 this->releaseElementUntyped (p);
87 <<
"Pointer conversion from " <<
m_converter.srcName() <<
" to "
105 const std::type_info& ti)
112 this->m_backConverter.srcTypeinfo() != ti)
116 <<
"Can't configure pointer conversion from "
117 << System::typeinfoName (ti) <<
" to "
118 << System::typeinfoName (this->typeinfo());
128 this->releaseElementUntyped (p);
147 (
const std::type_info& ti)
149 return this->
m_converter.init(this->elementTypeinfo(), ti);
Helpers for checking error return status codes and reporting errors.
#define REPORT_MESSAGE(LVL)
Report a message.
#define CHECK(...)
Evaluate an expression and check for errors.
Block filler tool for noisy FEB information.