CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
ora::NamedSequence Class Reference

#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
 

Detailed Description

Definition at line 29 of file Sequences.h.

Constructor & Destructor Documentation

ora::NamedSequence::NamedSequence ( const std::string &  sequenceName,
ora::IDatabaseSchema dbSchema 
)

Definition at line 71 of file Sequences.cc.

71  :
72  m_name( sequenceName ),
73  m_sequences( dbSchema ){
74 }
std::string m_name
Definition: Sequences.h:39
Sequences m_sequences
Definition: Sequences.h:40
ora::NamedSequence::~NamedSequence ( )
virtual

Definition at line 76 of file Sequences.cc.

76  {
77 }

Member Function Documentation

void ora::NamedSequence::clear ( void  )
void ora::NamedSequence::create ( )

Definition at line 79 of file Sequences.cc.

79  {
81 }
std::string m_name
Definition: Sequences.h:39
Sequences m_sequences
Definition: Sequences.h:40
void create(const std::string &sequenceName)
Definition: Sequences.cc:18
void ora::NamedSequence::erase ( )

Definition at line 91 of file Sequences.cc.

91  {
93 }
void erase(const std::string &sequenceName)
Definition: Sequences.cc:63
std::string m_name
Definition: Sequences.h:39
Sequences m_sequences
Definition: Sequences.h:40
int ora::NamedSequence::getNextId ( bool  sinchronize = false)

Definition at line 83 of file Sequences.cc.

83  {
85 }
std::string m_name
Definition: Sequences.h:39
Sequences m_sequences
Definition: Sequences.h:40
int getNextId(const std::string &sequenceName, bool sinchronize=false)
Definition: Sequences.cc:22
void ora::NamedSequence::sinchronize ( )

Definition at line 87 of file Sequences.cc.

87  {
89 }
void sinchronize(const std::string &sequenceName)
Definition: Sequences.cc:43
std::string m_name
Definition: Sequences.h:39
Sequences m_sequences
Definition: Sequences.h:40

Member Data Documentation

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.