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 2228
Line 28... Line 28...
28
#pragma warn -com
28
#pragma warn -com
29
#include <LoggingMacros.h>
29
#include <LoggingMacros.h>
30
#pragma warn +com
30
#pragma warn +com
31
//## end module%420310A60071.includes
31
//## end module%420310A60071.includes
32
 
32
 
33
// IXmlSchemaWrapperFactory
-
 
34
#include "IXmlSchemaWrapperFactory.h"
-
 
35
// IXmlSchemaWrapperSchema
-
 
36
#include "IXmlSchemaWrapperSchema.h"
-
 
37
// IXmlSchemaWrapperString
-
 
38
#include "IXmlSchemaWrapperString.h"
-
 
39
// EvaluationContext
33
// EvaluationContext
40
#include "EvaluationContext.h"
34
#include "EvaluationContext.h"
41
// TransactionStream
35
// TransactionStream
42
#include "TransactionStream.h"
36
#include "TransactionStream.h"
43
// Iteration
37
// Iteration
44
#include "Iteration.h"
38
#include "Iteration.h"
45
// TestScenario
39
// TestScenario
46
#include "TestScenario.h"
40
#include "TestScenario.h"
-
 
41
// IXmlSchemaWrapperSchema
-
 
42
#include "IXmlSchemaWrapperSchema.h"
-
 
43
// IXmlSchemaWrapperString
-
 
44
#include "IXmlSchemaWrapperString.h"
-
 
45
// IXmlSchemaWrapperFactory
-
 
46
#include "IXmlSchemaWrapperFactory.h"
47
//## begin module%420310A60071.additionalDeclarations preserve=yes
47
//## begin module%420310A60071.additionalDeclarations preserve=yes
48
//## end module%420310A60071.additionalDeclarations
48
//## end module%420310A60071.additionalDeclarations
49
 
49
 
50
 
50
 
51
// Class Iteration 
51
// Class Iteration
52
 
52
 
53
//## Operation: Iteration%420311980081
53
//## Operation: Iteration%420311980081
54
Iteration::Iteration (const std::string &projectCode, const int &iteration, XMLSchema::IXmlSchemaWrapperFactory &factory, XMLSchema::IXmlSchemaWrapperSchema &schema, const std::string &schemaHandle)
54
Iteration::Iteration (const std::string &projectCode, const int &iteration, XMLSchema::IXmlSchemaWrapperFactory &factory, XMLSchema::IXmlSchemaWrapperSchema &schema, const std::string &schemaHandle)
55
  //## begin Iteration::Iteration%420311980081.hasinit preserve=no
55
  //## begin Iteration::Iteration%420311980081.hasinit preserve=no
56
      : m_schemaHandle(schemaHandle),
56
      : m_schemaHandle(schemaHandle),
Line 93... Line 93...
93
}
93
}
94
 
94
 
95
 
95
 
96
 
96
 
97
//## Other Operations (implementation)
97
//## Other Operations (implementation)
-
 
98
//## Operation: findTestScenario%428D756A034D
-
 
99
TestScenario& Iteration::findTestScenario (const int &scenario)
-
 
100
{
-
 
101
  //## begin Iteration::findTestScenario%428D756A034D.body preserve=yes
-
 
102
 
-
 
103
	std::map< int, TestScenario * >::const_iterator
-
 
104
		instance = m_scenario.find( scenario );
-
 
105
 
-
 
106
	if ( instance != m_scenario.end() )
-
 
107
	{
-
 
108
		return ( *instance->second );
-
 
109
	}
-
 
110
 
-
 
111
	MTHROW( std::runtime_error, \
-
 
112
		"Cannot find scenario " << scenario << '.' );
-
 
113
 
-
 
114
  //## end Iteration::findTestScenario%428D756A034D.body
-
 
115
}
-
 
116
 
98
//## Operation: generate%42045A4D0198
117
//## Operation: generate%42045A4D0198
99
const bool Iteration::generate (TransactionStream& stream, const bool &generateHeaders, EvaluationContext& evaluationContext)
118
const bool Iteration::generate (TransactionStream& stream, const bool &generateHeaders, EvaluationContext& evaluationContext)
100
{
119
{
101
  //## begin Iteration::generate%42045A4D0198.body preserve=yes
120
  //## begin Iteration::generate%42045A4D0198.body preserve=yes
102
 
121