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 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.

                                                                                            :
  m_name( sequenceName ),
  m_sequences( dbSchema ){
}
ora::NamedSequence::~NamedSequence ( ) [virtual]

Definition at line 76 of file Sequences.cc.

                                {
}

Member Function Documentation

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

Member Data Documentation

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

Definition at line 39 of file Sequences.h.

Definition at line 40 of file Sequences.h.