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

#ifndef TEAMCENTER__DATATYPEDELEGATE_HXX
#define TEAMCENTER__DATATYPEDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <meta/DataType.hxx>

#include <meta/libmeta_exports.h>

namespace Teamcenter
{
    class DataTypeDelegate;
}
namespace Teamcenter
{
    class DataTypeImpl;
}
namespace Teamcenter
{
    class DataType;
}
namespace Teamcenter
{
    class DataTypeGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the DataTypeImpl pointer
    static DataTypeImpl*  createImpl( DataType&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::DataTypeGenImpl;

};

#include <meta/libmeta_undef.h>
#endif  //  TEAMCENTER__DATATYPEDELEGATE_HXX
