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

#ifndef TEAMCENTER__PARTOCCDELEGATE_HXX
#define TEAMCENTER__PARTOCCDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <usage/PartOcc.hxx>

#include <usage/libusage_exports.h>

namespace Teamcenter
{
    class PartOccDelegate;
}
namespace Teamcenter
{
    class PartOccImpl;
}
namespace Teamcenter
{
    class PartOcc;
}
namespace Teamcenter
{
    class PartOccGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


class  USAGE_API Teamcenter_alias::PartOccDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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

    //  Method to create the PartOccImpl pointer
    static PartOccImpl*  createImpl( PartOcc&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::PartOccGenImpl;

};

#include <usage/libusage_undef.h>
#endif  //  TEAMCENTER__PARTOCCDELEGATE_HXX
