📄 sysprop.hh
字号:
// This file is generated by omniidl (C++ backend)- omniORB_4_0. Do not edit.
#ifndef __SysProp_hh__
#define __SysProp_hh__
#ifndef USE_omniORB_logStream
#define USE_omniORB_logStream
#endif
#ifndef __CORBA_H_EXTERNAL_GUARD__
#include <omniORB4/CORBA.h>
#endif
#ifndef USE_core_stub_in_nt_dll
# define USE_core_stub_in_nt_dll_NOT_DEFINED_SysProp
#endif
#ifndef USE_dyn_stub_in_nt_dll
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_SysProp
#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
#ifndef __SysProp__
#define __SysProp__
class SysProp;
class _objref_SysProp;
class _impl_SysProp;
typedef _objref_SysProp* SysProp_ptr;
typedef SysProp_ptr SysPropRef;
class SysProp_Helper {
public:
typedef SysProp_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_SysProp, SysProp_Helper> SysProp_var;
typedef _CORBA_ObjRef_OUT_arg<_objref_SysProp,SysProp_Helper > SysProp_out;
#endif
class SysProp {
public:
// Declarations for this interface type.
typedef SysProp_ptr _ptr_type;
typedef SysProp_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_SysProp :
public virtual CORBA::Object, public virtual omniObjRef
{
public:
char* getProperty(const char* name);
inline _objref_SysProp() { _PR_setobj(0); } // nil
_objref_SysProp(omniIOR*, omniIdentity*);
protected:
virtual ~_objref_SysProp();
private:
virtual void* _ptrToObjRef(const char*);
_objref_SysProp(const _objref_SysProp&);
_objref_SysProp& operator = (const _objref_SysProp&);
// not implemented
friend class SysProp;
};
class _pof_SysProp : public _OMNI_NS(proxyObjectFactory) {
public:
inline _pof_SysProp() : _OMNI_NS(proxyObjectFactory)(SysProp::_PD_repoId) {}
virtual ~_pof_SysProp();
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
virtual _CORBA_Boolean is_a(const char*) const;
};
class _impl_SysProp :
public virtual omniServant
{
public:
virtual ~_impl_SysProp();
virtual char* getProperty(const char* name) = 0;
public: // Really protected, workaround for xlC
virtual _CORBA_Boolean _dispatch(omniCallHandle&);
private:
virtual void* _ptrToInterface(const char*);
virtual const char* _mostDerivedRepoId();
};
class POA_SysProp :
public virtual _impl_SysProp,
public virtual PortableServer::ServantBase
{
public:
virtual ~POA_SysProp();
inline ::SysProp_ptr _this() {
return (::SysProp_ptr) _do_this(::SysProp::_PD_repoId);
}
};
#undef _core_attr
#undef _dyn_attr
inline void
SysProp::_marshalObjRef(::SysProp_ptr obj, cdrStream& s) {
omniObjRef::_marshal(obj->_PR_getobj(),s);
}
#ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_SysProp
# undef USE_core_stub_in_nt_dll
# undef USE_core_stub_in_nt_dll_NOT_DEFINED_SysProp
#endif
#ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_SysProp
# undef USE_dyn_stub_in_nt_dll
# undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_SysProp
#endif
#endif // __SysProp_hh__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -