#include <Sequences.h>
Public Member Functions | |
void | clear () |
void | create () |
void | erase () |
int | getNextId (bool sinchronize=false) |
NamedSequence (const std::string &sequenceName, IDatabaseSchema &dbSchema) | |
void | sinchronize () |
virtual | ~NamedSequence () |
Private Attributes | |
std::string | m_name |
Sequences | m_sequences |
Definition at line 29 of file Sequences.h.
ora::NamedSequence::NamedSequence | ( | const std::string & | sequenceName, |
ora::IDatabaseSchema & | dbSchema | ||
) |
Definition at line 71 of file Sequences.cc.
: m_name( sequenceName ), m_sequences( dbSchema ){ }
ora::NamedSequence::~NamedSequence | ( | ) | [virtual] |
Definition at line 76 of file Sequences.cc.
{ }
void ora::NamedSequence::clear | ( | void | ) |
Definition at line 95 of file Sequences.cc.
{ m_sequences.clear(); }
void ora::NamedSequence::create | ( | ) |
Definition at line 79 of file Sequences.cc.
{ m_sequences.create( m_name ); }
void ora::NamedSequence::erase | ( | ) |
Definition at line 91 of file Sequences.cc.
{ m_sequences.erase( m_name ); }
int ora::NamedSequence::getNextId | ( | bool | sinchronize = false | ) |
Definition at line 83 of file Sequences.cc.
{ return m_sequences.getNextId( m_name, sinchronize ); }
void ora::NamedSequence::sinchronize | ( | ) |
Definition at line 87 of file Sequences.cc.
{ m_sequences.sinchronize( m_name ); }
std::string ora::NamedSequence::m_name [private] |
Definition at line 39 of file Sequences.h.
Sequences ora::NamedSequence::m_sequences [private] |
Definition at line 40 of file Sequences.h.