36 Reflex::Type refType = Reflex::Type::ByTypeInfo(
typeid(Reference) );
38 Reflex::OffsetFunction baseOffsetFunc = 0;
43 "OraReferenceStreamerBase::buildDataElement");
46 Reflex::Member contIdMember = refType.DataMemberByName(
"m_containerId");
47 Reflex::Member itemIdMember = refType.DataMemberByName(
"m_itemId");
48 if( !contIdMember || !itemIdMember ){
50 "OraReferenceStreamerBase::buildDataElement");
56 if( columns.size() < 2 ){
57 throwException(
"Expected column names have not been found in the mapping.",
58 "OraReferenceStreamerBase::buildDataElement");
60 const std::type_info& attrType =
typeid(int);
61 for(
size_t i=0;
i<2;
i++ ){
MappingElement & m_mapping
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
const std::vector< std::string > & columnNames() const
IRelationalData * m_relationalData
void throwException(const std::string &message, const std::string &methodName) __attribute__((noreturn))
Reflex::Type m_objectType