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

#ifndef TEAMCENTER__BOMOPTIONDELEGATE_HXX
#define TEAMCENTER__BOMOPTIONDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <bom/BOMOption.hxx>

#include <bom/libbom_exports.h>

namespace Teamcenter
{
    class BOMOptionDelegate;
}
namespace Teamcenter
{
    class BOMOptionImpl;
}
namespace Teamcenter
{
    class BOMOption;
}
namespace Teamcenter
{
    class BOMOptionGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the BOMOptionImpl pointer
    static BOMOptionImpl*  createImpl( BOMOption&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::BOMOptionGenImpl;

};

#include <bom/libbom_undef.h>
#endif  //  TEAMCENTER__BOMOPTIONDELEGATE_HXX
