#include "IDbiDatabaseManager.hxx" #include "IDbiCascader.hxx" #include "ISeqNoAllocator.hxx" // Issue local and global SEQNOs. Int_t COMET::ISeqNoAllocator::GetSeqNo(const std::string& tableName, Int_t requireGlobal /* = 0 */, Int_t dbNo /* = 0 */) const // tableName in The table for which the SEQNO is required. // requireGlobal in The type of SEQNO required:- // > 0 Must be global // = 0 Must be global if supplied dbNo is authorising // and table isn't temporary otherwise local // < 0 Must be local // dbNo in The entry in the cascade for which the SEQNO is required { return COMET::IDbiDatabaseManager::Instance().GetCascader().AllocateSeqNo(tableName,requireGlobal,dbNo); }