| 2222 |
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%4212D05100DB.cm preserve=no
|
|
|
7 |
//## end module%4212D05100DB.cm
|
|
|
8 |
|
|
|
9 |
//## begin module%4212D05100DB.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%4212D05100DB.cp
|
|
|
19 |
|
|
|
20 |
//## Module: MacQualification%4212D05100DB; Pseudo Package specification
|
|
|
21 |
//## Subsystem: MASS::Dev::Tools::TxnTestManager::src%41F5A79001E4
|
|
|
22 |
//## Source file: Z:\MASS_Dev\Tools\TxnTestManager\src\MacQualification.h
|
|
|
23 |
|
|
|
24 |
#ifndef MacQualification_h
|
|
|
25 |
#define MacQualification_h 1
|
|
|
26 |
|
|
|
27 |
//## begin module%4212D05100DB.additionalIncludes preserve=no
|
|
|
28 |
//## end module%4212D05100DB.additionalIncludes
|
|
|
29 |
|
|
|
30 |
//## begin module%4212D05100DB.includes preserve=yes
|
|
|
31 |
#include <vcl.h>
|
|
|
32 |
#pragma hdrstop
|
|
|
33 |
//## end module%4212D05100DB.includes
|
|
|
34 |
|
|
|
35 |
// IXmlSchemaWrapperQualification
|
|
|
36 |
#include "IXmlSchemaWrapperQualification.h"
|
|
|
37 |
|
|
|
38 |
namespace XMLSchema {
|
|
|
39 |
class IXmlSchemaWrapperString;
|
|
|
40 |
} // namespace XMLSchema
|
|
|
41 |
|
|
|
42 |
class EvaluationContext;
|
|
|
43 |
|
|
|
44 |
//## begin module%4212D05100DB.additionalDeclarations preserve=yes
|
|
|
45 |
//## end module%4212D05100DB.additionalDeclarations
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
//## begin MacQualification%4212D05100DB.preface preserve=yes
|
|
|
49 |
//## end MacQualification%4212D05100DB.preface
|
|
|
50 |
|
|
|
51 |
//## Class: MacQualification%4212D05100DB; private
|
|
|
52 |
// Instances of this class qualify serialisation to elements to be included in
|
|
|
53 |
// MAC computation.
|
|
|
54 |
//## Category: TransactionTestManager::Transaction Generation%4202F8EE0128
|
|
|
55 |
//## Subsystem: MASS::Dev::Tools::TxnTestManager::src%41F5A79001E4
|
|
|
56 |
//## Persistence: Transient
|
|
|
57 |
//## Cardinality/Multiplicity: n
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
//## Uses: <unnamed>%4212EFBE011E;XMLSchema::IXmlSchemaWrapperElement { -> }
|
|
|
62 |
//## Uses: <unnamed>%4212F5170132;TransactionSpecification { -> }
|
|
|
63 |
//## Uses: <unnamed>%4212F51D03A3;TestScenario { -> }
|
|
|
64 |
//## Uses: <unnamed>%4212F5240077;Iteration { -> }
|
|
|
65 |
//## Uses: <unnamed>%4212F550013F;XMLSchema::IXmlSchemaWrapperFactory { -> }
|
|
|
66 |
//## Uses: <unnamed>%4213194E027E;TransactionStructure { -> }
|
|
|
67 |
|
|
|
68 |
class MacQualification : virtual public XMLSchema::IXmlSchemaWrapperQualification //## Inherits: <unnamed>%4236892F0026
|
|
|
69 |
{
|
|
|
70 |
//## begin MacQualification%4212D05100DB.initialDeclarations preserve=yes
|
|
|
71 |
//## end MacQualification%4212D05100DB.initialDeclarations
|
|
|
72 |
|
|
|
73 |
public:
|
|
|
74 |
//## Constructors (specified)
|
|
|
75 |
//## Operation: MacQualification%4212D08F0291
|
|
|
76 |
// The only constructor.
|
|
|
77 |
MacQualification (EvaluationContext& evaluationContext // The context of this evaluation.
|
|
|
78 |
);
|
|
|
79 |
|
|
|
80 |
//## Destructor (generated)
|
|
|
81 |
virtual ~MacQualification();
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
//## Other Operations (specified)
|
|
|
85 |
//## Operation: qualifySerialisation%423688600282
|
|
|
86 |
// Evaluate to true when the given schema element is to be serialised, and to
|
|
|
87 |
// false when it is not.
|
|
|
88 |
virtual const bool XSW_STDCALL qualifySerialisation (XMLSchema::IXmlSchemaWrapperElement& element // The schema element.
|
|
|
89 |
);
|
|
|
90 |
|
|
|
91 |
// Additional Public Declarations
|
|
|
92 |
//## begin MacQualification%4212D05100DB.public preserve=yes
|
|
|
93 |
//## end MacQualification%4212D05100DB.public
|
|
|
94 |
|
|
|
95 |
protected:
|
|
|
96 |
// Additional Protected Declarations
|
|
|
97 |
//## begin MacQualification%4212D05100DB.protected preserve=yes
|
|
|
98 |
//## end MacQualification%4212D05100DB.protected
|
|
|
99 |
|
|
|
100 |
private:
|
|
|
101 |
//## Constructors (generated)
|
|
|
102 |
MacQualification();
|
|
|
103 |
|
|
|
104 |
MacQualification(const MacQualification &right);
|
|
|
105 |
|
|
|
106 |
//## Assignment Operation (generated)
|
|
|
107 |
MacQualification & operator=(const MacQualification &right);
|
|
|
108 |
|
|
|
109 |
// Data Members for Class Attributes
|
|
|
110 |
|
|
|
111 |
//## Attribute: datatype%4236A1AE03DB
|
|
|
112 |
// The value that datatype must have for the field to be a structure.
|
|
|
113 |
//## begin MacQualification::datatype%4236A1AE03DB.attr preserve=no private: static AnsiString {VAC} "Struct"
|
|
|
114 |
static const AnsiString g_datatype;
|
|
|
115 |
//## end MacQualification::datatype%4236A1AE03DB.attr
|
|
|
116 |
|
|
|
117 |
//## Attribute: isInMac%4212F476023C
|
|
|
118 |
// The value that inMac must have for the field to be included in the MAC.
|
|
|
119 |
//## begin MacQualification::isInMac%4212F476023C.attr preserve=no private: static AnsiString {VAC} "true"
|
|
|
120 |
static const AnsiString g_isInMac;
|
|
|
121 |
//## end MacQualification::isInMac%4212F476023C.attr
|
|
|
122 |
|
|
|
123 |
// Data Members for Associations
|
|
|
124 |
|
|
|
125 |
//## Association: TransactionTestManager::Transaction Generation::<unnamed>%4212F20600EB
|
|
|
126 |
//## Role: MacQualification::inMac%4212F206031D
|
|
|
127 |
// The string that we use to read the value of the inMac property.
|
|
|
128 |
//## begin MacQualification::inMac%4212F206031D.role preserve=no private: XMLSchema::IXmlSchemaWrapperString {1 -> 1RFHgAN}
|
|
|
129 |
XMLSchema::IXmlSchemaWrapperString *m_inMac;
|
|
|
130 |
//## end MacQualification::inMac%4212F206031D.role
|
|
|
131 |
|
|
|
132 |
//## Association: TransactionTestManager::Transaction Generation::<unnamed>%4212F38B0038
|
|
|
133 |
//## Role: MacQualification::evaluationContext%4212F38B01CE
|
|
|
134 |
// The context.
|
|
|
135 |
//## begin MacQualification::evaluationContext%4212F38B01CE.role preserve=no private: EvaluationContext {1 -> 1RFHAN}
|
|
|
136 |
EvaluationContext *m_evaluationContext;
|
|
|
137 |
//## end MacQualification::evaluationContext%4212F38B01CE.role
|
|
|
138 |
|
|
|
139 |
//## Association: TransactionTestManager::Transaction Generation::<unnamed>%4236A0E302FC
|
|
|
140 |
//## Role: MacQualification::datatype%4236A0E40221
|
|
|
141 |
// The string that we use to read the value of the datatype property.
|
|
|
142 |
//## begin MacQualification::datatype%4236A0E40221.role preserve=no private: XMLSchema::IXmlSchemaWrapperString {1 -> 1RFHgAN}
|
|
|
143 |
XMLSchema::IXmlSchemaWrapperString *m_datatype;
|
|
|
144 |
//## end MacQualification::datatype%4236A0E40221.role
|
|
|
145 |
|
|
|
146 |
// Additional Private Declarations
|
|
|
147 |
//## begin MacQualification%4212D05100DB.private preserve=yes
|
|
|
148 |
//## end MacQualification%4212D05100DB.private
|
|
|
149 |
|
|
|
150 |
private: //## implementation
|
|
|
151 |
// Additional Implementation Declarations
|
|
|
152 |
//## begin MacQualification%4212D05100DB.implementation preserve=yes
|
|
|
153 |
//## end MacQualification%4212D05100DB.implementation
|
|
|
154 |
|
|
|
155 |
};
|
|
|
156 |
|
|
|
157 |
//## begin MacQualification%4212D05100DB.postscript preserve=yes
|
|
|
158 |
//## end MacQualification%4212D05100DB.postscript
|
|
|
159 |
|
|
|
160 |
// Class MacQualification
|
|
|
161 |
|
|
|
162 |
//## begin module%4212D05100DB.epilog preserve=yes
|
|
|
163 |
//## end module%4212D05100DB.epilog
|
|
|
164 |
|
|
|
165 |
|
|
|
166 |
#endif
|