1 #ifndef INCLUDE_ORA_DATABASECONTAINER_H
2 #define INCLUDE_ORA_DATABASECONTAINER_H
18 class ContainerSchema;
19 class DatabaseSession;
20 class ContainerUpdateTable;
63 const std::string&
name();
89 void erase(
int itemId );
93 void setItemName(
const std::string& name,
int itemId );
95 bool getNames( std::vector<std::string>& destination );
const std::string & name()
DatabaseContainer(int contId, const std::string &containerName, const std::string &className, unsigned int containerSize, DatabaseSession &session)
const Reflex::Type & type()
std::auto_ptr< WriteBuffer > m_writeBuffer
virtual ~DatabaseContainer()
void updateItem(int itemId, const void *data, const Reflex::Type &type)
int insertItem(const void *data, const Reflex::Type &type)
bool getNames(std::vector< std::string > &destination)
void * getItemAsType(const Reflex::Type &type)
const Reflex::Type & type()
std::auto_ptr< DeleteBuffer > m_deleteBuffer
std::auto_ptr< ContainerSchema > m_schema
const std::string & className()
void extendSchema(const Reflex::Type &dependentType)
IteratorBuffer(ContainerSchema &schema, ReadBuffer &buffer)
ContainerUpdateTable & m_containerUpdateTable
const std::string & mappingVersion()
std::auto_ptr< ReadBuffer > m_readBuffer
void * fetchItem(int itemId)
std::auto_ptr< UpdateBuffer > m_updateBuffer
void setItemName(const std::string &name, int itemId)
Handle< IteratorBuffer > iteratorBuffer()
void * fetchItemAsType(int itemId, const Reflex::Type &asType)
ReadBuffer & m_readBuffer
Handle< IteratorBuffer > m_iteratorBuffer