#include <Sequences.h>
Public Member Functions | |
void | clear () |
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 26 of file Sequences.h.
ora::NamedSequence::NamedSequence | ( | const std::string & | sequenceName, |
ora::IDatabaseSchema & | dbSchema | ||
) |
Definition at line 61 of file Sequences.cc.
: m_name( sequenceName ), m_sequences( dbSchema ){ }
ora::NamedSequence::~NamedSequence | ( | ) | [virtual] |
Definition at line 66 of file Sequences.cc.
{ }
void ora::NamedSequence::clear | ( | void | ) |
Definition at line 81 of file Sequences.cc.
{ m_sequences.clear(); }
void ora::NamedSequence::erase | ( | ) |
Definition at line 77 of file Sequences.cc.
{ m_sequences.erase( m_name ); }
int ora::NamedSequence::getNextId | ( | bool | sinchronize = false | ) |
Definition at line 69 of file Sequences.cc.
{ return m_sequences.getNextId( m_name, sinchronize ); }
void ora::NamedSequence::sinchronize | ( | ) |
Definition at line 73 of file Sequences.cc.
{ m_sequences.sinchronize( m_name ); }
std::string ora::NamedSequence::m_name [private] |
Definition at line 35 of file Sequences.h.
Sequences ora::NamedSequence::m_sequences [private] |
Definition at line 36 of file Sequences.h.