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

#ifndef TEAMCENTER__ICM0DELEGATE_HXX
#define TEAMCENTER__ICM0DELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <sml/icm0.hxx>

#include <sml/libsml_exports.h>

namespace Teamcenter
{
    class icm0Delegate;
}
namespace Teamcenter
{
    class icm0Impl;
}
namespace Teamcenter
{
    class icm0;
}
namespace Teamcenter
{
    class icm0GenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the icm0Impl pointer
    static icm0Impl*  createImpl( icm0&  ifObj );

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


    ///
    /// finalize operation input
    /// @version Teamcenter 9
    /// @param pSavAsInput - desc
    /// @param vecDeepCopyData - desc
    /// @return - returns an int
    ///
    int  finalizeSaveAsInputBase(const icm0 &ifObj,  ::Teamcenter::SaveAsInput *pSavAsInput, std::vector<  ::Teamcenter::DeepCopyData* > *vecDeepCopyData );



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

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


private:
    friend class  ::Teamcenter::icm0GenImpl;

};

#include <sml/libsml_undef.h>
#endif  //  TEAMCENTER__ICM0DELEGATE_HXX
