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

#ifndef TEAMCENTER__CONTMGMTBASE__CTM0BOMLINEDELEGATE_HXX
#define TEAMCENTER__CONTMGMTBASE__CTM0BOMLINEDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <contmgmtbase/Ctm0BOMLine.hxx>

#include <contmgmtbase/libcontmgmtbase_exports.h>

namespace Teamcenter
{
    namespace contmgmtbase
    {
        class Ctm0BOMLineDelegate;
    }
}
namespace Teamcenter
{
    namespace contmgmtbase
    {
        class Ctm0BOMLineImpl;
    }
}
namespace Teamcenter
{
    namespace contmgmtbase
    {
        class Ctm0BOMLine;
    }
}
namespace Teamcenter
{
    namespace contmgmtbase
    {
        class Ctm0BOMLineGenImpl;
    }
}

namespace Teamcenter_alias = ::Teamcenter;


class  CONTMGMTBASE_API Teamcenter_alias::contmgmtbase::Ctm0BOMLineDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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

    //  Method to create the Ctm0BOMLineImpl pointer
    static Ctm0BOMLineImpl*  createImpl( Ctm0BOMLine&  ifObj );

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


    ///
    /// Maps Compose Attributes
    /// @version Teamcenter 9
    /// @param attributeMap - XML Attribute Map Object
    /// @param functions - Vector Of Functions
    /// @param domDocument - DOM Document
    /// @return - Returns error code
    ///
    int  ctm0ComposeMapAttributesBase(const Ctm0BOMLine &ifObj,  ::Teamcenter::contmgmtbase::DCt_XmlAttrMap *attributeMap, std::vector< int > *functions, void **domDocument );



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

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


private:
    friend class  ::Teamcenter::contmgmtbase::Ctm0BOMLineGenImpl;

};

#include <contmgmtbase/libcontmgmtbase_undef.h>
#endif  //  TEAMCENTER__CONTMGMTBASE__CTM0BOMLINEDELEGATE_HXX
