/**********************************************************************************************
 * Copyright (c) 2001-2017 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 15.0.1.7161
 * Using Schema: D:\Development2017\Liquid\Tools\DataBindingSamples\Samples\SimpleChoice\Schema\SimpleChoice.xsd
 **********************************************************************************************/
#ifndef _SimpleChoiceLib_SimpleChoiceLib_CAccountAdminRequest_h 
#define _SimpleChoiceLib_SimpleChoiceLib_CAccountAdminRequest_h 

// Include Base classes
#include "../SimpleChoiceLib/CreateAccount.h" 
#include "../SimpleChoiceLib/DeleteAccount.h" 
#include "../SimpleChoiceLib/ChangeAccountPassword.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 SimpleChoiceLib   {   class CClassFactory; };

namespace SimpleChoiceLib
{
    /*
     * CAccountAdminRequest
     *  
     * This class wraps the element AccountAdminRequest in the schema
     */
    class SimpleChoiceLib_DLL CAccountAdminRequest : public CInstanceMonitor
                    , public virtual SimpleChoiceLib::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 SimpleChoiceLib::CAccountAdminRequestPtr CreateInstance(LPCTSTR lpctElementName=_T("AccountAdminRequest"));

    protected:
        CAccountAdminRequest(LPCTSTR lpctElementName=_T("AccountAdminRequest"));
        virtual ~CAccountAdminRequest();
        friend class SimpleChoiceLib::CClassFactory;
    
        virtual void Init();
        virtual void AccessProperty(int iPropertyIndex, bool read, LtXmlLib15::LtVariant& rValue);
        virtual LtXmlLib15Data::CParentElementInfo* GetClassInfo() const;
        virtual LtXmlLib15Data::CElementInfo** GetClassElementInfo() const;
        virtual LtXmlLib15Data::CAttributeInfo** GetClassAttributeInfo() const;
        
        static  void CleanMetaData();
                void Cleanup();
        virtual void OnEvent(LtXmlLib15::CXmlObjectBase* pMsgSource, LtXmlLib15::IEventSink::MsgType eMsgType, void* pData);
                void ClearChoice(LPCTSTR selectedElement);

    public:
        SimpleChoiceLib::CCreateAccountPtr GetCreateAccount() const;
        void SetCreateAccount(SimpleChoiceLib::CCreateAccount* value);
    protected:
        SimpleChoiceLib::CCreateAccountPtr m_CreateAccount;

    public:
        SimpleChoiceLib::CDeleteAccountPtr GetDeleteAccount() const;
        void SetDeleteAccount(SimpleChoiceLib::CDeleteAccount* value);
    protected:
        SimpleChoiceLib::CDeleteAccountPtr m_DeleteAccount;

    public:
        SimpleChoiceLib::CChangeAccountPasswordPtr GetChangeAccountPassword() const;
        void SetChangeAccountPassword(SimpleChoiceLib::CChangeAccountPassword* value);
    protected:
        SimpleChoiceLib::CChangeAccountPasswordPtr m_ChangeAccountPassword;


    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 SimpleChoiceLib::CAccountAdminRequestPtr Clone() const;

        virtual std::tstring GetTargetNamespace() const;
        virtual std::tstring GetNamespace() const;
        virtual LtXmlLib15::CXmlObjectBase* GetBase();

    // Internal data for XML serialization
    private:
        static LtXmlLib15Data::CParentElementInfo* ms_pParentElementInfo;
        static LtXmlLib15Data::CElementInfo** ms_ppElementInfo;
        static LtXmlLib15Data::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 (SimpleChoiceLib)


#endif // _SimpleChoiceLib_CAccountAdminRequest_h