//## begin module%1.7%.codegen_version preserve=yes // Read the documentation to learn more about C++ code generator // versioning. //## end module%1.7%.codegen_version //## begin module%421040A40076.cm preserve=no //## end module%421040A40076.cm //## begin module%421040A40076.cp preserve=no // C O P Y R I G H T N O T I C E // This material is confidential to ERG and may not be disclosed in whole // or in part to any third party nor used in any manner whatsoever other // than for the purposes expressly consented to by ERG in writing. // // This material is also copyright and may not be reproduced, stored in a // retrieval system or transmitted in any form or by any means in whole or // in part without the express written consent of ERG. //## end module%421040A40076.cp //## Module: SequenceCollection%421040A40076; Pseudo Package specification //## Subsystem: MASS::Dev::Tools::TxnTestManager::src%41F5A79001E4 //## Source file: Z:\MASS_Dev\Tools\TxnTestManager\src\SequenceCollection.h #ifndef SequenceCollection_h #define SequenceCollection_h 1 //## begin module%421040A40076.additionalIncludes preserve=no //## end module%421040A40076.additionalIncludes //## begin module%421040A40076.includes preserve=yes #include #include //## end module%421040A40076.includes class Sequence; //## begin module%421040A40076.additionalDeclarations preserve=yes //## end module%421040A40076.additionalDeclarations //## begin SequenceCollection%421040A40076.preface preserve=yes //## end SequenceCollection%421040A40076.preface //## Class: SequenceCollection%421040A40076; private // A collection of defined sequences. //## Category: TransactionTestManager::Sequence Generators%42103A59009B //## Subsystem: MASS::Dev::Tools::TxnTestManager::src%41F5A79001E4 //## Persistence: Transient //## Cardinality/Multiplicity: n class SequenceCollection { //## begin SequenceCollection%421040A40076.initialDeclarations preserve=yes //## end SequenceCollection%421040A40076.initialDeclarations public: //## Constructors (generated) SequenceCollection(); //## Destructor (generated) virtual ~SequenceCollection(); //## Other Operations (specified) //## Operation: clear%4211667202C7 // Clear the collection. void clear (); //## Operation: getCollection%4211952E0066 // Evaluate to the colletion of sequences. const std::map< std::string, Sequence * > & getCollection () const; //## Operation: getSequence%4211667202D7 // Evaluate to the given sequence. When the sequence doesn't already exist, // create it. Sequence& getSequence (const std::string &sequenceName, // The name of the sequence. const bool &persisted, // Whether the sequence is persisted or transient. const int &first // The first value in the sequence. ); // Additional Public Declarations //## begin SequenceCollection%421040A40076.public preserve=yes //## end SequenceCollection%421040A40076.public protected: // Additional Protected Declarations //## begin SequenceCollection%421040A40076.protected preserve=yes //## end SequenceCollection%421040A40076.protected private: //## Constructors (generated) SequenceCollection(const SequenceCollection &right); //## Assignment Operation (generated) SequenceCollection & operator=(const SequenceCollection &right); // Data Members for Associations //## Association: TransactionTestManager::Sequence Generators::%4210412900B2 //## Role: SequenceCollection::sequence%4210412901EB // The collection of defined sequences. //## Qualifier: name%421041370239; std::string // The name of the sequence. //## begin SequenceCollection::sequence%4210412901EB.role preserve=no private: Sequence {1 -> 1RFHgAN} std::map m_sequence; //## end SequenceCollection::sequence%4210412901EB.role // Additional Private Declarations //## begin SequenceCollection%421040A40076.private preserve=yes //## end SequenceCollection%421040A40076.private private: //## implementation // Additional Implementation Declarations //## begin SequenceCollection%421040A40076.implementation preserve=yes //## end SequenceCollection%421040A40076.implementation }; //## begin SequenceCollection%421040A40076.postscript preserve=yes //## end SequenceCollection%421040A40076.postscript // Class SequenceCollection //## begin module%421040A40076.epilog preserve=yes //## end module%421040A40076.epilog #endif