| Line 6... |
Line 6... |
| 6 |
//## begin module%4209BA4C03B8.cm preserve=no
|
6 |
//## begin module%4209BA4C03B8.cm preserve=no
|
| 7 |
//## end module%4209BA4C03B8.cm
|
7 |
//## end module%4209BA4C03B8.cm
|
| 8 |
|
8 |
|
| 9 |
//## begin module%4209BA4C03B8.cp preserve=no
|
9 |
//## begin module%4209BA4C03B8.cp preserve=no
|
| 10 |
// C O P Y R I G H T N O T I C E
|
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
|
11 |
// This material is confidential to ERG and may not be
|
| - |
|
12 |
// disclosed in whole
|
| 12 |
// or in part to any third party nor used in any manner whatsoever other
|
13 |
// or in part to any third party nor used in any manner
|
| - |
|
14 |
// whatsoever other
|
| 13 |
// than for the purposes expressly consented to by ERG in writing.
|
15 |
// than for the purposes expressly consented to by ERG in
|
| - |
|
16 |
// writing.
|
| 14 |
//
|
17 |
//
|
| 15 |
// This material is also copyright and may not be reproduced, stored in a
|
18 |
// This material is also copyright and may not be
|
| - |
|
19 |
// reproduced, stored in a
|
| 16 |
// retrieval system or transmitted in any form or by any means in whole or
|
20 |
// retrieval system or transmitted in any form or by any
|
| - |
|
21 |
// means in whole or
|
| 17 |
// in part without the express written consent of ERG.
|
22 |
// in part without the express written consent of ERG.
|
| 18 |
//## end module%4209BA4C03B8.cp
|
23 |
//## end module%4209BA4C03B8.cp
|
| 19 |
|
24 |
|
| 20 |
//## Module: UdFileManifest%4209BA4C03B8; Pseudo Package specification
|
25 |
//## Module: UdFileManifest%4209BA4C03B8; Pseudo Package specification
|
| 21 |
//## Subsystem: MASS::Dev::Tools::TxnTestManager::src%41F5A79001E4
|
26 |
//## Subsystem: MASS::Dev::Tools::TxnTestManager::src%41F5A79001E4
|
| Line 57... |
Line 62... |
| 57 |
|
62 |
|
| 58 |
public:
|
63 |
public:
|
| 59 |
//## Constructors (specified)
|
64 |
//## Constructors (specified)
|
| 60 |
//## Operation: UdFileManifest%4209BAA8031C
|
65 |
//## Operation: UdFileManifest%4209BAA8031C
|
| 61 |
// The only constructor.
|
66 |
// The only constructor.
|
| 62 |
UdFileManifest (const std::string &folder, // The folder in the file-system into which to write the transaction stream.
|
67 |
UdFileManifest (const std::string &folder, // The folder in the file-system into which to write the
|
| - |
|
68 |
// transaction stream.
|
| 63 |
const std::string &prefix = "udMan", // The prefix given to manifest filenames opened by this instance.
|
69 |
const std::string &prefix = "udMan", // The prefix given to manifest filenames opened by this
|
| - |
|
70 |
// instance.
|
| 64 |
const std::string &suffix = ".txt" // The suffix given to manifest filenames opened by this instance.
|
71 |
const std::string &suffix = ".txt", // The suffix given to manifest filenames opened by this
|
| - |
|
72 |
// instance.
|
| - |
|
73 |
const std::string &pathmapTarget = "" // The folder in the file-system that shall contain the
|
| - |
|
74 |
// drain file.
|
| 65 |
);
|
75 |
);
|
| 66 |
|
76 |
|
| 67 |
//## Destructor (generated)
|
77 |
//## Destructor (generated)
|
| 68 |
virtual ~UdFileManifest();
|
78 |
virtual ~UdFileManifest();
|
| 69 |
|
79 |
|
| Line 100... |
Line 110... |
| 100 |
|
110 |
|
| 101 |
//## Operation: open%4209BAC10399
|
111 |
//## Operation: open%4209BAC10399
|
| 102 |
// Open the transaction stream.
|
112 |
// Open the transaction stream.
|
| 103 |
const bool open ();
|
113 |
const bool open ();
|
| 104 |
|
114 |
|
| 105 |
// Data Members for Class Attributes
|
115 |
//## Get and Set Operations for Class Attributes (generated)
|
| 106 |
|
116 |
|
| 107 |
//## Attribute: count%4209BCEE02B0
|
117 |
//## Attribute: count%4209BCEE02B0
|
| 108 |
// The number of files contained in this manifest.
|
118 |
// The number of files contained in this manifest.
|
| 109 |
//## begin UdFileManifest::count%4209BCEE02B0.attr preserve=no private: unsigned {VA} 0
|
- |
|
| 110 |
unsigned m_count;
|
119 |
const unsigned getCount () const;
|
| 111 |
//## end UdFileManifest::count%4209BCEE02B0.attr
|
120 |
void setCount (unsigned value);
|
| 112 |
|
121 |
|
| 113 |
//## Attribute: folder%4209BB3403E7
|
122 |
//## Attribute: folder%4209BB3403E7
|
| 114 |
// The folder in the file-system to which we write the transaction stream.
|
123 |
// The folder in the file-system to which we write the
|
| - |
|
124 |
// transaction stream.
|
| - |
|
125 |
const std::string getFolder () const;
|
| - |
|
126 |
void setFolder (std::string value);
|
| - |
|
127 |
|
| - |
|
128 |
//## Attribute: pathmapTarget%425F352E0302
|
| 115 |
//## begin UdFileManifest::folder%4209BB3403E7.attr preserve=no private: std::string {VA} folder
|
129 |
// The folder in the file-system that shall contain the
|
| 116 |
std::string m_folder;
|
130 |
// drain file.
|
| - |
|
131 |
const std::string getPathmapTarget () const;
|
| 117 |
//## end UdFileManifest::folder%4209BB3403E7.attr
|
132 |
void setPathmapTarget (std::string value);
|
| 118 |
|
133 |
|
| 119 |
//## Attribute: prefix%4209BB35000E
|
134 |
//## Attribute: prefix%4209BB35000E
|
| 120 |
// The prefix given to manifest filenames opened by this instance.
|
135 |
// The prefix given to manifest filenames opened by this
|
| 121 |
//## begin UdFileManifest::prefix%4209BB35000E.attr preserve=no private: std::string {VA} prefix
|
136 |
// instance.
|
| 122 |
std::string m_prefix;
|
137 |
const std::string getPrefix () const;
|
| 123 |
//## end UdFileManifest::prefix%4209BB35000E.attr
|
138 |
void setPrefix (std::string value);
|
| 124 |
|
139 |
|
| 125 |
//## Attribute: stream%4209BB35002E
|
140 |
//## Attribute: stream%4209BB35002E
|
| 126 |
// The underlying stream currently open for writing.
|
141 |
// The underlying stream currently open for writing.
|
| 127 |
//## begin UdFileManifest::stream%4209BB35002E.attr preserve=no private: std::ofstream {RA} 0
|
- |
|
| 128 |
std::ofstream *m_stream;
|
142 |
const std::ofstream getStream () const;
|
| 129 |
//## end UdFileManifest::stream%4209BB35002E.attr
|
143 |
void setStream (std::ofstream value);
|
| 130 |
|
144 |
|
| 131 |
//## Attribute: suffix%4209BB35001E
|
145 |
//## Attribute: suffix%4209BB35001E
|
| 132 |
// The suffix given to manifest filenames opened by this instance.
|
146 |
// The suffix given to manifest filenames opened by this
|
| 133 |
//## begin UdFileManifest::suffix%4209BB35001E.attr preserve=no private: std::string {VA} suffix
|
147 |
// instance.
|
| 134 |
std::string m_suffix;
|
148 |
const std::string getSuffix () const;
|
| 135 |
//## end UdFileManifest::suffix%4209BB35001E.attr
|
149 |
void setSuffix (std::string value);
|
| 136 |
|
150 |
|
| 137 |
// Additional Private Declarations
|
151 |
// Additional Private Declarations
|
| 138 |
//## begin UdFileManifest%4209BA4C03B8.private preserve=yes
|
152 |
//## begin UdFileManifest%4209BA4C03B8.private preserve=yes
|
| 139 |
//## end UdFileManifest%4209BA4C03B8.private
|
153 |
//## end UdFileManifest%4209BA4C03B8.private
|
| 140 |
|
154 |
|
| 141 |
private: //## implementation
|
155 |
private: //## implementation
|
| - |
|
156 |
// Data Members for Class Attributes
|
| - |
|
157 |
|
| - |
|
158 |
//## begin UdFileManifest::count%4209BCEE02B0.attr preserve=no private: unsigned {V} 0
|
| - |
|
159 |
unsigned m_count;
|
| - |
|
160 |
//## end UdFileManifest::count%4209BCEE02B0.attr
|
| - |
|
161 |
|
| - |
|
162 |
//## begin UdFileManifest::folder%4209BB3403E7.attr preserve=no private: std::string {V} folder
|
| - |
|
163 |
std::string m_folder;
|
| - |
|
164 |
//## end UdFileManifest::folder%4209BB3403E7.attr
|
| - |
|
165 |
|
| - |
|
166 |
//## begin UdFileManifest::pathmapTarget%425F352E0302.attr preserve=no private: std::string {V} pathmapTarget
|
| - |
|
167 |
std::string m_pathmapTarget;
|
| - |
|
168 |
//## end UdFileManifest::pathmapTarget%425F352E0302.attr
|
| - |
|
169 |
|
| - |
|
170 |
//## begin UdFileManifest::prefix%4209BB35000E.attr preserve=no private: std::string {V} prefix
|
| - |
|
171 |
std::string m_prefix;
|
| - |
|
172 |
//## end UdFileManifest::prefix%4209BB35000E.attr
|
| - |
|
173 |
|
| - |
|
174 |
//## begin UdFileManifest::stream%4209BB35002E.attr preserve=no private: std::ofstream {R} 0
|
| - |
|
175 |
std::ofstream *m_stream;
|
| - |
|
176 |
//## end UdFileManifest::stream%4209BB35002E.attr
|
| - |
|
177 |
|
| - |
|
178 |
//## begin UdFileManifest::suffix%4209BB35001E.attr preserve=no private: std::string {V} suffix
|
| - |
|
179 |
std::string m_suffix;
|
| - |
|
180 |
//## end UdFileManifest::suffix%4209BB35001E.attr
|
| - |
|
181 |
|
| 142 |
// Additional Implementation Declarations
|
182 |
// Additional Implementation Declarations
|
| 143 |
//## begin UdFileManifest%4209BA4C03B8.implementation preserve=yes
|
183 |
//## begin UdFileManifest%4209BA4C03B8.implementation preserve=yes
|
| 144 |
//## end UdFileManifest%4209BA4C03B8.implementation
|
184 |
//## end UdFileManifest%4209BA4C03B8.implementation
|
| 145 |
|
185 |
|
| 146 |
};
|
186 |
};
|
| Line 148... |
Line 188... |
| 148 |
//## begin UdFileManifest%4209BA4C03B8.postscript preserve=yes
|
188 |
//## begin UdFileManifest%4209BA4C03B8.postscript preserve=yes
|
| 149 |
//## end UdFileManifest%4209BA4C03B8.postscript
|
189 |
//## end UdFileManifest%4209BA4C03B8.postscript
|
| 150 |
|
190 |
|
| 151 |
// Class UdFileManifest
|
191 |
// Class UdFileManifest
|
| 152 |
|
192 |
|
| - |
|
193 |
//## Get and Set Operations for Class Attributes (inline)
|
| - |
|
194 |
|
| - |
|
195 |
inline const unsigned UdFileManifest::getCount () const
|
| - |
|
196 |
{
|
| - |
|
197 |
//## begin UdFileManifest::getCount%4209BCEE02B0.get preserve=no
|
| - |
|
198 |
return m_count;
|
| - |
|
199 |
//## end UdFileManifest::getCount%4209BCEE02B0.get
|
| - |
|
200 |
}
|
| - |
|
201 |
|
| - |
|
202 |
inline void UdFileManifest::setCount (unsigned value)
|
| - |
|
203 |
{
|
| - |
|
204 |
//## begin UdFileManifest::setCount%4209BCEE02B0.set preserve=no
|
| - |
|
205 |
m_count = value;
|
| - |
|
206 |
//## end UdFileManifest::setCount%4209BCEE02B0.set
|
| - |
|
207 |
}
|
| - |
|
208 |
|
| - |
|
209 |
inline const std::string UdFileManifest::getFolder () const
|
| - |
|
210 |
{
|
| - |
|
211 |
//## begin UdFileManifest::getFolder%4209BB3403E7.get preserve=no
|
| - |
|
212 |
return m_folder;
|
| - |
|
213 |
//## end UdFileManifest::getFolder%4209BB3403E7.get
|
| - |
|
214 |
}
|
| - |
|
215 |
|
| - |
|
216 |
inline void UdFileManifest::setFolder (std::string value)
|
| - |
|
217 |
{
|
| - |
|
218 |
//## begin UdFileManifest::setFolder%4209BB3403E7.set preserve=no
|
| - |
|
219 |
m_folder = value;
|
| - |
|
220 |
//## end UdFileManifest::setFolder%4209BB3403E7.set
|
| - |
|
221 |
}
|
| - |
|
222 |
|
| - |
|
223 |
inline const std::string UdFileManifest::getPathmapTarget () const
|
| - |
|
224 |
{
|
| - |
|
225 |
//## begin UdFileManifest::getPathmapTarget%425F352E0302.get preserve=no
|
| - |
|
226 |
return m_pathmapTarget;
|
| - |
|
227 |
//## end UdFileManifest::getPathmapTarget%425F352E0302.get
|
| - |
|
228 |
}
|
| - |
|
229 |
|
| - |
|
230 |
inline void UdFileManifest::setPathmapTarget (std::string value)
|
| - |
|
231 |
{
|
| - |
|
232 |
//## begin UdFileManifest::setPathmapTarget%425F352E0302.set preserve=no
|
| - |
|
233 |
m_pathmapTarget = value;
|
| - |
|
234 |
//## end UdFileManifest::setPathmapTarget%425F352E0302.set
|
| - |
|
235 |
}
|
| - |
|
236 |
|
| - |
|
237 |
inline const std::string UdFileManifest::getPrefix () const
|
| - |
|
238 |
{
|
| - |
|
239 |
//## begin UdFileManifest::getPrefix%4209BB35000E.get preserve=no
|
| - |
|
240 |
return m_prefix;
|
| - |
|
241 |
//## end UdFileManifest::getPrefix%4209BB35000E.get
|
| - |
|
242 |
}
|
| - |
|
243 |
|
| - |
|
244 |
inline void UdFileManifest::setPrefix (std::string value)
|
| - |
|
245 |
{
|
| - |
|
246 |
//## begin UdFileManifest::setPrefix%4209BB35000E.set preserve=no
|
| - |
|
247 |
m_prefix = value;
|
| - |
|
248 |
//## end UdFileManifest::setPrefix%4209BB35000E.set
|
| - |
|
249 |
}
|
| - |
|
250 |
|
| - |
|
251 |
inline const std::ofstream UdFileManifest::getStream () const
|
| - |
|
252 |
{
|
| - |
|
253 |
//## begin UdFileManifest::getStream%4209BB35002E.get preserve=no
|
| - |
|
254 |
return *m_stream;
|
| - |
|
255 |
//## end UdFileManifest::getStream%4209BB35002E.get
|
| - |
|
256 |
}
|
| - |
|
257 |
|
| - |
|
258 |
inline void UdFileManifest::setStream (std::ofstream value)
|
| - |
|
259 |
{
|
| - |
|
260 |
//## begin UdFileManifest::setStream%4209BB35002E.set preserve=no
|
| - |
|
261 |
*m_stream = value;
|
| - |
|
262 |
//## end UdFileManifest::setStream%4209BB35002E.set
|
| - |
|
263 |
}
|
| - |
|
264 |
|
| - |
|
265 |
inline const std::string UdFileManifest::getSuffix () const
|
| - |
|
266 |
{
|
| - |
|
267 |
//## begin UdFileManifest::getSuffix%4209BB35001E.get preserve=no
|
| - |
|
268 |
return m_suffix;
|
| - |
|
269 |
//## end UdFileManifest::getSuffix%4209BB35001E.get
|
| - |
|
270 |
}
|
| - |
|
271 |
|
| - |
|
272 |
inline void UdFileManifest::setSuffix (std::string value)
|
| - |
|
273 |
{
|
| - |
|
274 |
//## begin UdFileManifest::setSuffix%4209BB35001E.set preserve=no
|
| - |
|
275 |
m_suffix = value;
|
| - |
|
276 |
//## end UdFileManifest::setSuffix%4209BB35001E.set
|
| - |
|
277 |
}
|
| - |
|
278 |
|
| 153 |
//## begin module%4209BA4C03B8.epilog preserve=yes
|
279 |
//## begin module%4209BA4C03B8.epilog preserve=yes
|
| 154 |
//## end module%4209BA4C03B8.epilog
|
280 |
//## end module%4209BA4C03B8.epilog
|
| 155 |
|
281 |
|
| 156 |
|
282 |
|
| 157 |
#endif
|
283 |
#endif
|