CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
ora::ISequenceTable Class Referenceabstract

#include <IDatabaseSchema.h>

Inheritance diagram for ora::ISequenceTable:
ora::IDatabaseTable ora::OraSequenceTable ora::PoolSequenceTable

Public Member Functions

virtual bool add (const std::string &sequenceName)=0
 
virtual void erase (const std::string &sequenceName)=0
 
virtual bool getLastId (const std::string &sequenceName, int &lastId)=0
 
 ISequenceTable (coral::ISchema &schema)
 
virtual void sinchronize (const std::string &sequenceName, int lastValue)=0
 
virtual ~ISequenceTable ()
 
- Public Member Functions inherited from ora::IDatabaseTable
virtual void create ()=0
 
virtual void drop ()=0
 
virtual bool exists ()=0
 
 IDatabaseTable (coral::ISchema &schema)
 
virtual std::string name ()=0
 
coral::ISchema & schema ()
 
virtual void setAccessPermission (const std::string &principal, bool forWrite)
 
virtual ~IDatabaseTable ()
 

Detailed Description

Definition at line 49 of file IDatabaseSchema.h.

Constructor & Destructor Documentation

ora::ISequenceTable::ISequenceTable ( coral::ISchema &  schema)
explicit

Definition at line 53 of file IDatabaseSchema.cc.

53  :
55 }
IDatabaseTable(coral::ISchema &schema)
coral::ISchema & schema()
virtual ora::ISequenceTable::~ISequenceTable ( )
inlinevirtual

Definition at line 52 of file IDatabaseSchema.h.

52  {
53  }

Member Function Documentation

virtual bool ora::ISequenceTable::add ( const std::string &  sequenceName)
pure virtual
virtual void ora::ISequenceTable::erase ( const std::string &  sequenceName)
pure virtual
virtual bool ora::ISequenceTable::getLastId ( const std::string &  sequenceName,
int &  lastId 
)
pure virtual
virtual void ora::ISequenceTable::sinchronize ( const std::string &  sequenceName,
int  lastValue 
)
pure virtual