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

#ifndef TEAMCENTER__PSOPTIONALITEMLISTDELEGATE_HXX
#define TEAMCENTER__PSOPTIONALITEMLISTDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <ps/PSOptionalItemList.hxx>

#include <ps/libps_exports.h>

namespace Teamcenter
{
    class PSOptionalItemListDelegate;
}
namespace Teamcenter
{
    class PSOptionalItemListImpl;
}
namespace Teamcenter
{
    class PSOptionalItemList;
}
namespace Teamcenter
{
    class PSOptionalItemListGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the PSOptionalItemListImpl pointer
    static PSOptionalItemListImpl*  createImpl( PSOptionalItemList&  ifObj );

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


    ///
    /// desc for createPost
    /// @version Tc 8
    /// @param creInput - Description for the Create Input
    /// @return - return desc for createPost
    ///
    int  createPostBase(const PSOptionalItemList &ifObj,  ::Teamcenter::CreateInput *creInput );



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

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


private:
    friend class  ::Teamcenter::PSOptionalItemListGenImpl;

};

#include <ps/libps_undef.h>
#endif  //  TEAMCENTER__PSOPTIONALITEMLISTDELEGATE_HXX
