34 Reflex::Type refType = Reflex::Type::ByTypeInfo(
typeid(Reference) );
36 Reflex::OffsetFunction baseOffsetFunc = 0;
41 "OraReferenceStreamerBase::buildDataElement");
44 Reflex::Member contIdMember = refType.DataMemberByName(
"m_containerId");
45 Reflex::Member itemIdMember = refType.DataMemberByName(
"m_itemId");
46 if( !contIdMember || !itemIdMember ){
48 "OraReferenceStreamerBase::buildDataElement");
54 throwException(
"Expected column names have not been found in the mapping.",
55 "OraReferenceStreamerBase::buildDataElement");
57 const std::type_info& attrType =
typeid(int);
58 for( std::vector<std::string>::const_iterator iCol =
m_columns.begin();
60 relationalData.addData( *iCol, attrType );
DataElement * m_dataElement
DataElement * m_dataElemOId0
DataElement & addChild(size_t declaringScopeOffset, Reflex::OffsetFunction offsetFunction)
bool findBaseType(Reflex::Type &type, Reflex::Type &baseType, Reflex::OffsetFunction &func)
DataElement * m_dataElemOId1
IRelationalData * m_relationalData
const std::vector< std::string > & m_columns
void throwException(const std::string &message, const std::string &methodName)
Reflex::Type m_objectType