Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2218 sbetterm 1
//## begin module%1.7%.codegen_version preserve=yes
2
//   Read the documentation to learn more about C++ code generator
3
//   versioning.
4
//## end module%1.7%.codegen_version
5
 
6
//## begin module%4211B6910076.cm preserve=no
7
//## end module%4211B6910076.cm
8
 
9
//## begin module%4211B6910076.cp preserve=no
10
//	C O P Y R I G H T   N O T I C E
11
//	This material is confidential to ERG and may not be disclosed in whole
12
//	or in part to any third party nor used in any manner whatsoever other
13
//	than for the purposes expressly consented to by ERG in writing.
14
//
15
//	This material is also copyright and may not be reproduced, stored in a
16
//	retrieval system or transmitted in any form or by any means in whole or
17
//	in part without the express written consent of ERG.
18
//## end module%4211B6910076.cp
19
 
20
//## Module: EvaluationCallback%4211B6910076; Pseudo Package specification
21
//## Subsystem: MASS::Dev::Tools::TxnTestManager::src%41F5A79001E4
22
//## Source file: Z:\MASS_Dev\Tools\TxnTestManager\src\EvaluationCallback.h
23
 
24
#ifndef EvaluationCallback_h
25
#define EvaluationCallback_h 1
26
 
27
//## begin module%4211B6910076.additionalIncludes preserve=no
28
//## end module%4211B6910076.additionalIncludes
29
 
30
//## begin module%4211B6910076.includes preserve=yes
31
//## end module%4211B6910076.includes
32
 
33
// IXmlSchemaWrapperTraversalCallback
34
#include "IXmlSchemaWrapperTraversalCallback.h"
35
 
36
namespace XMLSchema {
37
class IXmlSchemaWrapperElement;
38
} // namespace XMLSchema
39
 
40
class TransactionSpecification;
41
class EvaluationContext;
42
 
43
//## begin module%4211B6910076.additionalDeclarations preserve=yes
44
//## end module%4211B6910076.additionalDeclarations
45
 
46
 
47
//## begin EvaluationCallback%4211B6910076.preface preserve=yes
48
//## end EvaluationCallback%4211B6910076.preface
49
 
50
//## Class: EvaluationCallback%4211B6910076; private
51
//	Instances of this class represent the callback context for traversals of the
52
//	schema that evaluate the fields of structures.
53
//## Category: TransactionTestManager::Transaction Generation%4202F8EE0128
54
//## Subsystem: MASS::Dev::Tools::TxnTestManager::src%41F5A79001E4
55
//## Persistence: Transient
56
//## Cardinality/Multiplicity: n
57
 
58
 
59
 
60
//## Uses: <unnamed>%4211B7E20056;XMLSchema::IXmlSchemaWrapperElement { -> F}
61
 
62
class EvaluationCallback : virtual public XMLSchema::IXmlSchemaWrapperTraversalCallback  //## Inherits: <unnamed>%4211B6C103B2
63
{
64
  //## begin EvaluationCallback%4211B6910076.initialDeclarations preserve=yes
65
  //## end EvaluationCallback%4211B6910076.initialDeclarations
66
 
67
  public:
68
    //## Constructors (specified)
69
      //## Operation: EvaluationCallback%4211B76503A2
70
      //	The only constructor.
71
      EvaluationCallback (TransactionSpecification& transaction, 	// The transaction.
72
      EvaluationContext& context	// The context for evaluation of expressions.
73
      );
74
 
75
    //## Destructor (generated)
76
      virtual ~EvaluationCallback();
77
 
78
 
79
    //## Other Operations (specified)
80
      //## Operation: traverseElement%4211B6B80131
81
      //	Visiting the given schema element in a traversal.  Evaluate to true when the
82
      //	traversal is to continue, and to false otherwise.
83
      virtual const bool XSW_STDCALL traverseElement (XMLSchema::IXmlSchemaWrapperElement& element	// The schema element being visited.
84
      );
85
 
86
    // Additional Public Declarations
87
      //## begin EvaluationCallback%4211B6910076.public preserve=yes
88
      //## end EvaluationCallback%4211B6910076.public
89
 
90
  protected:
91
    // Additional Protected Declarations
92
      //## begin EvaluationCallback%4211B6910076.protected preserve=yes
93
      //## end EvaluationCallback%4211B6910076.protected
94
 
95
  private:
96
    //## Constructors (generated)
97
      EvaluationCallback();
98
 
99
      EvaluationCallback(const EvaluationCallback &right);
100
 
101
    //## Assignment Operation (generated)
102
      EvaluationCallback & operator=(const EvaluationCallback &right);
103
 
104
    // Data Members for Associations
105
 
106
      //## Association: TransactionTestManager::Transaction Generation::<unnamed>%4211B6D10299
107
      //## Role: EvaluationCallback::transaction%4211B6D20047
108
      //	The transaction that contains the field being evaluated.
109
      //## begin EvaluationCallback::transaction%4211B6D20047.role preserve=no  private: TransactionSpecification {1 -> 1RFHAN}
110
      TransactionSpecification *m_transaction;
111
      //## end EvaluationCallback::transaction%4211B6D20047.role
112
 
113
      //## Association: TransactionTestManager::Transaction Generation::<unnamed>%4211BE5A0054
114
      //## Role: EvaluationCallback::context%4211BE5A0239
115
      //	The context for evaluation of expressions.
116
      //## begin EvaluationCallback::context%4211BE5A0239.role preserve=no  private: EvaluationContext {1 -> 1RFHAN}
117
      EvaluationContext *m_context;
118
      //## end EvaluationCallback::context%4211BE5A0239.role
119
 
120
    // Additional Private Declarations
121
      //## begin EvaluationCallback%4211B6910076.private preserve=yes
122
      //## end EvaluationCallback%4211B6910076.private
123
 
124
  private: //## implementation
125
    // Additional Implementation Declarations
126
      //## begin EvaluationCallback%4211B6910076.implementation preserve=yes
127
      //## end EvaluationCallback%4211B6910076.implementation
128
 
129
};
130
 
131
//## begin EvaluationCallback%4211B6910076.postscript preserve=yes
132
//## end EvaluationCallback%4211B6910076.postscript
133
 
134
// Class EvaluationCallback 
135
 
136
//## begin module%4211B6910076.epilog preserve=yes
137
//## end module%4211B6910076.epilog
138
 
139
 
140
#endif