CMS 3D CMS Logo

Public Member Functions | Private Attributes

ora::NamedSequence Class Reference

#include <Sequences.h>

List of all members.

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

Detailed Description

Definition at line 26 of file Sequences.h.


Constructor & Destructor Documentation

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.

                                {
}

Member Function Documentation

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 );
}

Member Data Documentation

std::string ora::NamedSequence::m_name [private]

Definition at line 35 of file Sequences.h.

Definition at line 36 of file Sequences.h.