//Copyright 2020 Siemens Digital Industries Software
//==================================================
//
//Copyright $2020.
//Siemens Product Lifecycle Management Software Inc.
//All Rights Reserved.
//==================================================
//Copyright 2020 Siemens Digital Industries Software

/*==================================================================================================
File description:
    This file contains the declaration for the Business Object, CPRefTextDelegate
    Filename:   CPRefTextDelegate.hxx
    Module:     specmgr
    @BMIDE autogenerated
==================================================================================================*/

#ifndef TEAMCENTER__SPECMGR__CPREFTEXTDELEGATE_HXX
#define TEAMCENTER__SPECMGR__CPREFTEXTDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <specmgr/CPRefText.hxx>

#include <specmgr/libspecmgr_exports.h>

namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPRefTextDelegate;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPRefTextImpl;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPRefText;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPRefTextGenImpl;
    }
}

namespace Teamcenter_alias = ::Teamcenter;


class  SPECMGR_API Teamcenter_alias::SPECMGR::CPRefTextDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

    //  Method to get the CPRefTextDelegate instance
    static CPRefTextDelegate&  getInstance();

    //  Method to create the CPRefTextImpl pointer
    static CPRefTextImpl*  createImpl( CPRefText&  ifObj );

    //  Method to delete the CPRefTextImpl pointer
    static void deleteImpl( CPRefTextImpl*  impl );



protected:
    //  Pointer to the instance
    static CPRefTextDelegate*  m_pInstance;

    CPRefTextDelegate();
    virtual ~CPRefTextDelegate();
    static void setInstance( CPRefTextDelegate*  instance );


private:
    friend class  ::Teamcenter::SPECMGR::CPRefTextGenImpl;

};

#include <specmgr/libspecmgr_undef.h>
#endif  //  TEAMCENTER__SPECMGR__CPREFTEXTDELEGATE_HXX
