//## 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 specification //## Subsystem: MASS::Dev::Tools::TxnTestManager::src%41F5A79001E4 //## Source file: Z:\MASS_Dev\Tools\TxnTestManager\src\EvaluationCallback.h #ifndef EvaluationCallback_h #define EvaluationCallback_h 1 //## begin module%4211B6910076.additionalIncludes preserve=no //## end module%4211B6910076.additionalIncludes //## begin module%4211B6910076.includes preserve=yes //## end module%4211B6910076.includes // IXmlSchemaWrapperTraversalCallback #include "IXmlSchemaWrapperTraversalCallback.h" namespace XMLSchema { class IXmlSchemaWrapperElement; } // namespace XMLSchema class TransactionSpecification; class EvaluationContext; //## begin module%4211B6910076.additionalDeclarations preserve=yes //## end module%4211B6910076.additionalDeclarations //## begin EvaluationCallback%4211B6910076.preface preserve=yes //## end EvaluationCallback%4211B6910076.preface //## Class: EvaluationCallback%4211B6910076; private // Instances of this class represent the callback context for traversals of the // schema that evaluate the fields of structures. //## Category: TransactionTestManager::Transaction Generation%4202F8EE0128 //## Subsystem: MASS::Dev::Tools::TxnTestManager::src%41F5A79001E4 //## Persistence: Transient //## Cardinality/Multiplicity: n //## Uses: %4211B7E20056;XMLSchema::IXmlSchemaWrapperElement { -> F} class EvaluationCallback : virtual public XMLSchema::IXmlSchemaWrapperTraversalCallback //## Inherits: %4211B6C103B2 { //## begin EvaluationCallback%4211B6910076.initialDeclarations preserve=yes //## end EvaluationCallback%4211B6910076.initialDeclarations public: //## Constructors (specified) //## Operation: EvaluationCallback%4211B76503A2 // The only constructor. EvaluationCallback (TransactionSpecification& transaction, // The transaction. EvaluationContext& context // The context for evaluation of expressions. ); //## Destructor (generated) virtual ~EvaluationCallback(); //## Other Operations (specified) //## Operation: traverseElement%4211B6B80131 // Visiting the given schema element in a traversal. Evaluate to true when the // traversal is to continue, and to false otherwise. virtual const bool XSW_STDCALL traverseElement (XMLSchema::IXmlSchemaWrapperElement& element // The schema element being visited. ); // Additional Public Declarations //## begin EvaluationCallback%4211B6910076.public preserve=yes //## end EvaluationCallback%4211B6910076.public protected: // Additional Protected Declarations //## begin EvaluationCallback%4211B6910076.protected preserve=yes //## end EvaluationCallback%4211B6910076.protected private: //## Constructors (generated) EvaluationCallback(); EvaluationCallback(const EvaluationCallback &right); //## Assignment Operation (generated) EvaluationCallback & operator=(const EvaluationCallback &right); // Data Members for Associations //## Association: TransactionTestManager::Transaction Generation::%4211B6D10299 //## Role: EvaluationCallback::transaction%4211B6D20047 // The transaction that contains the field being evaluated. //## begin EvaluationCallback::transaction%4211B6D20047.role preserve=no private: TransactionSpecification {1 -> 1RFHAN} TransactionSpecification *m_transaction; //## end EvaluationCallback::transaction%4211B6D20047.role //## Association: TransactionTestManager::Transaction Generation::%4211BE5A0054 //## Role: EvaluationCallback::context%4211BE5A0239 // The context for evaluation of expressions. //## begin EvaluationCallback::context%4211BE5A0239.role preserve=no private: EvaluationContext {1 -> 1RFHAN} EvaluationContext *m_context; //## end EvaluationCallback::context%4211BE5A0239.role // Additional Private Declarations //## begin EvaluationCallback%4211B6910076.private preserve=yes //## end EvaluationCallback%4211B6910076.private private: //## implementation // Additional Implementation Declarations //## begin EvaluationCallback%4211B6910076.implementation preserve=yes //## end EvaluationCallback%4211B6910076.implementation }; //## begin EvaluationCallback%4211B6910076.postscript preserve=yes //## end EvaluationCallback%4211B6910076.postscript // Class EvaluationCallback //## begin module%4211B6910076.epilog preserve=yes //## end module%4211B6910076.epilog #endif