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

#ifndef TEAMCENTER__CMREFERENCESDISPATCH_HXX
#define TEAMCENTER__CMREFERENCESDISPATCH_HXX

#include <vector>
#include <cm/CMReferences.hxx>
#include <cm/CMReferencesDelegate.hxx>
#include <cmdispatch/CMRelationDispatch.hxx>
#include <cmdispatch/initializecm.hxx>

#include <cmdispatch/libcmdispatch_exports.h>

namespace Teamcenter
{
    class CMReferencesDispatch;
}
namespace Teamcenter
{
    class CMReferencesDelegate;
}
namespace Teamcenter
{
    class BusinessObjectImpl;
}

class  CMDISPATCH_API  Teamcenter::CMReferencesDispatch
    : public  Teamcenter::CMReferencesDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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


private:
    //  Pointer to the dispatch instance
    static CMReferencesDispatch*  m_dispatch;

    //  Default Constructor
    CMReferencesDispatch();

    //  Default Destructor
    virtual ~CMReferencesDispatch();

    //  Constructor Method
    static ::Teamcenter::RootObject*  constructor();

    //  Copy Constructor for a CMReferencesDispatch
    CMReferencesDispatch( const CMReferencesDispatch& );

    //  Assignment operator
    CMReferencesDispatch&  operator = ( const CMReferencesDispatch& );

    //  friend
    friend void   ::Teamcenter::CM::initializecmInternal();
    friend void   ::Teamcenter::CM::initializecmExtenders();
    friend class  Teamcenter::CMReferencesDelegate;
};

#include <cmdispatch/libcmdispatch_undef.h>
#endif  //  TEAMCENTER__CMREFERENCESDISPATCH_HXX
