Definition at line 74 of file UniqueRefStreamer.cc.
ora::DependentClassReader::DependentClassReader |
( |
| ) |
|
|
inline |
Definition at line 76 of file UniqueRefStreamer.cc.
DataElement m_dataElement
std::auto_ptr< IRelationalReader > m_reader
std::auto_ptr< SelectOperation > m_depQuery
ora::DependentClassReader::~DependentClassReader |
( |
| ) |
|
|
inline |
Definition at line 83 of file UniqueRefStreamer.cc.
References ora::MappingElement::columnNames(), ora::MappingElement::end(), ora::MappingElement::find(), m_dataElement, m_depQuery, m_reader, m_type, ora::RelationalStreamerFactory::newReader(), ora::ContainerSchema::storageSchema(), ora::MappingElement::tableName(), and ora::throwException().
Referenced by ora::RelationalRefLoader::build().
86 m_depQuery.reset(
new SelectOperation( depMapping.tableName(), contSchema.storageSchema()));
87 m_depQuery->addWhereId( depMapping.columnNames()[ 1 ] );
90 if( iMap == depMapping.end()){
92 m_type.Name(Reflex::SCOPED)+
"\"",
93 "DependentClassReadBuffer::ReadBuffer");
95 MappingElement& mapping = iMap->second;
96 RelationalStreamerFactory streamerFactory( contSchema );
DataElement m_dataElement
std::map< std::string, MappingElement >::iterator iterator
Iterator definition.
void throwException(const std::string &message, const std::string &methodName) __attribute__((noreturn))
std::auto_ptr< IRelationalReader > m_reader
std::auto_ptr< SelectOperation > m_depQuery
void* ora::DependentClassReader::read |
( |
int |
refId | ) |
|
|
inline |
Reflex::Type ora::DependentClassReader::m_type |
|
private |