Blame | 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%4211B6910076.cm preserve=no//## end module%4211B6910076.cm//## begin module%4211B6910076.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%4211B6910076.cp//## Module: EvaluationCallback%4211B6910076; Pseudo Package body//## Subsystem: MASS::Dev::Tools::TxnTestManager::src%41F5A79001E4//## Source file: Z:\MASS_Dev\Tools\TxnTestManager\src\EvaluationCallback.cpp//## begin module%4211B6910076.additionalIncludes preserve=no//## end module%4211B6910076.additionalIncludes//## begin module%4211B6910076.includes preserve=yes//## end module%4211B6910076.includes// IXmlSchemaWrapperElement#include "IXmlSchemaWrapperElement.h"// TransactionSpecification#include "TransactionSpecification.h"// EvaluationCallback#include "EvaluationCallback.h"// EvaluationContext#include "EvaluationContext.h"//## begin module%4211B6910076.additionalDeclarations preserve=yes//## end module%4211B6910076.additionalDeclarations// Class EvaluationCallback//## Operation: EvaluationCallback%4211B76503A2EvaluationCallback::EvaluationCallback (TransactionSpecification& transaction, EvaluationContext& context)//## begin EvaluationCallback::EvaluationCallback%4211B76503A2.hasinit preserve=no: m_transaction(&transaction),m_context(&context)//## end EvaluationCallback::EvaluationCallback%4211B76503A2.hasinit//## begin EvaluationCallback::EvaluationCallback%4211B76503A2.initialization preserve=yes//## end EvaluationCallback::EvaluationCallback%4211B76503A2.initialization{//## begin EvaluationCallback::EvaluationCallback%4211B76503A2.body preserve=yes//## end EvaluationCallback::EvaluationCallback%4211B76503A2.body}EvaluationCallback::~EvaluationCallback(){//## begin EvaluationCallback::~EvaluationCallback%4211B6910076_dest.body preserve=yesm_transaction = 0; // We don't own this.m_context = 0; // We don't own this.//## end EvaluationCallback::~EvaluationCallback%4211B6910076_dest.body}//## Other Operations (implementation)//## Operation: traverseElement%4211B6B80131const bool XSW_STDCALL EvaluationCallback::traverseElement (XMLSchema::IXmlSchemaWrapperElement& element){//## begin EvaluationCallback::traverseElement%4211B6B80131.body preserve=yesm_context->setSchemaElement( element );return ( m_transaction->evaluate( element, *m_context ) );//## end EvaluationCallback::traverseElement%4211B6B80131.body}// Additional Declarations//## begin EvaluationCallback%4211B6910076.declarations preserve=yes//## end EvaluationCallback%4211B6910076.declarations//## begin module%4211B6910076.epilog preserve=yes//## end module%4211B6910076.epilog