In This Topic
    VISA.h
    In This Topic
    /**********************************************************************************************
     * Copyright (c) 2001-2023 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 19.0.14.11049
     * Using Schema: SimpleHierarchy.xsd
     **********************************************************************************************/
    #ifndef _SimpleHierarchyLib_SimpleHierarchyLib_CVISA_h 
    #define _SimpleHierarchyLib_SimpleHierarchyLib_CVISA_h 
    
    // Include Base classes
    
    // ##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
    {
        /*
         * CVISA
         *  
         * This class wraps the element VISA in the schema
         */
        class SimpleHierarchyLib_DLL CVISA : 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::CVISAPtr CreateInstance(LPCTSTR lpctElementName=_T("VISA"));
    
        protected:
            CVISA(LPCTSTR lpctElementName=_T("VISA"));
            virtual ~CVISA();
            friend class SimpleHierarchyLib::CClassFactory;
        
            virtual void Init();
            virtual void AccessProperty(int iPropertyIndex, bool read, LtXmlLib20::LtVariant& rValue);
            virtual LtXmlLib20Data::CParentElementInfo* GetClassInfo() const;
            virtual LtXmlLib20Data::CElementInfo** GetClassElementInfo() const;
            virtual LtXmlLib20Data::CAttributeInfo** GetClassAttributeInfo() const;
            
            static  void CleanMetaData();
                    void Cleanup();
            virtual void OnEvent(LtXmlLib20::CXmlObjectBase* pMsgSource, LtXmlLib20::IEventSink::MsgType eMsgType, void* pData);
    
        public:
            std::tstring GetCardNo() const;
            void SetCardNo(std::tstring val);
        protected:
            std::tstring m_CardNo;
    
        public:
            LtXmlLib20::CDateTime GetExpiry() const;
            void SetExpiry(LtXmlLib20::CDateTime val);
        protected:
            LtXmlLib20::CDateTime m_Expiry;
    
    
    
        public:
            // Performs a 'deep copy' of all the data in the class (and its children)
            virtual SimpleHierarchyLib::CVISAPtr Clone() const;
    
            virtual std::tstring GetTargetNamespace() const;
            virtual std::tstring GetNamespace() const;
            virtual LtXmlLib20::CXmlObjectBase* GetBase();
    
        // Internal data for XML serialization
        private:
            static LtXmlLib20Data::CParentElementInfo* ms_pParentElementInfo;
            static LtXmlLib20Data::CElementInfo** ms_ppElementInfo;
            static LtXmlLib20Data::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_CVISA_h