Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2224 sbetterm 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%425A0C2601FD.cm preserve=no
7
//## end module%425A0C2601FD.cm
8
 
9
//## begin module%425A0C2601FD.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%425A0C2601FD.cp
19
 
20
//## Module: UdDrainFile%425A0C2601FD; Pseudo Package specification
21
//## Subsystem: MASS::Dev::Tools::TxnTestManager::src%41F5A79001E4
22
//## Source file: Z:\MASS_Dev\Tools\TxnTestManager\src\UdDrainFile.h
23
 
24
#ifndef UdDrainFile_h
25
#define UdDrainFile_h 1
26
 
27
//## begin module%425A0C2601FD.additionalIncludes preserve=no
28
//## end module%425A0C2601FD.additionalIncludes
29
 
30
//## begin module%425A0C2601FD.includes preserve=yes
31
//## end module%425A0C2601FD.includes
32
 
33
 
34
namespace XMLSchema {
35
class IXmlSchemaWrapperElement;
36
class IXmlSchemaWrapperHandle;
37
class IXmlSchemaWrapperFactory;
38
class IXmlSchemaWrapperSchema;
39
 
40
} // namespace XMLSchema
41
 
42
//## begin module%425A0C2601FD.additionalDeclarations preserve=yes
43
//## end module%425A0C2601FD.additionalDeclarations
44
 
45
 
46
//## begin UdDrainFile%425A0C2601FD.preface preserve=yes
47
//## end UdDrainFile%425A0C2601FD.preface
48
 
49
//## Class: UdDrainFile%425A0C2601FD; private
50
//	A drain file of UD.
51
//## Category: TransactionTestManager::Transaction Generation%4202F8EE0128
52
//## Subsystem: MASS::Dev::Tools::TxnTestManager::src%41F5A79001E4
53
//## Persistence: Transient
54
//## Cardinality/Multiplicity: n
55
 
56
 
57
 
58
class UdDrainFile 
59
{
60
  //## begin UdDrainFile%425A0C2601FD.initialDeclarations preserve=yes
61
  //## end UdDrainFile%425A0C2601FD.initialDeclarations
62
 
63
  public:
64
    //## Constructors (specified)
65
      //## Operation: UdDrainFile%425A132E0282
66
      //	The only constructor.
67
      UdDrainFile (XMLSchema::IXmlSchemaWrapperFactory &schemaFactory, 	// The factory that we may call on to create and destroy schema artefacts.
68
      	// While we do not accept ownership over this instance, we do assume its
69
      	// validity for the remainder of our lifetime.
70
      XMLSchema::IXmlSchemaWrapperSchema &schema	// The schema.
71
      );
72
 
73
    //## Destructor (generated)
74
      virtual ~UdDrainFile();
75
 
76
 
77
    //## Other Operations (specified)
78
      //## Operation: getTransactionCount%425A1A1901D3
79
      //	Evaluate to the number of transactions in this instance.
80
      const unsigned int getTransactionCount () const;
81
 
82
      //## Operation: read%425A1133022E
83
      //	Read the UD from the given drain file into this instance.
84
      const bool read (const bool &hasHeader, 	// Of value true when the file has headers, and false otherwise.
85
      const int &iteration, 	// The iteration.
86
      const char *fileName	// The name of the file.
87
      );
88
 
89
    // Additional Public Declarations
90
      //## begin UdDrainFile%425A0C2601FD.public preserve=yes
91
      //## end UdDrainFile%425A0C2601FD.public
92
 
93
  protected:
94
    // Additional Protected Declarations
95
      //## begin UdDrainFile%425A0C2601FD.protected preserve=yes
96
      //## end UdDrainFile%425A0C2601FD.protected
97
 
98
  private:
99
    //## Constructors (generated)
100
      UdDrainFile();
101
 
102
      UdDrainFile(const UdDrainFile &right);
103
 
104
    //## Assignment Operation (generated)
105
      UdDrainFile & operator=(const UdDrainFile &right);
106
 
107
    // Data Members for Class Attributes
108
 
109
      //## Attribute: headed%425A1AB401F4
110
      //	Of value true when the drain file is headed, and false otherwise.
111
      //## begin UdDrainFile::headed%425A1AB401F4.attr preserve=no  private: bool {VA} false
112
      bool m_headed;
113
      //## end UdDrainFile::headed%425A1AB401F4.attr
114
 
115
    // Data Members for Associations
116
 
117
      //## Association: TransactionTestManager::Transaction Generation::<unnamed>%425A12D3026D
118
      //## Role: UdDrainFile::schemaFactory%425A12D60237
119
      //	The factory that we may call on to create and destroy schema artefacts.
120
      //	While we do not accept ownership over this instance, we do assume its
121
      //	validity for the remainder of our lifetime.
122
      //## begin UdDrainFile::schemaFactory%425A12D60237.role preserve=no  private: XMLSchema::IXmlSchemaWrapperFactory {1 -> 1RFHAN}
123
      XMLSchema::IXmlSchemaWrapperFactory *m_schemaFactory;
124
      //## end UdDrainFile::schemaFactory%425A12D60237.role
125
 
126
      //## Association: TransactionTestManager::Transaction Generation::<unnamed>%425A12FE006C
127
      //## Role: UdDrainFile::schema%425A13010110
128
      //	The schema.  While we do not accept ownership over this instance, we do
129
      //	assume its validity for the remainder of our lifetime.
130
      //## begin UdDrainFile::schema%425A13010110.role preserve=no  private: XMLSchema::IXmlSchemaWrapperSchema {1 -> 1RFHAN}
131
      XMLSchema::IXmlSchemaWrapperSchema *m_schema;
132
      //## end UdDrainFile::schema%425A13010110.role
133
 
134
      //## Association: TransactionTestManager::Transaction Generation::<unnamed>%425A185B00F3
135
      //## Role: UdDrainFile::structureHandle%425A185B0334
136
      //	The handle of structure that describes this drain file.  We need to keep
137
      //	theis, because we cannot get the handle from the structure, and we need the
138
      //	handle to destroy the structure in the schema.
139
      //## begin UdDrainFile::structureHandle%425A185B0334.role preserve=no  private: XMLSchema::IXmlSchemaWrapperHandle {1 -> 1RFHgAN}
140
      XMLSchema::IXmlSchemaWrapperHandle *m_structureHandle;
141
      //## end UdDrainFile::structureHandle%425A185B0334.role
142
 
143
      //## Association: TransactionTestManager::Transaction Generation::<unnamed>%425A185D015B
144
      //## Role: UdDrainFile::structure%425A185D035E
145
      //	The structure that describes this transaction.
146
      //## begin UdDrainFile::structure%425A185D035E.role preserve=no  private: XMLSchema::IXmlSchemaWrapperElement { -> 1RFHgAN}
147
      XMLSchema::IXmlSchemaWrapperElement *m_structure;
148
      //## end UdDrainFile::structure%425A185D035E.role
149
 
150
    // Additional Private Declarations
151
      //## begin UdDrainFile%425A0C2601FD.private preserve=yes
152
      //## end UdDrainFile%425A0C2601FD.private
153
 
154
  private: //## implementation
155
    // Additional Implementation Declarations
156
      //## begin UdDrainFile%425A0C2601FD.implementation preserve=yes
157
      //## end UdDrainFile%425A0C2601FD.implementation
158
 
159
};
160
 
161
//## begin UdDrainFile%425A0C2601FD.postscript preserve=yes
162
//## end UdDrainFile%425A0C2601FD.postscript
163
 
164
// Class UdDrainFile 
165
 
166
//## begin module%425A0C2601FD.epilog preserve=yes
167
//## end module%425A0C2601FD.epilog
168
 
169
 
170
#endif