Rev 2222 | Blame | Compare with Previous | Last modification | View Log | RSS feed
//## begin module%1.7%.codegen_version preserve=yes// Read the documentation to learn more about C++ code generator// versioning.//## end module%1.7%.codegen_version//## begin module%42116B3700AD.cm preserve=no//## end module%42116B3700AD.cm//## begin module%42116B3700AD.cp preserve=no// C O P Y R I G H T N O T I C E// This material is confidential to ERG and may not be disclosed in whole// or in part to any third party nor used in any manner whatsoever other// than for the purposes expressly consented to by ERG in writing.//// This material is also copyright and may not be reproduced, stored in a// retrieval system or transmitted in any form or by any means in whole or// in part without the express written consent of ERG.//## end module%42116B3700AD.cp//## Module: EvaluationContext%42116B3700AD; Pseudo Package body//## Subsystem: MASS::Dev::Tools::TxnTestManager::src%41F5A79001E4//## Source file: Z:\MASS_Dev\Tools\TxnTestManager\src\EvaluationContext.cpp//## begin module%42116B3700AD.additionalIncludes preserve=no//## end module%42116B3700AD.additionalIncludes//## begin module%42116B3700AD.includes preserve=yes//## end module%42116B3700AD.includes// DefinedVariableTable#include "DefinedVariableTable.h"// SequenceCollection#include "SequenceCollection.h"// TimeEstimate#include "TimeEstimate.h"// ProgressBar#include "ProgressBar.h"// IXmlSchemaWrapperElement#include "IXmlSchemaWrapperElement.h"// TransactionSpecification#include "TransactionSpecification.h"// EvaluationContext#include "EvaluationContext.h"// IHash#include "IHash.h"// ICryptographicServerProxy#include "ICryptographicServerProxy.h"// IMessageDigest#include "IMessageDigest.h"//## begin module%42116B3700AD.additionalDeclarations preserve=yes//## end module%42116B3700AD.additionalDeclarations// Class EvaluationContext//## Operation: EvaluationContext%42116FD901D9EvaluationContext::EvaluationContext (DefinedVariableTable& symbolTable, SequenceCollection& sequences, ProgressBar& progressBar, IMessageDigest* messageDigest, IHash *hash, ICryptographicServerProxy* cryptographicServer, TimeEstimate& timeEstimate)//## begin EvaluationContext::EvaluationContext%42116FD901D9.hasinit preserve=no: m_scenarioIndex(0),m_transaction(0),m_symbolTable(0),m_progressBar(0),m_sequences(0),m_estimate(0),m_digest(0),m_schemaElement(0),m_cryptographicServer(0),m_hash(0)//## end EvaluationContext::EvaluationContext%42116FD901D9.hasinit//## begin EvaluationContext::EvaluationContext%42116FD901D9.initialization preserve=yes//## end EvaluationContext::EvaluationContext%42116FD901D9.initialization{//## begin EvaluationContext::EvaluationContext%42116FD901D9.body preserve=yesm_cryptographicServer = cryptographicServer;m_digest = messageDigest;m_estimate = &timeEstimate;m_hash = hash;m_symbolTable = &symbolTable;m_progressBar = &progressBar;m_sequences = &sequences;//## end EvaluationContext::EvaluationContext%42116FD901D9.body}EvaluationContext::~EvaluationContext(){//## begin EvaluationContext::~EvaluationContext%42116B3700AD_dest.body preserve=yesm_transaction = 0; // We don't own this.m_symbolTable = 0; // We don't own this.m_schemaElement = 0; // We don't own this.m_progressBar = 0; // We don't own this.m_hash = 0; // We don't own this.m_estimate = 0; // We don't own this.m_digest = 0; // We don't own this.m_cryptographicServer = 0; // We don't own this.//## end EvaluationContext::~EvaluationContext%42116B3700AD_dest.body}//## Other Operations (implementation)//## Operation: getCryptographicServer%422EAADF0074ICryptographicServerProxy& EvaluationContext::getCryptographicServer (){//## begin EvaluationContext::getCryptographicServer%422EAADF0074.body preserve=yesreturn ( *m_cryptographicServer );//## end EvaluationContext::getCryptographicServer%422EAADF0074.body}//## Operation: getHash%4288378902B6IHash & EvaluationContext::getHash (){//## begin EvaluationContext::getHash%4288378902B6.body preserve=yesreturn ( *m_hash );//## end EvaluationContext::getHash%4288378902B6.body}//## Operation: getMessageDigest%4211C6C901B5IMessageDigest& EvaluationContext::getMessageDigest (){//## begin EvaluationContext::getMessageDigest%4211C6C901B5.body preserve=yesreturn ( *m_digest );//## end EvaluationContext::getMessageDigest%4211C6C901B5.body}//## Operation: getProgressBar%42116CAA0204ProgressBar& EvaluationContext::getProgressBar (){//## begin EvaluationContext::getProgressBar%42116CAA0204.body preserve=yesreturn ( *m_progressBar );//## end EvaluationContext::getProgressBar%42116CAA0204.body}//## Operation: getScenarioIndex%4236AD17026Aconst unsigned & EvaluationContext::getScenarioIndex () const{//## begin EvaluationContext::getScenarioIndex%4236AD17026A.body preserve=yesreturn ( m_scenarioIndex );//## end EvaluationContext::getScenarioIndex%4236AD17026A.body}//## Operation: getSchemaElement%4212D7B702C1XMLSchema::IXmlSchemaWrapperElement & EvaluationContext::getSchemaElement (){//## begin EvaluationContext::getSchemaElement%4212D7B702C1.body preserve=yesreturn ( *m_schemaElement );//## end EvaluationContext::getSchemaElement%4212D7B702C1.body}//## Operation: getSequenceCollection%421170BF0053SequenceCollection& EvaluationContext::getSequenceCollection (){//## begin EvaluationContext::getSequenceCollection%421170BF0053.body preserve=yesreturn ( *m_sequences );//## end EvaluationContext::getSequenceCollection%421170BF0053.body}//## Operation: getSymbolTable%42116CA901D6DefinedVariableTable& EvaluationContext::getSymbolTable (){//## begin EvaluationContext::getSymbolTable%42116CA901D6.body preserve=yesreturn ( *m_symbolTable );//## end EvaluationContext::getSymbolTable%42116CA901D6.body}//## Operation: getTimeEstimate%4211D01E02E6TimeEstimate& EvaluationContext::getTimeEstimate (){//## begin EvaluationContext::getTimeEstimate%4211D01E02E6.body preserve=yesreturn ( *m_estimate );//## end EvaluationContext::getTimeEstimate%4211D01E02E6.body}//## Operation: getTransaction%42116C8703D9TransactionSpecification& EvaluationContext::getTransaction (){//## begin EvaluationContext::getTransaction%42116C8703D9.body preserve=yesreturn ( *m_transaction );//## end EvaluationContext::getTransaction%42116C8703D9.body}//## Operation: haveCryptographicServer%422EAADF00B2const bool EvaluationContext::haveCryptographicServer () const{//## begin EvaluationContext::haveCryptographicServer%422EAADF00B2.body preserve=yesreturn ( m_cryptographicServer != 0 );//## end EvaluationContext::haveCryptographicServer%422EAADF00B2.body}//## Operation: haveHash%4288378902F4const bool EvaluationContext::haveHash () const{//## begin EvaluationContext::haveHash%4288378902F4.body preserve=yesreturn ( m_hash != 0 );//## end EvaluationContext::haveHash%4288378902F4.body}//## Operation: haveMessageDigest%4211C6ED01C4const bool EvaluationContext::haveMessageDigest () const{//## begin EvaluationContext::haveMessageDigest%4211C6ED01C4.body preserve=yesreturn ( m_digest != 0 );//## end EvaluationContext::haveMessageDigest%4211C6ED01C4.body}//## Operation: haveProgressBar%42116E850298const bool EvaluationContext::haveProgressBar () const{//## begin EvaluationContext::haveProgressBar%42116E850298.body preserve=yesreturn ( m_progressBar != 0 );//## end EvaluationContext::haveProgressBar%42116E850298.body}//## Operation: haveSchemaElement%4212D7B702FFconst bool EvaluationContext::haveSchemaElement () const{//## begin EvaluationContext::haveSchemaElement%4212D7B702FF.body preserve=yesreturn ( m_schemaElement != 0 );//## end EvaluationContext::haveSchemaElement%4212D7B702FF.body}//## Operation: haveSequenceCollection%421170BF0081const bool EvaluationContext::haveSequenceCollection () const{//## begin EvaluationContext::haveSequenceCollection%421170BF0081.body preserve=yesreturn ( m_sequences != 0 );//## end EvaluationContext::haveSequenceCollection%421170BF0081.body}//## Operation: haveSymbolTable%42116E8502B8const bool EvaluationContext::haveSymbolTable () const{//## begin EvaluationContext::haveSymbolTable%42116E8502B8.body preserve=yesreturn ( m_symbolTable != 0 );//## end EvaluationContext::haveSymbolTable%42116E8502B8.body}//## Operation: haveTransaction%42116E8502D7const bool EvaluationContext::haveTransaction (){//## begin EvaluationContext::haveTransaction%42116E8502D7.body preserve=yesreturn ( m_transaction != 0 );//## end EvaluationContext::haveTransaction%42116E8502D7.body}//## Operation: setProgressBar%42116CAA01E5void EvaluationContext::setProgressBar (ProgressBar& progressBar){//## begin EvaluationContext::setProgressBar%42116CAA01E5.body preserve=yesm_progressBar = &progressBar;//## end EvaluationContext::setProgressBar%42116CAA01E5.body}//## Operation: setScenarioIndex%4236AD170299void EvaluationContext::setScenarioIndex (const unsigned &value){//## begin EvaluationContext::setScenarioIndex%4236AD170299.body preserve=yesm_scenarioIndex = value;//## end EvaluationContext::setScenarioIndex%4236AD170299.body}//## Operation: setSchemaElement%4212D7B7031Fvoid EvaluationContext::setSchemaElement (XMLSchema::IXmlSchemaWrapperElement &schemaElement){//## begin EvaluationContext::setSchemaElement%4212D7B7031F.body preserve=yesm_schemaElement = &schemaElement;//## end EvaluationContext::setSchemaElement%4212D7B7031F.body}//## Operation: setSequenceCollection%421170BF0091void EvaluationContext::setSequenceCollection (SequenceCollection& sequenceCollection){//## begin EvaluationContext::setSequenceCollection%421170BF0091.body preserve=yesm_sequences = &sequenceCollection;//## end EvaluationContext::setSequenceCollection%421170BF0091.body}//## Operation: setSymbolTable%42116CA901B6void EvaluationContext::setSymbolTable (DefinedVariableTable& symbolTable){//## begin EvaluationContext::setSymbolTable%42116CA901B6.body preserve=yesm_symbolTable = &symbolTable;//## end EvaluationContext::setSymbolTable%42116CA901B6.body}//## Operation: setTransaction%42116C60036Cvoid EvaluationContext::setTransaction (TransactionSpecification& transaction){//## begin EvaluationContext::setTransaction%42116C60036C.body preserve=yesm_transaction = &transaction;//## end EvaluationContext::setTransaction%42116C60036C.body}// Additional Declarations//## begin EvaluationContext%42116B3700AD.declarations preserve=yes//## end EvaluationContext%42116B3700AD.declarations//## begin module%42116B3700AD.epilog preserve=yes//## end module%42116B3700AD.epilog