Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2263 kivins 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%41F763D601EE.cm preserve=no
7
//## end module%41F763D601EE.cm
8
 
9
//## begin module%41F763D601EE.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%41F763D601EE.cp
19
 
20
//## Module: TransactionSpecificationValueKey%41F763D601EE; Pseudo Package specification
21
//## Subsystem: MASS::Dev::Tools::TxnTestManager::src%41F5A79001E4
22
//## Source file: Z:\MASS_Dev\Tools\TxnTestManager\src\TransactionSpecificationValueKey.h
23
 
24
#ifndef TransactionSpecificationValueKey_h
25
#define TransactionSpecificationValueKey_h 1
26
 
27
//## begin module%41F763D601EE.additionalIncludes preserve=no
28
//## end module%41F763D601EE.additionalIncludes
29
 
30
//## begin module%41F763D601EE.includes preserve=yes
31
#include <ostream>
32
#include <string>
33
//## end module%41F763D601EE.includes
34
 
35
//## begin module%41F763D601EE.additionalDeclarations preserve=yes
36
//## end module%41F763D601EE.additionalDeclarations
37
 
38
 
39
//## begin TransactionSpecificationValueKey%41F763D601EE.preface preserve=yes
40
//## end TransactionSpecificationValueKey%41F763D601EE.preface
41
 
42
//## Class: TransactionSpecificationValueKey%41F763D601EE; private
43
//	A class for indexing values.
44
//## Category: TransactionTestManager%41F5A77A0203
45
//## Subsystem: MASS::Dev::Tools::TxnTestManager::src%41F5A79001E4
46
//## Persistence: Transient
47
//## Cardinality/Multiplicity: n
48
 
49
 
50
 
51
class TransactionSpecificationValueKey 
52
{
53
  //## begin TransactionSpecificationValueKey%41F763D601EE.initialDeclarations preserve=yes
54
  //## end TransactionSpecificationValueKey%41F763D601EE.initialDeclarations
55
 
56
  public:
57
    //## Constructors (generated)
58
      TransactionSpecificationValueKey(const TransactionSpecificationValueKey &right);
59
 
60
    //## Constructors (specified)
61
      //## Operation: TransactionSpecificationValueKey%41F7650D000A
62
      //	This constructor expects values for all attributes.
63
      TransactionSpecificationValueKey (const std::string &xPath, 	// The xpath of the field.
64
      const bool &inPayload	// When true, the value is in the payload, otherwise it is in the header.
65
      );
66
 
67
    //## Destructor (generated)
68
      virtual ~TransactionSpecificationValueKey();
69
 
70
    //## Assignment Operation (generated)
71
      TransactionSpecificationValueKey & operator=(const TransactionSpecificationValueKey &right);
72
 
73
 
74
    //## Other Operations (specified)
75
      //## Operation: getXPath%41F7698C038B
76
      //	Evaluate to the xpath of this key.
77
      const std::string & getXPath () const;
78
 
79
      //## Operation: operator<%41F765490346
80
      //	Evaluate to true when this object is less than the given object, and to
81
      //	false otherwise.
82
      const bool operator < (const TransactionSpecificationValueKey& rhs	// The right hand side of the expression.
83
      ) const;
84
 
85
      //## Operation: operator==%41F765490356
86
      //	Evaluate to true when this object is equal to the given object, and to false
87
      //	otherwise.
88
      const bool operator == (const TransactionSpecificationValueKey& rhs	// The right hand side of the expression.
89
      ) const;
90
 
91
      //## Operation: operator<<%41F76879039B
92
      //	Write a textual representation of this instance to the given stream.
93
      friend std::ostream & operator << (std::ostream &os, 	// The stream that the instance is to be written to.
94
      const TransactionSpecificationValueKey& instance	// The instance that is to be written to the given stream.
95
      );
96
 
97
    // Additional Public Declarations
98
      //## begin TransactionSpecificationValueKey%41F763D601EE.public preserve=yes
99
      //## end TransactionSpecificationValueKey%41F763D601EE.public
100
 
101
  protected:
102
    // Additional Protected Declarations
103
      //## begin TransactionSpecificationValueKey%41F763D601EE.protected preserve=yes
104
      //## end TransactionSpecificationValueKey%41F763D601EE.protected
105
 
106
  private:
107
    //## Constructors (generated)
108
      TransactionSpecificationValueKey();
109
 
110
    // Data Members for Class Attributes
111
 
112
      //## Attribute: inPayload%41F7647C0308
113
      //	When true, the value is in the payload, otherwise it is in the header.
114
      //## begin TransactionSpecificationValueKey::inPayload%41F7647C0308.attr preserve=no  private: bool {VA} 
115
      bool m_inPayload;
116
      //## end TransactionSpecificationValueKey::inPayload%41F7647C0308.attr
117
 
118
      //## Attribute: xPath%41F7647C0317
119
      //	The xpath of the field.
120
      //## begin TransactionSpecificationValueKey::xPath%41F7647C0317.attr preserve=no  private: std::string {VA} 
121
      std::string m_xPath;
122
      //## end TransactionSpecificationValueKey::xPath%41F7647C0317.attr
123
 
124
    // Additional Private Declarations
125
      //## begin TransactionSpecificationValueKey%41F763D601EE.private preserve=yes
126
      //## end TransactionSpecificationValueKey%41F763D601EE.private
127
 
128
  private: //## implementation
129
    // Additional Implementation Declarations
130
      //## begin TransactionSpecificationValueKey%41F763D601EE.implementation preserve=yes
131
      //## end TransactionSpecificationValueKey%41F763D601EE.implementation
132
 
133
};
134
 
135
//## begin TransactionSpecificationValueKey%41F763D601EE.postscript preserve=yes
136
//## end TransactionSpecificationValueKey%41F763D601EE.postscript
137
 
138
// Class TransactionSpecificationValueKey 
139
 
140
//## begin module%41F763D601EE.epilog preserve=yes
141
//## end module%41F763D601EE.epilog
142
 
143
 
144
#endif