Subversion Repositories DevTools

Rev

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%41F763D601EE.cm preserve=no
//## end module%41F763D601EE.cm

//## begin module%41F763D601EE.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%41F763D601EE.cp

//## Module: TransactionSpecificationValueKey%41F763D601EE; Pseudo Package specification
//## Subsystem: MASS::Dev::Tools::TxnTestManager::src%41F5A79001E4
//## Source file: Z:\MASS_Dev\Tools\TxnTestManager\src\TransactionSpecificationValueKey.h

#ifndef TransactionSpecificationValueKey_h
#define TransactionSpecificationValueKey_h 1

//## begin module%41F763D601EE.additionalIncludes preserve=no
//## end module%41F763D601EE.additionalIncludes

//## begin module%41F763D601EE.includes preserve=yes
#include <ostream>
#include <string>
//## end module%41F763D601EE.includes

//## begin module%41F763D601EE.additionalDeclarations preserve=yes
//## end module%41F763D601EE.additionalDeclarations


//## begin TransactionSpecificationValueKey%41F763D601EE.preface preserve=yes
//## end TransactionSpecificationValueKey%41F763D601EE.preface

//## Class: TransactionSpecificationValueKey%41F763D601EE; private
//      A class for indexing values.
//## Category: TransactionTestManager%41F5A77A0203
//## Subsystem: MASS::Dev::Tools::TxnTestManager::src%41F5A79001E4
//## Persistence: Transient
//## Cardinality/Multiplicity: n



class TransactionSpecificationValueKey 
{
  //## begin TransactionSpecificationValueKey%41F763D601EE.initialDeclarations preserve=yes
  //## end TransactionSpecificationValueKey%41F763D601EE.initialDeclarations

  public:
    //## Constructors (generated)
      TransactionSpecificationValueKey(const TransactionSpecificationValueKey &right);

    //## Constructors (specified)
      //## Operation: TransactionSpecificationValueKey%41F7650D000A
      //        This constructor expects values for all attributes.
      TransactionSpecificationValueKey (const std::string &xPath,       // The xpath of the field.
      const bool &inPayload     // When true, the value is in the payload, otherwise it is in the header.
      );

    //## Destructor (generated)
      virtual ~TransactionSpecificationValueKey();

    //## Assignment Operation (generated)
      TransactionSpecificationValueKey & operator=(const TransactionSpecificationValueKey &right);


    //## Other Operations (specified)
      //## Operation: getXPath%41F7698C038B
      //        Evaluate to the xpath of this key.
      const std::string & getXPath () const;

      //## Operation: operator<%41F765490346
      //        Evaluate to true when this object is less than the given object, and to
      //        false otherwise.
      const bool operator < (const TransactionSpecificationValueKey& rhs        // The right hand side of the expression.
      ) const;

      //## Operation: operator==%41F765490356
      //        Evaluate to true when this object is equal to the given object, and to false
      //        otherwise.
      const bool operator == (const TransactionSpecificationValueKey& rhs       // The right hand side of the expression.
      ) const;

      //## Operation: operator<<%41F76879039B
      //        Write a textual representation of this instance to the given stream.
      friend std::ostream & operator << (std::ostream &os,      // The stream that the instance is to be written to.
      const TransactionSpecificationValueKey& instance  // The instance that is to be written to the given stream.
      );

    // Additional Public Declarations
      //## begin TransactionSpecificationValueKey%41F763D601EE.public preserve=yes
      //## end TransactionSpecificationValueKey%41F763D601EE.public

  protected:
    // Additional Protected Declarations
      //## begin TransactionSpecificationValueKey%41F763D601EE.protected preserve=yes
      //## end TransactionSpecificationValueKey%41F763D601EE.protected

  private:
    //## Constructors (generated)
      TransactionSpecificationValueKey();

    // Data Members for Class Attributes

      //## Attribute: inPayload%41F7647C0308
      //        When true, the value is in the payload, otherwise it is in the header.
      //## begin TransactionSpecificationValueKey::inPayload%41F7647C0308.attr preserve=no  private: bool {VA} 
      bool m_inPayload;
      //## end TransactionSpecificationValueKey::inPayload%41F7647C0308.attr

      //## Attribute: xPath%41F7647C0317
      //        The xpath of the field.
      //## begin TransactionSpecificationValueKey::xPath%41F7647C0317.attr preserve=no  private: std::string {VA} 
      std::string m_xPath;
      //## end TransactionSpecificationValueKey::xPath%41F7647C0317.attr

    // Additional Private Declarations
      //## begin TransactionSpecificationValueKey%41F763D601EE.private preserve=yes
      //## end TransactionSpecificationValueKey%41F763D601EE.private

  private: //## implementation
    // Additional Implementation Declarations
      //## begin TransactionSpecificationValueKey%41F763D601EE.implementation preserve=yes
      //## end TransactionSpecificationValueKey%41F763D601EE.implementation

};

//## begin TransactionSpecificationValueKey%41F763D601EE.postscript preserve=yes
//## end TransactionSpecificationValueKey%41F763D601EE.postscript

// Class TransactionSpecificationValueKey 

//## begin module%41F763D601EE.epilog preserve=yes
//## end module%41F763D601EE.epilog


#endif