Liquid XML Data Binder 2020
In This Topic
    Payment.h
    In This Topic
    /**********************************************************************************************
     * Copyright (c) 2001-2020 Liquid Technologies Limited. All rights reserved.
     * See www.liquid-technologies.com for product details.
     *
     * Please see products End User License Agreement for distribution permissions.
     *
     * WARNING: THIS FILE IS GENERATED
     * Changes made outside of ##HAND_CODED_BLOCK_START blocks will be overwritten
     *
     * Generation  :  by Liquid XML Data Binder 17.0.1.9233
     * Using Schema: SimpleHierarchy.xsd
     **********************************************************************************************/
    #ifndef _SimpleHierarchyLib_SimpleHierarchyLib_CPayment_h 
    #define _SimpleHierarchyLib_SimpleHierarchyLib_CPayment_h 
    
    // Include Base classes
    #include "../SimpleHierarchyLib/VISA.h" 
    #include "../SimpleHierarchyLib/VouchersCol.h" 
    #include "../SimpleHierarchyLib/Vouchers.h" 
    
    // ##HAND_CODED_BLOCK_START ID="Additional Includes"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS
    
    // Add Additional Includes here...
    
    // ##HAND_CODED_BLOCK_END ID="Additional Includes"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS
    
    // Forward declarations - done like this to keep the intellisense happy
    namespace SimpleHierarchyLib    {   class CClassFactory; };
    
    namespace SimpleHierarchyLib
    {
        /*
         * CPayment
         *  
         * This class wraps the element Payment in the schema
         */
        class SimpleHierarchyLib_DLL CPayment : public CInstanceMonitor
                        , public virtual SimpleHierarchyLib::CXmlCommonBase
    // ##HAND_CODED_BLOCK_START ID="Additional Base Classes"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS
    // Add Additional base classes here...
    // ##HAND_CODED_BLOCK_END ID="Additional Base Classes"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS
        {
        public:
            static SimpleHierarchyLib::CPaymentPtr CreateInstance(LPCTSTR lpctElementName=_T("Payment"));
    
        protected:
            CPayment(LPCTSTR lpctElementName=_T("Payment"));
            virtual ~CPayment();
            friend class SimpleHierarchyLib::CClassFactory;
        
            virtual void Init();
            virtual void AccessProperty(int iPropertyIndex, bool read, LtXmlLib18::LtVariant& rValue);
            virtual LtXmlLib18Data::CParentElementInfo* GetClassInfo() const;
            virtual LtXmlLib18Data::CElementInfo** GetClassElementInfo() const;
            virtual LtXmlLib18Data::CAttributeInfo** GetClassAttributeInfo() const;
            
            static  void CleanMetaData();
                    void Cleanup();
            virtual void OnEvent(LtXmlLib18::CXmlObjectBase* pMsgSource, LtXmlLib18::IEventSink::MsgType eMsgType, void* pData);
                    void ClearChoice(LPCTSTR selectedElement);
    
        public:
            SimpleHierarchyLib::CVISAPtr GetVISA() const;
            void SetVISA(SimpleHierarchyLib::CVISA* value);
        protected:
            SimpleHierarchyLib::CVISAPtr m_VISA;
    
        public:
            SimpleHierarchyLib::CVouchersColPtr GetVouchers() const;
        protected:
            SimpleHierarchyLib::CVouchersColPtr m_Vouchers;
    
        public:
            LtXmlLib18::CElementPtr GetCash() const;
            void SetCash(LtXmlLib18::CElement* val);
        protected:
            LtXmlLib18::CElementPtr m_Cash;
    
    
        public:
            std::tstring GetChoiceSelectedElement() const;
        protected:  
            std::tstring m_validElement;
    
        public:
            // Performs a 'deep copy' of all the data in the class (and its children)
            virtual SimpleHierarchyLib::CPaymentPtr Clone() const;
    
            virtual std::tstring GetTargetNamespace() const;
            virtual std::tstring GetNamespace() const;
            virtual LtXmlLib18::CXmlObjectBase* GetBase();
    
        // Internal data for XML serialization
        private:
            static LtXmlLib18Data::CParentElementInfo* ms_pParentElementInfo;
            static LtXmlLib18Data::CElementInfo** ms_ppElementInfo;
            static LtXmlLib18Data::CAttributeInfo** ms_ppAttributeInfo;
    
    // ##HAND_CODED_BLOCK_START ID="Additional Methods"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS
    
    // Add Additional Methods here...
    
    // ##HAND_CODED_BLOCK_END ID="Additional Methods"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS
        };
    }; // end namespace (SimpleHierarchyLib)
    
    
    #endif // _SimpleHierarchyLib_CPayment_h