Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2263 kivins 1
//## begin module%1.7%.codegen_version preserve=yes
2
//   Read the documentation to learn more about C++ code generator
3
//   versioning.
4
//## end module%1.7%.codegen_version
5
 
6
//## begin module%421040A40076.cm preserve=no
7
//## end module%421040A40076.cm
8
 
9
//## begin module%421040A40076.cp preserve=no
10
//	C O P Y R I G H T   N O T I C E
11
//	This material is confidential to ERG and may not be disclosed in whole
12
//	or in part to any third party nor used in any manner whatsoever other
13
//	than for the purposes expressly consented to by ERG in writing.
14
//
15
//	This material is also copyright and may not be reproduced, stored in a
16
//	retrieval system or transmitted in any form or by any means in whole or
17
//	in part without the express written consent of ERG.
18
//## end module%421040A40076.cp
19
 
20
//## Module: SequenceCollection%421040A40076; Pseudo Package specification
21
//## Subsystem: MASS::Dev::Tools::TxnTestManager::src%41F5A79001E4
22
//## Source file: Z:\MASS_Dev\Tools\TxnTestManager\src\SequenceCollection.h
23
 
24
#ifndef SequenceCollection_h
25
#define SequenceCollection_h 1
26
 
27
//## begin module%421040A40076.additionalIncludes preserve=no
28
//## end module%421040A40076.additionalIncludes
29
 
30
//## begin module%421040A40076.includes preserve=yes
31
#include <map>
32
#include <string>
33
//## end module%421040A40076.includes
34
 
35
 
36
class Sequence;
37
 
38
//## begin module%421040A40076.additionalDeclarations preserve=yes
39
//## end module%421040A40076.additionalDeclarations
40
 
41
 
42
//## begin SequenceCollection%421040A40076.preface preserve=yes
43
//## end SequenceCollection%421040A40076.preface
44
 
45
//## Class: SequenceCollection%421040A40076; private
46
//	A collection of defined sequences.
47
//## Category: TransactionTestManager::Sequence Generators%42103A59009B
48
//## Subsystem: MASS::Dev::Tools::TxnTestManager::src%41F5A79001E4
49
//## Persistence: Transient
50
//## Cardinality/Multiplicity: n
51
 
52
 
53
 
54
class SequenceCollection 
55
{
56
  //## begin SequenceCollection%421040A40076.initialDeclarations preserve=yes
57
  //## end SequenceCollection%421040A40076.initialDeclarations
58
 
59
  public:
60
    //## Constructors (generated)
61
      SequenceCollection();
62
 
63
    //## Destructor (generated)
64
      virtual ~SequenceCollection();
65
 
66
 
67
    //## Other Operations (specified)
68
      //## Operation: clear%4211667202C7
69
      //	Clear the collection.
70
      void clear ();
71
 
72
      //## Operation: getCollection%4211952E0066
73
      //	Evaluate to the colletion of sequences.
74
      const std::map< std::string, Sequence * > & getCollection () const;
75
 
76
      //## Operation: getSequence%4211667202D7
77
      //	Evaluate to the given sequence.  When the sequence doesn't already exist,
78
      //	create it.
79
      Sequence& getSequence (const std::string &sequenceName, 	// The name of the sequence.
80
      const bool &persisted, 	// Whether the sequence is persisted or transient.
81
      const int &first	// The first value in the sequence.
82
      );
83
 
84
    // Additional Public Declarations
85
      //## begin SequenceCollection%421040A40076.public preserve=yes
86
      //## end SequenceCollection%421040A40076.public
87
 
88
  protected:
89
    // Additional Protected Declarations
90
      //## begin SequenceCollection%421040A40076.protected preserve=yes
91
      //## end SequenceCollection%421040A40076.protected
92
 
93
  private:
94
    //## Constructors (generated)
95
      SequenceCollection(const SequenceCollection &right);
96
 
97
    //## Assignment Operation (generated)
98
      SequenceCollection & operator=(const SequenceCollection &right);
99
 
100
    // Data Members for Associations
101
 
102
      //## Association: TransactionTestManager::Sequence Generators::<unnamed>%4210412900B2
103
      //## Role: SequenceCollection::sequence%4210412901EB
104
      //	The collection of defined sequences.
105
      //## Qualifier: name%421041370239; std::string
106
      //	The name of the sequence.
107
      //## begin SequenceCollection::sequence%4210412901EB.role preserve=no  private: Sequence {1 -> 1RFHgAN}
108
      std::map<std::string, Sequence *> m_sequence;
109
      //## end SequenceCollection::sequence%4210412901EB.role
110
 
111
    // Additional Private Declarations
112
      //## begin SequenceCollection%421040A40076.private preserve=yes
113
      //## end SequenceCollection%421040A40076.private
114
 
115
  private: //## implementation
116
    // Additional Implementation Declarations
117
      //## begin SequenceCollection%421040A40076.implementation preserve=yes
118
      //## end SequenceCollection%421040A40076.implementation
119
 
120
};
121
 
122
//## begin SequenceCollection%421040A40076.postscript preserve=yes
123
//## end SequenceCollection%421040A40076.postscript
124
 
125
// Class SequenceCollection 
126
 
127
//## begin module%421040A40076.epilog preserve=yes
128
//## end module%421040A40076.epilog
129
 
130
 
131
#endif