//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, CPSynonymDelegate
    Filename:   CPSynonymDelegate.hxx
    Module:     specmgr
    @BMIDE autogenerated
==================================================================================================*/

#ifndef TEAMCENTER__SPECMGR__CPSYNONYMDELEGATE_HXX
#define TEAMCENTER__SPECMGR__CPSYNONYMDELEGATE_HXX

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

#include <specmgr/libspecmgr_exports.h>

namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPSynonymDelegate;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPSynonymImpl;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPSynonym;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPSynonymGenImpl;
    }
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the CPSynonymImpl pointer
    static CPSynonymImpl*  createImpl( CPSynonym&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::SPECMGR::CPSynonymGenImpl;

};

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