Subversion Repositories DevTools

Rev

Rev 2222 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2222 Rev 2228
Line 35... Line 35...
35
#include "TimeEstimate.h"
35
#include "TimeEstimate.h"
36
// ProgressBar
36
// ProgressBar
37
#include "ProgressBar.h"
37
#include "ProgressBar.h"
38
// IXmlSchemaWrapperElement
38
// IXmlSchemaWrapperElement
39
#include "IXmlSchemaWrapperElement.h"
39
#include "IXmlSchemaWrapperElement.h"
40
// EvaluationContext
-
 
41
#include "EvaluationContext.h"
-
 
42
// TransactionSpecification
40
// TransactionSpecification
43
#include "TransactionSpecification.h"
41
#include "TransactionSpecification.h"
-
 
42
// EvaluationContext
-
 
43
#include "EvaluationContext.h"
-
 
44
// IHash
-
 
45
#include "IHash.h"
44
// ICryptographicServerProxy
46
// ICryptographicServerProxy
45
#include "ICryptographicServerProxy.h"
47
#include "ICryptographicServerProxy.h"
46
// IMessageDigest
48
// IMessageDigest
47
#include "IMessageDigest.h"
49
#include "IMessageDigest.h"
48
//## begin module%42116B3700AD.additionalDeclarations preserve=yes
50
//## begin module%42116B3700AD.additionalDeclarations preserve=yes
Line 50... Line 52...
50
 
52
 
51
 
53
 
52
// Class EvaluationContext 
54
// Class EvaluationContext 
53
 
55
 
54
//## Operation: EvaluationContext%42116FD901D9
56
//## Operation: EvaluationContext%42116FD901D9
55
EvaluationContext::EvaluationContext (DefinedVariableTable& symbolTable, SequenceCollection& sequences, ProgressBar& progressBar, IMessageDigest* messageDigest, ICryptographicServerProxy* cryptographicServer, TimeEstimate& timeEstimate)
57
EvaluationContext::EvaluationContext (DefinedVariableTable& symbolTable, SequenceCollection& sequences, ProgressBar& progressBar, IMessageDigest* messageDigest, IHash *hash, ICryptographicServerProxy* cryptographicServer, TimeEstimate& timeEstimate)
56
  //## begin EvaluationContext::EvaluationContext%42116FD901D9.hasinit preserve=no
58
  //## begin EvaluationContext::EvaluationContext%42116FD901D9.hasinit preserve=no
57
      : m_scenarioIndex(0),
59
	  : m_scenarioIndex(0),
58
        m_transaction(0),
60
		m_transaction(0),
59
        m_symbolTable(0),
61
		m_symbolTable(0),
60
        m_progressBar(0),
62
		m_progressBar(0),
61
        m_sequences(0),
63
		m_sequences(0),
62
        m_estimate(0),
64
		m_estimate(0),
63
        m_digest(0),
65
		m_digest(0),
64
        m_schemaElement(0),
66
		m_schemaElement(0),
65
        m_cryptographicServer(0)
67
		m_cryptographicServer(0),
-
 
68
		m_hash(0)
66
  //## end EvaluationContext::EvaluationContext%42116FD901D9.hasinit
69
  //## end EvaluationContext::EvaluationContext%42116FD901D9.hasinit
67
  //## begin EvaluationContext::EvaluationContext%42116FD901D9.initialization preserve=yes
70
  //## begin EvaluationContext::EvaluationContext%42116FD901D9.initialization preserve=yes
68
  //## end EvaluationContext::EvaluationContext%42116FD901D9.initialization
71
  //## end EvaluationContext::EvaluationContext%42116FD901D9.initialization
69
{
72
{
70
  //## begin EvaluationContext::EvaluationContext%42116FD901D9.body preserve=yes
73
  //## begin EvaluationContext::EvaluationContext%42116FD901D9.body preserve=yes
71
 
74
 
72
	m_cryptographicServer	= cryptographicServer;
75
	m_cryptographicServer	= cryptographicServer;
73
	m_digest				= messageDigest;
76
	m_digest				= messageDigest;
74
	m_estimate				= &timeEstimate;
77
	m_estimate				= &timeEstimate;
-
 
78
	m_hash					= hash;
75
	m_symbolTable			= &symbolTable;
79
	m_symbolTable			= &symbolTable;
76
	m_progressBar			= &progressBar;
80
	m_progressBar			= &progressBar;
77
	m_sequences				= &sequences;
81
	m_sequences				= &sequences;
78
 
82
 
79
  //## end EvaluationContext::EvaluationContext%42116FD901D9.body
83
  //## end EvaluationContext::EvaluationContext%42116FD901D9.body
Line 86... Line 90...
86
 
90
 
87
	m_transaction			= 0;	// We don't own this.
91
	m_transaction			= 0;	// We don't own this.
88
	m_symbolTable			= 0;	// We don't own this.
92
	m_symbolTable			= 0;	// We don't own this.
89
	m_schemaElement			= 0;	// We don't own this.
93
	m_schemaElement			= 0;	// We don't own this.
90
	m_progressBar			= 0;	// We don't own this.
94
	m_progressBar			= 0;	// We don't own this.
-
 
95
	m_hash					= 0;	// We don't own this.
91
	m_estimate				= 0;    // We don't own this.
96
	m_estimate				= 0;    // We don't own this.
92
	m_digest				= 0;	// We don't own this.
97
	m_digest				= 0;	// We don't own this.
93
	m_cryptographicServer	= 0;	// We don't own this.
98
	m_cryptographicServer	= 0;	// We don't own this.
94
 
99
 
95
  //## end EvaluationContext::~EvaluationContext%42116B3700AD_dest.body
100
  //## end EvaluationContext::~EvaluationContext%42116B3700AD_dest.body
Line 106... Line 111...
106
	return ( *m_cryptographicServer );
111
	return ( *m_cryptographicServer );
107
 
112
 
108
  //## end EvaluationContext::getCryptographicServer%422EAADF0074.body
113
  //## end EvaluationContext::getCryptographicServer%422EAADF0074.body
109
}
114
}
110
 
115
 
-
 
116
//## Operation: getHash%4288378902B6
-
 
117
IHash & EvaluationContext::getHash ()
-
 
118
{
-
 
119
  //## begin EvaluationContext::getHash%4288378902B6.body preserve=yes
-
 
120
 
-
 
121
	return ( *m_hash );
-
 
122
 
-
 
123
  //## end EvaluationContext::getHash%4288378902B6.body
-
 
124
}
-
 
125
 
111
//## Operation: getMessageDigest%4211C6C901B5
126
//## Operation: getMessageDigest%4211C6C901B5
112
IMessageDigest& EvaluationContext::getMessageDigest ()
127
IMessageDigest& EvaluationContext::getMessageDigest ()
113
{
128
{
114
  //## begin EvaluationContext::getMessageDigest%4211C6C901B5.body preserve=yes
129
  //## begin EvaluationContext::getMessageDigest%4211C6C901B5.body preserve=yes
115
 
130
 
Line 196... Line 211...
196
	return ( m_cryptographicServer != 0 );
211
	return ( m_cryptographicServer != 0 );
197
 
212
 
198
  //## end EvaluationContext::haveCryptographicServer%422EAADF00B2.body
213
  //## end EvaluationContext::haveCryptographicServer%422EAADF00B2.body
199
}
214
}
200
 
215
 
-
 
216
//## Operation: haveHash%4288378902F4
-
 
217
const bool EvaluationContext::haveHash () const
-
 
218
{
-
 
219
  //## begin EvaluationContext::haveHash%4288378902F4.body preserve=yes
-
 
220
 
-
 
221
	return ( m_hash != 0 );
-
 
222
 
-
 
223
  //## end EvaluationContext::haveHash%4288378902F4.body
-
 
224
}
-
 
225
 
201
//## Operation: haveMessageDigest%4211C6ED01C4
226
//## Operation: haveMessageDigest%4211C6ED01C4
202
const bool EvaluationContext::haveMessageDigest () const
227
const bool EvaluationContext::haveMessageDigest () const
203
{
228
{
204
  //## begin EvaluationContext::haveMessageDigest%4211C6ED01C4.body preserve=yes
229
  //## begin EvaluationContext::haveMessageDigest%4211C6ED01C4.body preserve=yes
205
 
230