Subversion Repositories DevTools

Rev

Rev 2218 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2218 Rev 2222
Line 29... Line 29...
29
 
29
 
30
//## begin module%42116B3700AD.includes preserve=yes
30
//## begin module%42116B3700AD.includes preserve=yes
31
//## end module%42116B3700AD.includes
31
//## end module%42116B3700AD.includes
32
 
32
 
33
 
33
 
-
 
34
class DefinedVariableTable;
-
 
35
class SequenceCollection;
34
class IMessageDigest;
36
class TimeEstimate;
-
 
37
class ProgressBar;
35
namespace XMLSchema {
38
namespace XMLSchema {
36
class IXmlSchemaWrapperElement;
39
class IXmlSchemaWrapperElement;
37
} // namespace XMLSchema
40
} // namespace XMLSchema
38
 
41
 
39
class TransactionSpecification;
42
class TransactionSpecification;
40
class SequenceCollection;
-
 
41
class DefinedVariableTable;
43
class ICryptographicServerProxy;
42
class TimeEstimate;
44
class IMessageDigest;
43
class ProgressBar;
-
 
44
 
45
 
45
//## begin module%42116B3700AD.additionalDeclarations preserve=yes
46
//## begin module%42116B3700AD.additionalDeclarations preserve=yes
46
//## end module%42116B3700AD.additionalDeclarations
47
//## end module%42116B3700AD.additionalDeclarations
47
 
48
 
48
 
49
 
Line 62... Line 63...
62
{
63
{
63
  //## begin EvaluationContext%42116B3700AD.initialDeclarations preserve=yes
64
  //## begin EvaluationContext%42116B3700AD.initialDeclarations preserve=yes
64
  //## end EvaluationContext%42116B3700AD.initialDeclarations
65
  //## end EvaluationContext%42116B3700AD.initialDeclarations
65
 
66
 
66
  public:
67
  public:
67
    //## Constructors (generated)
-
 
68
      EvaluationContext();
-
 
69
 
-
 
70
    //## Constructors (specified)
68
    //## Constructors (specified)
71
      //## Operation: EvaluationContext%42116FD901D9
69
      //## Operation: EvaluationContext%42116FD901D9
72
      //	This constructor accepts values for most context items.
70
      //	This constructor accepts values for most context items.
73
      EvaluationContext (DefinedVariableTable& symbolTable, 	// The symbol table with which the expression is to be evaluated.
71
      EvaluationContext (DefinedVariableTable& symbolTable, 	// The symbol table with which the expression is to be evaluated.
74
      SequenceCollection& sequences, 	// The sequence generators.
72
      SequenceCollection& sequences, 	// The sequence generators.
75
      ProgressBar& progressBar, 	// The progress bar that is to be notified of progress.
73
      ProgressBar& progressBar, 	// The progress bar that is to be notified of progress.
76
      IMessageDigest* messageDigest, 	// The message digest.
74
      IMessageDigest* messageDigest, 	// The message digest.
-
 
75
      ICryptographicServerProxy* cryptographicServer, 	// The cryptographic server.
77
      TimeEstimate& timeEstimate	// The time estimate.
76
      TimeEstimate& timeEstimate	// The time estimate.
78
      );
77
      );
79
 
78
 
80
    //## Destructor (generated)
79
    //## Destructor (generated)
81
      virtual ~EvaluationContext();
80
      virtual ~EvaluationContext();
82
 
81
 
83
 
82
 
84
    //## Other Operations (specified)
83
    //## Other Operations (specified)
-
 
84
      //## Operation: getCryptographicServer%422EAADF0074
-
 
85
      //	Evaluate to the cryptographic server.
-
 
86
      ICryptographicServerProxy& getCryptographicServer ();
-
 
87
 
85
      //## Operation: getMessageDigest%4211C6C901B5
88
      //## Operation: getMessageDigest%4211C6C901B5
86
      //	Evaluate to the message digest.
89
      //	Evaluate to the message digest.
87
      IMessageDigest& getMessageDigest ();
90
      IMessageDigest& getMessageDigest ();
88
 
91
 
89
      //## Operation: getProgressBar%42116CAA0204
92
      //## Operation: getProgressBar%42116CAA0204
90
      //	Evaluate to the progress bar that is to be notified of progress.
93
      //	Evaluate to the progress bar that is to be notified of progress.
91
      ProgressBar& getProgressBar ();
94
      ProgressBar& getProgressBar ();
92
 
95
 
-
 
96
      //## Operation: getScenarioIndex%4236AD17026A
-
 
97
      //	Evaluate to the number of times that the current scenario has been played
-
 
98
      //	into the transaction stream.
-
 
99
      const unsigned & getScenarioIndex () const;
-
 
100
 
93
      //## Operation: getSchemaElement%4212D7B702C1
101
      //## Operation: getSchemaElement%4212D7B702C1
94
      //	Evaluate to the schema element with which the expression is to be evaluated.
102
      //	Evaluate to the schema element with which the expression is to be evaluated.
95
      XMLSchema::IXmlSchemaWrapperElement & getSchemaElement ();
103
      XMLSchema::IXmlSchemaWrapperElement & getSchemaElement ();
96
 
104
 
97
      //## Operation: getSequenceCollection%421170BF0053
105
      //## Operation: getSequenceCollection%421170BF0053
Line 108... Line 116...
108
 
116
 
109
      //## Operation: getTransaction%42116C8703D9
117
      //## Operation: getTransaction%42116C8703D9
110
      //	Evaluate to the transaction within which the expression is to be evaluated.
118
      //	Evaluate to the transaction within which the expression is to be evaluated.
111
      TransactionSpecification& getTransaction ();
119
      TransactionSpecification& getTransaction ();
112
 
120
 
-
 
121
      //## Operation: haveCryptographicServer%422EAADF00B2
-
 
122
      //	Evaluate to true when there is a cryptographic server, and to false
-
 
123
      //	otherwise.
-
 
124
      const bool haveCryptographicServer () const;
-
 
125
 
113
      //## Operation: haveMessageDigest%4211C6ED01C4
126
      //## Operation: haveMessageDigest%4211C6ED01C4
114
      //	Evaluate to true when there is a message digest, and to false otherwise.
127
      //	Evaluate to true when there is a message digest, and to false otherwise.
115
      const bool haveMessageDigest () const;
128
      const bool haveMessageDigest () const;
116
 
129
 
117
      //## Operation: haveProgressBar%42116E850298
130
      //## Operation: haveProgressBar%42116E850298
Line 144... Line 157...
144
      void setProgressBar (ProgressBar& progressBar	// The progress bar that is to be notified of progress.  While we do not
157
      void setProgressBar (ProgressBar& progressBar	// The progress bar that is to be notified of progress.  While we do not
145
      	// accept ownership over this instance, we do assume its validity for the
158
      	// accept ownership over this instance, we do assume its validity for the
146
      	// remainder of our lifetime.
159
      	// remainder of our lifetime.
147
      );
160
      );
148
 
161
 
-
 
162
      //## Operation: setScenarioIndex%4236AD170299
-
 
163
      //	Set the number of times that the current scenario has been played into the
-
 
164
      //	transaction stream.
-
 
165
      void setScenarioIndex (const unsigned &value	// The new value.
-
 
166
      );
-
 
167
 
149
      //## Operation: setSchemaElement%4212D7B7031F
168
      //## Operation: setSchemaElement%4212D7B7031F
150
      //	Set the schema element.
169
      //	Set the schema element.
151
      void setSchemaElement (XMLSchema::IXmlSchemaWrapperElement &schemaElement	// The schema element which the expression is to be evaluated.  While we do
170
      void setSchemaElement (XMLSchema::IXmlSchemaWrapperElement &schemaElement	// The schema element which the expression is to be evaluated.  While we do
152
      	// not accept ownership over this instance, we do assume its validity for the
171
      	// not accept ownership over this instance, we do assume its validity for the
153
      	// remainder of our lifetime.
172
      	// remainder of our lifetime.
Line 183... Line 202...
183
      //## begin EvaluationContext%42116B3700AD.protected preserve=yes
202
      //## begin EvaluationContext%42116B3700AD.protected preserve=yes
184
      //## end EvaluationContext%42116B3700AD.protected
203
      //## end EvaluationContext%42116B3700AD.protected
185
 
204
 
186
  private:
205
  private:
187
    //## Constructors (generated)
206
    //## Constructors (generated)
-
 
207
      EvaluationContext();
-
 
208
 
188
      EvaluationContext(const EvaluationContext &right);
209
      EvaluationContext(const EvaluationContext &right);
189
 
210
 
190
    //## Assignment Operation (generated)
211
    //## Assignment Operation (generated)
191
      EvaluationContext & operator=(const EvaluationContext &right);
212
      EvaluationContext & operator=(const EvaluationContext &right);
192
 
213
 
-
 
214
    // Data Members for Class Attributes
-
 
215
 
-
 
216
      //## Attribute: scenarioIndex%4236AC61013A
-
 
217
      //	The number of times that the current scenario has been played into the
-
 
218
      //	transaction stream.
-
 
219
      //## begin EvaluationContext::scenarioIndex%4236AC61013A.attr preserve=no  private: unsigned {UA} 0
-
 
220
      unsigned m_scenarioIndex;
-
 
221
      //## end EvaluationContext::scenarioIndex%4236AC61013A.attr
-
 
222
 
193
    // Data Members for Associations
223
    // Data Members for Associations
194
 
224
 
195
      //## Association: TransactionTestManager::Transaction Generation::<unnamed>%42116B7F005F
225
      //## Association: TransactionTestManager::Transaction Generation::<unnamed>%42116B7F005F
196
      //## Role: EvaluationContext::transaction%42116B7F0224
226
      //## Role: EvaluationContext::transaction%42116B7F0224
197
      //	The transaction within which the expression is to be evaluated.  While we do
227
      //	The transaction within which the expression is to be evaluated.  While we do
Line 247... Line 277...
247
      //	The schema element.
277
      //	The schema element.
248
      //## begin EvaluationContext::schemaElement%4212D7810188.role preserve=no  private: XMLSchema::IXmlSchemaWrapperElement {1 -> 1RFHAN}
278
      //## begin EvaluationContext::schemaElement%4212D7810188.role preserve=no  private: XMLSchema::IXmlSchemaWrapperElement {1 -> 1RFHAN}
249
      XMLSchema::IXmlSchemaWrapperElement *m_schemaElement;
279
      XMLSchema::IXmlSchemaWrapperElement *m_schemaElement;
250
      //## end EvaluationContext::schemaElement%4212D7810188.role
280
      //## end EvaluationContext::schemaElement%4212D7810188.role
251
 
281
 
-
 
282
      //## Association: TransactionTestManager::Transaction Generation::<unnamed>%422EAA4D02AE
-
 
283
      //## Role: EvaluationContext::cryptographicServer%422EAA4E02BB
-
 
284
      //	The cryptographic server.
-
 
285
      //## begin EvaluationContext::cryptographicServer%422EAA4E02BB.role preserve=no  private: ICryptographicServerProxy {1 -> 1RFHAN}
-
 
286
      ICryptographicServerProxy *m_cryptographicServer;
-
 
287
      //## end EvaluationContext::cryptographicServer%422EAA4E02BB.role
-
 
288
 
252
    // Additional Private Declarations
289
    // Additional Private Declarations
253
      //## begin EvaluationContext%42116B3700AD.private preserve=yes
290
      //## begin EvaluationContext%42116B3700AD.private preserve=yes
254
      //## end EvaluationContext%42116B3700AD.private
291
      //## end EvaluationContext%42116B3700AD.private
255
 
292
 
256
  private: //## implementation
293
  private: //## implementation