// This file is generated by omniidl (C++ backend)- omniORB_4_1. Do not edit.
#ifndef __MEDCouplingCorbaServant_hh__
#define __MEDCouplingCorbaServant_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_MEDCouplingCorbaServant
#endif
#ifndef  USE_core_stub_in_nt_dll
# define USE_core_stub_in_nt_dll_NOT_DEFINED_MEDCouplingCorbaServant
#endif
#ifndef  USE_dyn_stub_in_nt_dll
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_MEDCouplingCorbaServant
#endif



#ifndef __SALOME__GenericObj_hh_EXTERNAL_GUARD__
#define __SALOME__GenericObj_hh_EXTERNAL_GUARD__
#include <SALOME_GenericObj.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

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_long_array;

  class long_array_var;

  class long_array : public _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Long, 4, 4 >  {
  public:
    typedef long_array_var _var_type;
    inline long_array() {}
    inline long_array(const long_array& _s)
      : _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Long, 4, 4 > (_s) {}

    inline long_array(_CORBA_ULong _max)
      : _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Long, 4, 4 > (_max) {}
    inline long_array(_CORBA_ULong _max, _CORBA_ULong _len, ::CORBA::Long* _val, _CORBA_Boolean _rel=0)
      : _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Long, 4, 4 > (_max, _len, _val, _rel) {}

  

    inline long_array& operator = (const long_array& _s) {
      _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Long, 4, 4 > ::operator=(_s);
      return *this;
    }
  };

  class long_array_out;

  class long_array_var {
  public:
    inline long_array_var() : _pd_seq(0) {}
    inline long_array_var(long_array* _s) : _pd_seq(_s) {}
    inline long_array_var(const long_array_var& _s) {
      if( _s._pd_seq )  _pd_seq = new long_array(*_s._pd_seq);
      else              _pd_seq = 0;
    }
    inline ~long_array_var() { if( _pd_seq )  delete _pd_seq; }
      
    inline long_array_var& operator = (long_array* _s) {
      if( _pd_seq )  delete _pd_seq;
      _pd_seq = _s;
      return *this;
    }
    inline long_array_var& operator = (const long_array_var& _s) {
      if( _s._pd_seq ) {
        if( !_pd_seq )  _pd_seq = new long_array;
        *_pd_seq = *_s._pd_seq;
      } else if( _pd_seq ) {
        delete _pd_seq;
        _pd_seq = 0;
      }
      return *this;
    }
    inline ::CORBA::Long& operator [] (_CORBA_ULong _s) {
      return (*_pd_seq)[_s];
    }

  

    inline long_array* operator -> () { return _pd_seq; }
    inline const long_array* operator -> () const { return _pd_seq; }
#if defined(__GNUG__)
    inline operator long_array& () const { return *_pd_seq; }
#else
    inline operator const long_array& () const { return *_pd_seq; }
    inline operator long_array& () { return *_pd_seq; }
#endif
      
    inline const long_array& in() const { return *_pd_seq; }
    inline long_array&       inout()    { return *_pd_seq; }
    inline long_array*&      out() {
      if( _pd_seq ) { delete _pd_seq; _pd_seq = 0; }
      return _pd_seq;
    }
    inline long_array* _retn() { long_array* tmp = _pd_seq; _pd_seq = 0; return tmp; }
      
    friend class long_array_out;
    
  private:
    long_array* _pd_seq;
  };

  class long_array_out {
  public:
    inline long_array_out(long_array*& _s) : _data(_s) { _data = 0; }
    inline long_array_out(long_array_var& _s)
      : _data(_s._pd_seq) { _s = (long_array*) 0; }
    inline long_array_out(const long_array_out& _s) : _data(_s._data) {}
    inline long_array_out& operator = (const long_array_out& _s) {
      _data = _s._data;
      return *this;
    }
    inline long_array_out& operator = (long_array* _s) {
      _data = _s;
      return *this;
    }
    inline operator long_array*&()  { return _data; }
    inline long_array*& ptr()       { return _data; }
    inline long_array* operator->() { return _data; }

    inline ::CORBA::Long& operator [] (_CORBA_ULong _i) {
      return (*_data)[_i];
    }

  

    long_array*& _data;

  private:
    long_array_out();
    long_array_out& operator=(const long_array_var&);
  };

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_double_array;

  class double_array_var;

  class double_array : public _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Double, 8, 8 >  {
  public:
    typedef double_array_var _var_type;
    inline double_array() {}
    inline double_array(const double_array& _s)
      : _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Double, 8, 8 > (_s) {}

    inline double_array(_CORBA_ULong _max)
      : _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Double, 8, 8 > (_max) {}
    inline double_array(_CORBA_ULong _max, _CORBA_ULong _len, ::CORBA::Double* _val, _CORBA_Boolean _rel=0)
      : _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Double, 8, 8 > (_max, _len, _val, _rel) {}

  

    inline double_array& operator = (const double_array& _s) {
      _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Double, 8, 8 > ::operator=(_s);
      return *this;
    }
  };

  class double_array_out;

  class double_array_var {
  public:
    inline double_array_var() : _pd_seq(0) {}
    inline double_array_var(double_array* _s) : _pd_seq(_s) {}
    inline double_array_var(const double_array_var& _s) {
      if( _s._pd_seq )  _pd_seq = new double_array(*_s._pd_seq);
      else              _pd_seq = 0;
    }
    inline ~double_array_var() { if( _pd_seq )  delete _pd_seq; }
      
    inline double_array_var& operator = (double_array* _s) {
      if( _pd_seq )  delete _pd_seq;
      _pd_seq = _s;
      return *this;
    }
    inline double_array_var& operator = (const double_array_var& _s) {
      if( _s._pd_seq ) {
        if( !_pd_seq )  _pd_seq = new double_array;
        *_pd_seq = *_s._pd_seq;
      } else if( _pd_seq ) {
        delete _pd_seq;
        _pd_seq = 0;
      }
      return *this;
    }
    inline ::CORBA::Double& operator [] (_CORBA_ULong _s) {
      return (*_pd_seq)[_s];
    }

  

    inline double_array* operator -> () { return _pd_seq; }
    inline const double_array* operator -> () const { return _pd_seq; }
#if defined(__GNUG__)
    inline operator double_array& () const { return *_pd_seq; }
#else
    inline operator const double_array& () const { return *_pd_seq; }
    inline operator double_array& () { return *_pd_seq; }
#endif
      
    inline const double_array& in() const { return *_pd_seq; }
    inline double_array&       inout()    { return *_pd_seq; }
    inline double_array*&      out() {
      if( _pd_seq ) { delete _pd_seq; _pd_seq = 0; }
      return _pd_seq;
    }
    inline double_array* _retn() { double_array* tmp = _pd_seq; _pd_seq = 0; return tmp; }
      
    friend class double_array_out;
    
  private:
    double_array* _pd_seq;
  };

  class double_array_out {
  public:
    inline double_array_out(double_array*& _s) : _data(_s) { _data = 0; }
    inline double_array_out(double_array_var& _s)
      : _data(_s._pd_seq) { _s = (double_array*) 0; }
    inline double_array_out(const double_array_out& _s) : _data(_s._data) {}
    inline double_array_out& operator = (const double_array_out& _s) {
      _data = _s._data;
      return *this;
    }
    inline double_array_out& operator = (double_array* _s) {
      _data = _s;
      return *this;
    }
    inline operator double_array*&()  { return _data; }
    inline double_array*& ptr()       { return _data; }
    inline double_array* operator->() { return _data; }

    inline ::CORBA::Double& operator [] (_CORBA_ULong _i) {
      return (*_data)[_i];
    }

  

    double_array*& _data;

  private:
    double_array_out();
    double_array_out& operator=(const double_array_var&);
  };

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_string_array;

  class string_array_var;

  class string_array : public _CORBA_Unbounded_Sequence_String {
  public:
    typedef string_array_var _var_type;
    inline string_array() {}
    inline string_array(const string_array& _s)
      : _CORBA_Unbounded_Sequence_String(_s) {}

    inline string_array(_CORBA_ULong _max)
      : _CORBA_Unbounded_Sequence_String(_max) {}
    inline string_array(_CORBA_ULong _max, _CORBA_ULong _len, char** _val, _CORBA_Boolean _rel=0)
      : _CORBA_Unbounded_Sequence_String(_max, _len, _val, _rel) {}

  

    inline string_array& operator = (const string_array& _s) {
      _CORBA_Unbounded_Sequence_String::operator=(_s);
      return *this;
    }
  };

  class string_array_out;

  class string_array_var {
  public:
    inline string_array_var() : _pd_seq(0) {}
    inline string_array_var(string_array* _s) : _pd_seq(_s) {}
    inline string_array_var(const string_array_var& _s) {
      if( _s._pd_seq )  _pd_seq = new string_array(*_s._pd_seq);
      else              _pd_seq = 0;
    }
    inline ~string_array_var() { if( _pd_seq )  delete _pd_seq; }
      
    inline string_array_var& operator = (string_array* _s) {
      if( _pd_seq )  delete _pd_seq;
      _pd_seq = _s;
      return *this;
    }
    inline string_array_var& operator = (const string_array_var& _s) {
      if( _s._pd_seq ) {
        if( !_pd_seq )  _pd_seq = new string_array;
        *_pd_seq = *_s._pd_seq;
      } else if( _pd_seq ) {
        delete _pd_seq;
        _pd_seq = 0;
      }
      return *this;
    }
    inline _CORBA_String_element operator [] (_CORBA_ULong _s) {
      return (*_pd_seq)[_s];
    }

  

    inline string_array* operator -> () { return _pd_seq; }
    inline const string_array* operator -> () const { return _pd_seq; }
#if defined(__GNUG__)
    inline operator string_array& () const { return *_pd_seq; }
#else
    inline operator const string_array& () const { return *_pd_seq; }
    inline operator string_array& () { return *_pd_seq; }
#endif
      
    inline const string_array& in() const { return *_pd_seq; }
    inline string_array&       inout()    { return *_pd_seq; }
    inline string_array*&      out() {
      if( _pd_seq ) { delete _pd_seq; _pd_seq = 0; }
      return _pd_seq;
    }
    inline string_array* _retn() { string_array* tmp = _pd_seq; _pd_seq = 0; return tmp; }
      
    friend class string_array_out;
    
  private:
    string_array* _pd_seq;
  };

  class string_array_out {
  public:
    inline string_array_out(string_array*& _s) : _data(_s) { _data = 0; }
    inline string_array_out(string_array_var& _s)
      : _data(_s._pd_seq) { _s = (string_array*) 0; }
    inline string_array_out(const string_array_out& _s) : _data(_s._data) {}
    inline string_array_out& operator = (const string_array_out& _s) {
      _data = _s._data;
      return *this;
    }
    inline string_array_out& operator = (string_array* _s) {
      _data = _s;
      return *this;
    }
    inline operator string_array*&()  { return _data; }
    inline string_array*& ptr()       { return _data; }
    inline string_array* operator->() { return _data; }

    inline _CORBA_String_element operator [] (_CORBA_ULong _i) {
      return (*_data)[_i];
    }

  

    string_array*& _data;

  private:
    string_array_out();
    string_array_out& operator=(const string_array_var&);
  };

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_double_array2;

  class double_array2_var;

  class double_array2 : public _CORBA_Unbounded_Sequence< double_array >  {
  public:
    typedef double_array2_var _var_type;
    inline double_array2() {}
    inline double_array2(const double_array2& _s)
      : _CORBA_Unbounded_Sequence< double_array > (_s) {}

    inline double_array2(_CORBA_ULong _max)
      : _CORBA_Unbounded_Sequence< double_array > (_max) {}
    inline double_array2(_CORBA_ULong _max, _CORBA_ULong _len, double_array* _val, _CORBA_Boolean _rel=0)
      : _CORBA_Unbounded_Sequence< double_array > (_max, _len, _val, _rel) {}

  

    inline double_array2& operator = (const double_array2& _s) {
      _CORBA_Unbounded_Sequence< double_array > ::operator=(_s);
      return *this;
    }
  };

  class double_array2_out;

  class double_array2_var {
  public:
    inline double_array2_var() : _pd_seq(0) {}
    inline double_array2_var(double_array2* _s) : _pd_seq(_s) {}
    inline double_array2_var(const double_array2_var& _s) {
      if( _s._pd_seq )  _pd_seq = new double_array2(*_s._pd_seq);
      else              _pd_seq = 0;
    }
    inline ~double_array2_var() { if( _pd_seq )  delete _pd_seq; }
      
    inline double_array2_var& operator = (double_array2* _s) {
      if( _pd_seq )  delete _pd_seq;
      _pd_seq = _s;
      return *this;
    }
    inline double_array2_var& operator = (const double_array2_var& _s) {
      if( _s._pd_seq ) {
        if( !_pd_seq )  _pd_seq = new double_array2;
        *_pd_seq = *_s._pd_seq;
      } else if( _pd_seq ) {
        delete _pd_seq;
        _pd_seq = 0;
      }
      return *this;
    }
    inline double_array& operator [] (_CORBA_ULong _s) {
      return (*_pd_seq)[_s];
    }

  

    inline double_array2* operator -> () { return _pd_seq; }
    inline const double_array2* operator -> () const { return _pd_seq; }
#if defined(__GNUG__)
    inline operator double_array2& () const { return *_pd_seq; }
#else
    inline operator const double_array2& () const { return *_pd_seq; }
    inline operator double_array2& () { return *_pd_seq; }
#endif
      
    inline const double_array2& in() const { return *_pd_seq; }
    inline double_array2&       inout()    { return *_pd_seq; }
    inline double_array2*&      out() {
      if( _pd_seq ) { delete _pd_seq; _pd_seq = 0; }
      return _pd_seq;
    }
    inline double_array2* _retn() { double_array2* tmp = _pd_seq; _pd_seq = 0; return tmp; }
      
    friend class double_array2_out;
    
  private:
    double_array2* _pd_seq;
  };

  class double_array2_out {
  public:
    inline double_array2_out(double_array2*& _s) : _data(_s) { _data = 0; }
    inline double_array2_out(double_array2_var& _s)
      : _data(_s._pd_seq) { _s = (double_array2*) 0; }
    inline double_array2_out(const double_array2_out& _s) : _data(_s._data) {}
    inline double_array2_out& operator = (const double_array2_out& _s) {
      _data = _s._data;
      return *this;
    }
    inline double_array2_out& operator = (double_array2* _s) {
      _data = _s;
      return *this;
    }
    inline operator double_array2*&()  { return _data; }
    inline double_array2*& ptr()       { return _data; }
    inline double_array2* operator->() { return _data; }

    inline double_array& operator [] (_CORBA_ULong _i) {
      return (*_data)[_i];
    }

  

    double_array2*& _data;

  private:
    double_array2_out();
    double_array2_out& operator=(const double_array2_var&);
  };

#ifndef __SALOME__MED_mMEDCouplingMeshCorbaInterface__
#define __SALOME__MED_mMEDCouplingMeshCorbaInterface__

  class MEDCouplingMeshCorbaInterface;
  class _objref_MEDCouplingMeshCorbaInterface;
  class _impl_MEDCouplingMeshCorbaInterface;
  
  typedef _objref_MEDCouplingMeshCorbaInterface* MEDCouplingMeshCorbaInterface_ptr;
  typedef MEDCouplingMeshCorbaInterface_ptr MEDCouplingMeshCorbaInterfaceRef;

  class MEDCouplingMeshCorbaInterface_Helper {
  public:
    typedef MEDCouplingMeshCorbaInterface_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_MEDCouplingMeshCorbaInterface, MEDCouplingMeshCorbaInterface_Helper> MEDCouplingMeshCorbaInterface_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_MEDCouplingMeshCorbaInterface,MEDCouplingMeshCorbaInterface_Helper > MEDCouplingMeshCorbaInterface_out;

#endif

  // interface MEDCouplingMeshCorbaInterface
  class MEDCouplingMeshCorbaInterface {
  public:
    // Declarations for this interface type.
    typedef MEDCouplingMeshCorbaInterface_ptr _ptr_type;
    typedef MEDCouplingMeshCorbaInterface_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_MEDCouplingMeshCorbaInterface :
    public virtual SALOME::_objref_GenericObj
  {
  public:
    

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

  protected:
    virtual ~_objref_MEDCouplingMeshCorbaInterface();

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

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

    friend class MEDCouplingMeshCorbaInterface;
  };

  class _pof_MEDCouplingMeshCorbaInterface : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_MEDCouplingMeshCorbaInterface() : _OMNI_NS(proxyObjectFactory)(MEDCouplingMeshCorbaInterface::_PD_repoId) {}
    virtual ~_pof_MEDCouplingMeshCorbaInterface();

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

  class _impl_MEDCouplingMeshCorbaInterface :
    public virtual SALOME::_impl_GenericObj
  {
  public:
    virtual ~_impl_MEDCouplingMeshCorbaInterface();

    
    
  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_MEDCouplingMeshCorbaInterface;

#ifndef __SALOME__MED_mMEDCouplingPointSetCorbaInterface__
#define __SALOME__MED_mMEDCouplingPointSetCorbaInterface__

  class MEDCouplingPointSetCorbaInterface;
  class _objref_MEDCouplingPointSetCorbaInterface;
  class _impl_MEDCouplingPointSetCorbaInterface;
  
  typedef _objref_MEDCouplingPointSetCorbaInterface* MEDCouplingPointSetCorbaInterface_ptr;
  typedef MEDCouplingPointSetCorbaInterface_ptr MEDCouplingPointSetCorbaInterfaceRef;

  class MEDCouplingPointSetCorbaInterface_Helper {
  public:
    typedef MEDCouplingPointSetCorbaInterface_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_MEDCouplingPointSetCorbaInterface, MEDCouplingPointSetCorbaInterface_Helper> MEDCouplingPointSetCorbaInterface_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_MEDCouplingPointSetCorbaInterface,MEDCouplingPointSetCorbaInterface_Helper > MEDCouplingPointSetCorbaInterface_out;

#endif

  // interface MEDCouplingPointSetCorbaInterface
  class MEDCouplingPointSetCorbaInterface {
  public:
    // Declarations for this interface type.
    typedef MEDCouplingPointSetCorbaInterface_ptr _ptr_type;
    typedef MEDCouplingPointSetCorbaInterface_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_MEDCouplingPointSetCorbaInterface :
    public virtual _objref_MEDCouplingMeshCorbaInterface
  {
  public:
    void getTinyInfo(::SALOME_MED::long_array_out la, ::SALOME_MED::string_array_out sa);
    void getSerialisationData(::SALOME_MED::long_array_out la, ::SALOME_MED::double_array_out da);

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

  protected:
    virtual ~_objref_MEDCouplingPointSetCorbaInterface();

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

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

    friend class MEDCouplingPointSetCorbaInterface;
  };

  class _pof_MEDCouplingPointSetCorbaInterface : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_MEDCouplingPointSetCorbaInterface() : _OMNI_NS(proxyObjectFactory)(MEDCouplingPointSetCorbaInterface::_PD_repoId) {}
    virtual ~_pof_MEDCouplingPointSetCorbaInterface();

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

  class _impl_MEDCouplingPointSetCorbaInterface :
    public virtual _impl_MEDCouplingMeshCorbaInterface
  {
  public:
    virtual ~_impl_MEDCouplingPointSetCorbaInterface();

    virtual void getTinyInfo(::SALOME_MED::long_array_out la, ::SALOME_MED::string_array_out sa) = 0;
    virtual void getSerialisationData(::SALOME_MED::long_array_out la, ::SALOME_MED::double_array_out da) = 0;
    
  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_MEDCouplingPointSetCorbaInterface;

#ifndef __SALOME__MED_mMEDCouplingUMeshCorbaInterface__
#define __SALOME__MED_mMEDCouplingUMeshCorbaInterface__

  class MEDCouplingUMeshCorbaInterface;
  class _objref_MEDCouplingUMeshCorbaInterface;
  class _impl_MEDCouplingUMeshCorbaInterface;
  
  typedef _objref_MEDCouplingUMeshCorbaInterface* MEDCouplingUMeshCorbaInterface_ptr;
  typedef MEDCouplingUMeshCorbaInterface_ptr MEDCouplingUMeshCorbaInterfaceRef;

  class MEDCouplingUMeshCorbaInterface_Helper {
  public:
    typedef MEDCouplingUMeshCorbaInterface_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_MEDCouplingUMeshCorbaInterface, MEDCouplingUMeshCorbaInterface_Helper> MEDCouplingUMeshCorbaInterface_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_MEDCouplingUMeshCorbaInterface,MEDCouplingUMeshCorbaInterface_Helper > MEDCouplingUMeshCorbaInterface_out;

#endif

  // interface MEDCouplingUMeshCorbaInterface
  class MEDCouplingUMeshCorbaInterface {
  public:
    // Declarations for this interface type.
    typedef MEDCouplingUMeshCorbaInterface_ptr _ptr_type;
    typedef MEDCouplingUMeshCorbaInterface_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_MEDCouplingUMeshCorbaInterface :
    public virtual _objref_MEDCouplingPointSetCorbaInterface
  {
  public:
    

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

  protected:
    virtual ~_objref_MEDCouplingUMeshCorbaInterface();

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

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

    friend class MEDCouplingUMeshCorbaInterface;
  };

  class _pof_MEDCouplingUMeshCorbaInterface : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_MEDCouplingUMeshCorbaInterface() : _OMNI_NS(proxyObjectFactory)(MEDCouplingUMeshCorbaInterface::_PD_repoId) {}
    virtual ~_pof_MEDCouplingUMeshCorbaInterface();

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

  class _impl_MEDCouplingUMeshCorbaInterface :
    public virtual _impl_MEDCouplingPointSetCorbaInterface
  {
  public:
    virtual ~_impl_MEDCouplingUMeshCorbaInterface();

    
    
  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_MEDCouplingUMeshCorbaInterface;

#ifndef __SALOME__MED_mMEDCouplingFieldCorbaInterface__
#define __SALOME__MED_mMEDCouplingFieldCorbaInterface__

  class MEDCouplingFieldCorbaInterface;
  class _objref_MEDCouplingFieldCorbaInterface;
  class _impl_MEDCouplingFieldCorbaInterface;
  
  typedef _objref_MEDCouplingFieldCorbaInterface* MEDCouplingFieldCorbaInterface_ptr;
  typedef MEDCouplingFieldCorbaInterface_ptr MEDCouplingFieldCorbaInterfaceRef;

  class MEDCouplingFieldCorbaInterface_Helper {
  public:
    typedef MEDCouplingFieldCorbaInterface_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_MEDCouplingFieldCorbaInterface, MEDCouplingFieldCorbaInterface_Helper> MEDCouplingFieldCorbaInterface_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_MEDCouplingFieldCorbaInterface,MEDCouplingFieldCorbaInterface_Helper > MEDCouplingFieldCorbaInterface_out;

#endif

  // interface MEDCouplingFieldCorbaInterface
  class MEDCouplingFieldCorbaInterface {
  public:
    // Declarations for this interface type.
    typedef MEDCouplingFieldCorbaInterface_ptr _ptr_type;
    typedef MEDCouplingFieldCorbaInterface_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_MEDCouplingFieldCorbaInterface :
    public virtual SALOME::_objref_GenericObj
  {
  public:
    MEDCouplingMeshCorbaInterface_ptr getMesh();

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

  protected:
    virtual ~_objref_MEDCouplingFieldCorbaInterface();

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

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

    friend class MEDCouplingFieldCorbaInterface;
  };

  class _pof_MEDCouplingFieldCorbaInterface : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_MEDCouplingFieldCorbaInterface() : _OMNI_NS(proxyObjectFactory)(MEDCouplingFieldCorbaInterface::_PD_repoId) {}
    virtual ~_pof_MEDCouplingFieldCorbaInterface();

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

  class _impl_MEDCouplingFieldCorbaInterface :
    public virtual SALOME::_impl_GenericObj
  {
  public:
    virtual ~_impl_MEDCouplingFieldCorbaInterface();

    virtual MEDCouplingMeshCorbaInterface_ptr getMesh() = 0;
    
  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_MEDCouplingFieldCorbaInterface;

#ifndef __SALOME__MED_mMEDCouplingFieldDoubleCorbaInterface__
#define __SALOME__MED_mMEDCouplingFieldDoubleCorbaInterface__

  class MEDCouplingFieldDoubleCorbaInterface;
  class _objref_MEDCouplingFieldDoubleCorbaInterface;
  class _impl_MEDCouplingFieldDoubleCorbaInterface;
  
  typedef _objref_MEDCouplingFieldDoubleCorbaInterface* MEDCouplingFieldDoubleCorbaInterface_ptr;
  typedef MEDCouplingFieldDoubleCorbaInterface_ptr MEDCouplingFieldDoubleCorbaInterfaceRef;

  class MEDCouplingFieldDoubleCorbaInterface_Helper {
  public:
    typedef MEDCouplingFieldDoubleCorbaInterface_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_MEDCouplingFieldDoubleCorbaInterface, MEDCouplingFieldDoubleCorbaInterface_Helper> MEDCouplingFieldDoubleCorbaInterface_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_MEDCouplingFieldDoubleCorbaInterface,MEDCouplingFieldDoubleCorbaInterface_Helper > MEDCouplingFieldDoubleCorbaInterface_out;

#endif

  // interface MEDCouplingFieldDoubleCorbaInterface
  class MEDCouplingFieldDoubleCorbaInterface {
  public:
    // Declarations for this interface type.
    typedef MEDCouplingFieldDoubleCorbaInterface_ptr _ptr_type;
    typedef MEDCouplingFieldDoubleCorbaInterface_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_MEDCouplingFieldDoubleCorbaInterface :
    public virtual _objref_MEDCouplingFieldCorbaInterface
  {
  public:
    void getTinyInfo(::SALOME_MED::long_array_out la, ::SALOME_MED::double_array_out da, ::SALOME_MED::string_array_out sa);
    void getSerialisationData(::SALOME_MED::double_array2_out da2);

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

  protected:
    virtual ~_objref_MEDCouplingFieldDoubleCorbaInterface();

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

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

    friend class MEDCouplingFieldDoubleCorbaInterface;
  };

  class _pof_MEDCouplingFieldDoubleCorbaInterface : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_MEDCouplingFieldDoubleCorbaInterface() : _OMNI_NS(proxyObjectFactory)(MEDCouplingFieldDoubleCorbaInterface::_PD_repoId) {}
    virtual ~_pof_MEDCouplingFieldDoubleCorbaInterface();

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

  class _impl_MEDCouplingFieldDoubleCorbaInterface :
    public virtual _impl_MEDCouplingFieldCorbaInterface
  {
  public:
    virtual ~_impl_MEDCouplingFieldDoubleCorbaInterface();

    virtual void getTinyInfo(::SALOME_MED::long_array_out la, ::SALOME_MED::double_array_out da, ::SALOME_MED::string_array_out sa) = 0;
    virtual void getSerialisationData(::SALOME_MED::double_array2_out da2) = 0;
    
  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_MEDCouplingFieldDoubleCorbaInterface;

_CORBA_MODULE_END



_CORBA_MODULE POA_SALOME_MED
_CORBA_MODULE_BEG

  class MEDCouplingMeshCorbaInterface :
    public virtual SALOME_MED::_impl_MEDCouplingMeshCorbaInterface,
    public virtual POA_SALOME::GenericObj
  {
  public:
    virtual ~MEDCouplingMeshCorbaInterface();

    inline ::SALOME_MED::MEDCouplingMeshCorbaInterface_ptr _this() {
      return (::SALOME_MED::MEDCouplingMeshCorbaInterface_ptr) _do_this(::SALOME_MED::MEDCouplingMeshCorbaInterface::_PD_repoId);
    }
  };

  class MEDCouplingPointSetCorbaInterface :
    public virtual SALOME_MED::_impl_MEDCouplingPointSetCorbaInterface,
    public virtual MEDCouplingMeshCorbaInterface
  {
  public:
    virtual ~MEDCouplingPointSetCorbaInterface();

    inline ::SALOME_MED::MEDCouplingPointSetCorbaInterface_ptr _this() {
      return (::SALOME_MED::MEDCouplingPointSetCorbaInterface_ptr) _do_this(::SALOME_MED::MEDCouplingPointSetCorbaInterface::_PD_repoId);
    }
  };

  class MEDCouplingUMeshCorbaInterface :
    public virtual SALOME_MED::_impl_MEDCouplingUMeshCorbaInterface,
    public virtual MEDCouplingPointSetCorbaInterface
  {
  public:
    virtual ~MEDCouplingUMeshCorbaInterface();

    inline ::SALOME_MED::MEDCouplingUMeshCorbaInterface_ptr _this() {
      return (::SALOME_MED::MEDCouplingUMeshCorbaInterface_ptr) _do_this(::SALOME_MED::MEDCouplingUMeshCorbaInterface::_PD_repoId);
    }
  };

  class MEDCouplingFieldCorbaInterface :
    public virtual SALOME_MED::_impl_MEDCouplingFieldCorbaInterface,
    public virtual POA_SALOME::GenericObj
  {
  public:
    virtual ~MEDCouplingFieldCorbaInterface();

    inline ::SALOME_MED::MEDCouplingFieldCorbaInterface_ptr _this() {
      return (::SALOME_MED::MEDCouplingFieldCorbaInterface_ptr) _do_this(::SALOME_MED::MEDCouplingFieldCorbaInterface::_PD_repoId);
    }
  };

  class MEDCouplingFieldDoubleCorbaInterface :
    public virtual SALOME_MED::_impl_MEDCouplingFieldDoubleCorbaInterface,
    public virtual MEDCouplingFieldCorbaInterface
  {
  public:
    virtual ~MEDCouplingFieldDoubleCorbaInterface();

    inline ::SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr _this() {
      return (::SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr) _do_this(::SALOME_MED::MEDCouplingFieldDoubleCorbaInterface::_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, const SALOME_MED::long_array& _s);
void operator<<=(::CORBA::Any& _a, SALOME_MED::long_array* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOME_MED::long_array*& _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const SALOME_MED::long_array*& _sp);

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

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

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

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

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

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

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

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



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


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


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


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


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




#ifdef   USE_stub_in_nt_dll_NOT_DEFINED_MEDCouplingCorbaServant
# undef  USE_stub_in_nt_dll
# undef  USE_stub_in_nt_dll_NOT_DEFINED_MEDCouplingCorbaServant
#endif
#ifdef   USE_core_stub_in_nt_dll_NOT_DEFINED_MEDCouplingCorbaServant
# undef  USE_core_stub_in_nt_dll
# undef  USE_core_stub_in_nt_dll_NOT_DEFINED_MEDCouplingCorbaServant
#endif
#ifdef   USE_dyn_stub_in_nt_dll_NOT_DEFINED_MEDCouplingCorbaServant
# undef  USE_dyn_stub_in_nt_dll
# undef  USE_dyn_stub_in_nt_dll_NOT_DEFINED_MEDCouplingCorbaServant
#endif

#endif  // __MEDCouplingCorbaServant_hh__

