// This file is generated by omniidl (C++ backend)- omniORB_4_3. Do not edit.
#ifndef pp_core_idl__path__projectors_hh__
#define pp_core_idl__path__projectors_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_path__projectors
#endif
#ifndef  USE_core_stub_in_nt_dll
# define USE_core_stub_in_nt_dll_NOT_DEFINED_path__projectors
#endif
#ifndef  USE_dyn_stub_in_nt_dll
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_path__projectors
#endif



#ifndef pp_core_idl__common_hh_EXTERNAL_GUARD__
#define pp_core_idl__common_hh_EXTERNAL_GUARD__
#include <hpp/common-idl.hh>
#endif
#ifndef pp_core_idl__paths_hh_EXTERNAL_GUARD__
#define pp_core_idl__paths_hh_EXTERNAL_GUARD__
#include <hpp/core_idl/paths-idl.hh>
#endif
#ifndef pp_core_idl__constraints_hh_EXTERNAL_GUARD__
#define pp_core_idl__constraints_hh_EXTERNAL_GUARD__
#include <hpp/constraints_idl/constraints-idl.hh>
#endif
#ifndef pp_core_idl____constraints_hh_EXTERNAL_GUARD__
#define pp_core_idl____constraints_hh_EXTERNAL_GUARD__
#include <hpp/core_idl/_constraints-idl.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 hpp

_CORBA_MODULE_BEG

  _CORBA_MODULE core_idl

  _CORBA_MODULE_BEG

#ifndef __hpp_mcore__idl_mPathProjector__
#define __hpp_mcore__idl_mPathProjector__
    class PathProjector;
    class _objref_PathProjector;
    class _impl_PathProjector;
    
    typedef _objref_PathProjector* PathProjector_ptr;
    typedef PathProjector_ptr PathProjectorRef;

    class PathProjector_Helper {
    public:
      typedef PathProjector_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_PathProjector, PathProjector_Helper> PathProjector_var;
    typedef _CORBA_ObjRef_OUT_arg<_objref_PathProjector,PathProjector_Helper > PathProjector_out;

#endif

    // interface PathProjector
    class PathProjector {
    public:
      // Declarations for this interface type.
      typedef PathProjector_ptr _ptr_type;
      typedef PathProjector_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 inline _ptr_type _fromObjRef(omniObjRef* o) {
        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_PathProjector :
      public virtual ::CORBA::Object,
      public virtual omniObjRef
    {
    public:
      // IDL operations
      void deleteThis();
      ::CORBA::Boolean deleteIfExpired();
      void persistantStorage(::CORBA::Boolean persistant);
      Path_ptr apply(::hpp::core_idl::Path_ptr input, ::CORBA::Boolean& success);

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

    protected:
      virtual ~_objref_PathProjector();

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

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

      friend class PathProjector;
    };

    class _pof_PathProjector : public _OMNI_NS(proxyObjectFactory) {
    public:
      inline _pof_PathProjector() : _OMNI_NS(proxyObjectFactory)(PathProjector::_PD_repoId) {}
      virtual ~_pof_PathProjector();

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

    class _impl_PathProjector :
      public virtual omniServant
    {
    public:
      virtual ~_impl_PathProjector();

      virtual void deleteThis() = 0;
      virtual ::CORBA::Boolean deleteIfExpired() = 0;
      virtual void persistantStorage(::CORBA::Boolean persistant) = 0;
      virtual Path_ptr apply(::hpp::core_idl::Path_ptr input, ::CORBA::Boolean& success) = 0;
      
    public:  // Really protected, workaround for xlC
      virtual _CORBA_Boolean _dispatch(omniCallHandle&);

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


  _CORBA_MODULE_END

_CORBA_MODULE_END



_CORBA_MODULE POA_hpp
_CORBA_MODULE_BEG

  _CORBA_MODULE core_idl
  _CORBA_MODULE_BEG

    class PathProjector :
      public virtual hpp::core_idl::_impl_PathProjector,
      public virtual ::PortableServer::ServantBase
    {
    public:
      virtual ~PathProjector();

      inline ::hpp::core_idl::PathProjector_ptr _this() {
        return (::hpp::core_idl::PathProjector_ptr) _do_this(::hpp::core_idl::PathProjector::_PD_repoId);
      }
    };

  _CORBA_MODULE_END

_CORBA_MODULE_END



_CORBA_MODULE OBV_hpp
_CORBA_MODULE_BEG

  _CORBA_MODULE core_idl
  _CORBA_MODULE_BEG

  _CORBA_MODULE_END

_CORBA_MODULE_END





#undef _core_attr
#undef _dyn_attr



inline void
hpp::core_idl::PathProjector::_marshalObjRef(::hpp::core_idl::PathProjector_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}



#ifdef   USE_stub_in_nt_dll_NOT_DEFINED_path__projectors
# undef  USE_stub_in_nt_dll
# undef  USE_stub_in_nt_dll_NOT_DEFINED_path__projectors
#endif
#ifdef   USE_core_stub_in_nt_dll_NOT_DEFINED_path__projectors
# undef  USE_core_stub_in_nt_dll
# undef  USE_core_stub_in_nt_dll_NOT_DEFINED_path__projectors
#endif
#ifdef   USE_dyn_stub_in_nt_dll_NOT_DEFINED_path__projectors
# undef  USE_dyn_stub_in_nt_dll
# undef  USE_dyn_stub_in_nt_dll_NOT_DEFINED_path__projectors
#endif

#endif  // __path__projectors_hh__

