// This file is generated by omniidl (C++ backend)- omniORB_4_1. Do not edit.
#ifndef __ParaMEDCouplingCorbaServant_hh__
#define __ParaMEDCouplingCorbaServant_hh__

#ifndef __CORBA_H_EXTERNAL_GUARD__
#include <omniORB4/CORBA.h>
#endif

#ifndef  USE_stub_in_nt_dll
# define USE_stub_in_nt_dll_NOT_DEFINED_ParaMEDCouplingCorbaServant
#endif
#ifndef  USE_core_stub_in_nt_dll
# define USE_core_stub_in_nt_dll_NOT_DEFINED_ParaMEDCouplingCorbaServant
#endif
#ifndef  USE_dyn_stub_in_nt_dll
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_ParaMEDCouplingCorbaServant
#endif



#ifndef __SALOME__MPIObject_hh_EXTERNAL_GUARD__
#define __SALOME__MPIObject_hh_EXTERNAL_GUARD__
#include <SALOME_MPIObject.hh>
#endif
#ifndef __SALOME__GenericObj_hh_EXTERNAL_GUARD__
#define __SALOME__GenericObj_hh_EXTERNAL_GUARD__
#include <SALOME_GenericObj.hh>
#endif
#ifndef __MEDCouplingCorbaServant_hh_EXTERNAL_GUARD__
#define __MEDCouplingCorbaServant_hh_EXTERNAL_GUARD__
#include <MEDCouplingCorbaServant.hh>
#endif



#ifdef USE_stub_in_nt_dll
# ifndef USE_core_stub_in_nt_dll
#  define USE_core_stub_in_nt_dll
# endif
# ifndef USE_dyn_stub_in_nt_dll
#  define USE_dyn_stub_in_nt_dll
# endif
#endif

#ifdef _core_attr
# error "A local CPP macro _core_attr has already been defined."
#else
# ifdef  USE_core_stub_in_nt_dll
#  define _core_attr _OMNIORB_NTDLL_IMPORT
# else
#  define _core_attr
# endif
#endif

#ifdef _dyn_attr
# error "A local CPP macro _dyn_attr has already been defined."
#else
# ifdef  USE_dyn_stub_in_nt_dll
#  define _dyn_attr _OMNIORB_NTDLL_IMPORT
# else
#  define _dyn_attr
# endif
#endif





_CORBA_MODULE SALOME_MED

_CORBA_MODULE_BEG

#ifndef __SALOME__MED_mParaMEDCouplingUMeshCorbaInterface__
#define __SALOME__MED_mParaMEDCouplingUMeshCorbaInterface__

  class ParaMEDCouplingUMeshCorbaInterface;
  class _objref_ParaMEDCouplingUMeshCorbaInterface;
  class _impl_ParaMEDCouplingUMeshCorbaInterface;
  
  typedef _objref_ParaMEDCouplingUMeshCorbaInterface* ParaMEDCouplingUMeshCorbaInterface_ptr;
  typedef ParaMEDCouplingUMeshCorbaInterface_ptr ParaMEDCouplingUMeshCorbaInterfaceRef;

  class ParaMEDCouplingUMeshCorbaInterface_Helper {
  public:
    typedef ParaMEDCouplingUMeshCorbaInterface_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_ParaMEDCouplingUMeshCorbaInterface, ParaMEDCouplingUMeshCorbaInterface_Helper> ParaMEDCouplingUMeshCorbaInterface_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_ParaMEDCouplingUMeshCorbaInterface,ParaMEDCouplingUMeshCorbaInterface_Helper > ParaMEDCouplingUMeshCorbaInterface_out;

#endif

  // interface ParaMEDCouplingUMeshCorbaInterface
  class ParaMEDCouplingUMeshCorbaInterface {
  public:
    // Declarations for this interface type.
    typedef ParaMEDCouplingUMeshCorbaInterface_ptr _ptr_type;
    typedef ParaMEDCouplingUMeshCorbaInterface_var _var_type;

    static _ptr_type _duplicate(_ptr_type);
    static _ptr_type _narrow(::CORBA::Object_ptr);
    static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
    
    static _ptr_type _nil();

    static inline void _marshalObjRef(_ptr_type, cdrStream&);

    static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
      omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
      if (o)
        return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
      else
        return _nil();
    }

    static _core_attr const char* _PD_repoId;

    // Other IDL defined within this scope.
    
  };

  class _objref_ParaMEDCouplingUMeshCorbaInterface :
    public virtual _objref_MEDCouplingUMeshCorbaInterface,
    public virtual Engines::_objref_MPIObject
  {
  public:
    

    inline _objref_ParaMEDCouplingUMeshCorbaInterface()  { _PR_setobj(0); }  // nil
    _objref_ParaMEDCouplingUMeshCorbaInterface(omniIOR*, omniIdentity*);

  protected:
    virtual ~_objref_ParaMEDCouplingUMeshCorbaInterface();

    
  private:
    virtual void* _ptrToObjRef(const char*);

    _objref_ParaMEDCouplingUMeshCorbaInterface(const _objref_ParaMEDCouplingUMeshCorbaInterface&);
    _objref_ParaMEDCouplingUMeshCorbaInterface& operator = (const _objref_ParaMEDCouplingUMeshCorbaInterface&);
    // not implemented

    friend class ParaMEDCouplingUMeshCorbaInterface;
  };

  class _pof_ParaMEDCouplingUMeshCorbaInterface : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_ParaMEDCouplingUMeshCorbaInterface() : _OMNI_NS(proxyObjectFactory)(ParaMEDCouplingUMeshCorbaInterface::_PD_repoId) {}
    virtual ~_pof_ParaMEDCouplingUMeshCorbaInterface();

    virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
    virtual _CORBA_Boolean is_a(const char*) const;
  };

  class _impl_ParaMEDCouplingUMeshCorbaInterface :
    public virtual _impl_MEDCouplingUMeshCorbaInterface,
    public virtual Engines::_impl_MPIObject
  {
  public:
    virtual ~_impl_ParaMEDCouplingUMeshCorbaInterface();

    
    
  public:  // Really protected, workaround for xlC
    virtual _CORBA_Boolean _dispatch(omniCallHandle&);

  private:
    virtual void* _ptrToInterface(const char*);
    virtual const char* _mostDerivedRepoId();
    
  };


  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ParaMEDCouplingUMeshCorbaInterface;

#ifndef __SALOME__MED_mParaMEDCouplingFieldDoubleCorbaInterface__
#define __SALOME__MED_mParaMEDCouplingFieldDoubleCorbaInterface__

  class ParaMEDCouplingFieldDoubleCorbaInterface;
  class _objref_ParaMEDCouplingFieldDoubleCorbaInterface;
  class _impl_ParaMEDCouplingFieldDoubleCorbaInterface;
  
  typedef _objref_ParaMEDCouplingFieldDoubleCorbaInterface* ParaMEDCouplingFieldDoubleCorbaInterface_ptr;
  typedef ParaMEDCouplingFieldDoubleCorbaInterface_ptr ParaMEDCouplingFieldDoubleCorbaInterfaceRef;

  class ParaMEDCouplingFieldDoubleCorbaInterface_Helper {
  public:
    typedef ParaMEDCouplingFieldDoubleCorbaInterface_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_ParaMEDCouplingFieldDoubleCorbaInterface, ParaMEDCouplingFieldDoubleCorbaInterface_Helper> ParaMEDCouplingFieldDoubleCorbaInterface_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_ParaMEDCouplingFieldDoubleCorbaInterface,ParaMEDCouplingFieldDoubleCorbaInterface_Helper > ParaMEDCouplingFieldDoubleCorbaInterface_out;

#endif

  // interface ParaMEDCouplingFieldDoubleCorbaInterface
  class ParaMEDCouplingFieldDoubleCorbaInterface {
  public:
    // Declarations for this interface type.
    typedef ParaMEDCouplingFieldDoubleCorbaInterface_ptr _ptr_type;
    typedef ParaMEDCouplingFieldDoubleCorbaInterface_var _var_type;

    static _ptr_type _duplicate(_ptr_type);
    static _ptr_type _narrow(::CORBA::Object_ptr);
    static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
    
    static _ptr_type _nil();

    static inline void _marshalObjRef(_ptr_type, cdrStream&);

    static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
      omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
      if (o)
        return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
      else
        return _nil();
    }

    static _core_attr const char* _PD_repoId;

    // Other IDL defined within this scope.
    
  };

  class _objref_ParaMEDCouplingFieldDoubleCorbaInterface :
    public virtual _objref_MEDCouplingFieldDoubleCorbaInterface,
    public virtual Engines::_objref_MPIObject
  {
  public:
    

    inline _objref_ParaMEDCouplingFieldDoubleCorbaInterface()  { _PR_setobj(0); }  // nil
    _objref_ParaMEDCouplingFieldDoubleCorbaInterface(omniIOR*, omniIdentity*);

  protected:
    virtual ~_objref_ParaMEDCouplingFieldDoubleCorbaInterface();

    
  private:
    virtual void* _ptrToObjRef(const char*);

    _objref_ParaMEDCouplingFieldDoubleCorbaInterface(const _objref_ParaMEDCouplingFieldDoubleCorbaInterface&);
    _objref_ParaMEDCouplingFieldDoubleCorbaInterface& operator = (const _objref_ParaMEDCouplingFieldDoubleCorbaInterface&);
    // not implemented

    friend class ParaMEDCouplingFieldDoubleCorbaInterface;
  };

  class _pof_ParaMEDCouplingFieldDoubleCorbaInterface : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_ParaMEDCouplingFieldDoubleCorbaInterface() : _OMNI_NS(proxyObjectFactory)(ParaMEDCouplingFieldDoubleCorbaInterface::_PD_repoId) {}
    virtual ~_pof_ParaMEDCouplingFieldDoubleCorbaInterface();

    virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
    virtual _CORBA_Boolean is_a(const char*) const;
  };

  class _impl_ParaMEDCouplingFieldDoubleCorbaInterface :
    public virtual _impl_MEDCouplingFieldDoubleCorbaInterface,
    public virtual Engines::_impl_MPIObject
  {
  public:
    virtual ~_impl_ParaMEDCouplingFieldDoubleCorbaInterface();

    
    
  public:  // Really protected, workaround for xlC
    virtual _CORBA_Boolean _dispatch(omniCallHandle&);

  private:
    virtual void* _ptrToInterface(const char*);
    virtual const char* _mostDerivedRepoId();
    
  };


  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ParaMEDCouplingFieldDoubleCorbaInterface;

_CORBA_MODULE_END



_CORBA_MODULE POA_SALOME_MED
_CORBA_MODULE_BEG

  class ParaMEDCouplingUMeshCorbaInterface :
    public virtual SALOME_MED::_impl_ParaMEDCouplingUMeshCorbaInterface,
    public virtual MEDCouplingUMeshCorbaInterface,
      public virtual POA_Engines::MPIObject
  {
  public:
    virtual ~ParaMEDCouplingUMeshCorbaInterface();

    inline ::SALOME_MED::ParaMEDCouplingUMeshCorbaInterface_ptr _this() {
      return (::SALOME_MED::ParaMEDCouplingUMeshCorbaInterface_ptr) _do_this(::SALOME_MED::ParaMEDCouplingUMeshCorbaInterface::_PD_repoId);
    }
  };

  class ParaMEDCouplingFieldDoubleCorbaInterface :
    public virtual SALOME_MED::_impl_ParaMEDCouplingFieldDoubleCorbaInterface,
    public virtual MEDCouplingFieldDoubleCorbaInterface,
      public virtual POA_Engines::MPIObject
  {
  public:
    virtual ~ParaMEDCouplingFieldDoubleCorbaInterface();

    inline ::SALOME_MED::ParaMEDCouplingFieldDoubleCorbaInterface_ptr _this() {
      return (::SALOME_MED::ParaMEDCouplingFieldDoubleCorbaInterface_ptr) _do_this(::SALOME_MED::ParaMEDCouplingFieldDoubleCorbaInterface::_PD_repoId);
    }
  };

_CORBA_MODULE_END



_CORBA_MODULE OBV_SALOME_MED
_CORBA_MODULE_BEG

_CORBA_MODULE_END





#undef _core_attr
#undef _dyn_attr

void operator<<=(::CORBA::Any& _a, SALOME_MED::ParaMEDCouplingUMeshCorbaInterface_ptr _s);
void operator<<=(::CORBA::Any& _a, SALOME_MED::ParaMEDCouplingUMeshCorbaInterface_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOME_MED::ParaMEDCouplingUMeshCorbaInterface_ptr& _s);

void operator<<=(::CORBA::Any& _a, SALOME_MED::ParaMEDCouplingFieldDoubleCorbaInterface_ptr _s);
void operator<<=(::CORBA::Any& _a, SALOME_MED::ParaMEDCouplingFieldDoubleCorbaInterface_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOME_MED::ParaMEDCouplingFieldDoubleCorbaInterface_ptr& _s);



inline void
SALOME_MED::ParaMEDCouplingUMeshCorbaInterface::_marshalObjRef(::SALOME_MED::ParaMEDCouplingUMeshCorbaInterface_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}


inline void
SALOME_MED::ParaMEDCouplingFieldDoubleCorbaInterface::_marshalObjRef(::SALOME_MED::ParaMEDCouplingFieldDoubleCorbaInterface_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}




#ifdef   USE_stub_in_nt_dll_NOT_DEFINED_ParaMEDCouplingCorbaServant
# undef  USE_stub_in_nt_dll
# undef  USE_stub_in_nt_dll_NOT_DEFINED_ParaMEDCouplingCorbaServant
#endif
#ifdef   USE_core_stub_in_nt_dll_NOT_DEFINED_ParaMEDCouplingCorbaServant
# undef  USE_core_stub_in_nt_dll
# undef  USE_core_stub_in_nt_dll_NOT_DEFINED_ParaMEDCouplingCorbaServant
#endif
#ifdef   USE_dyn_stub_in_nt_dll_NOT_DEFINED_ParaMEDCouplingCorbaServant
# undef  USE_dyn_stub_in_nt_dll
# undef  USE_dyn_stub_in_nt_dll_NOT_DEFINED_ParaMEDCouplingCorbaServant
#endif

#endif  // __ParaMEDCouplingCorbaServant_hh__

