[omniORB] String_var vs. String_member
Uri
uri@epitera.com
Mon, 16 Oct 2000 21:53:26 +0200
This is a multi-part message in MIME format.
--------------E6A8B0412D97C6BD1E2CCF52
Content-Type: multipart/alternative;
boundary="------------27B062714862F9F278FBF6F6"
--------------27B062714862F9F278FBF6F6
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hello,
Can somebody explain me the difference between String_var and
String_member.
If I compile the idl file (attached) with ORBACUS idl , anything that
was defined as string at idl is mapped to
CORBA::String_var .
The omniidl , in contrast , mappes it to CORBA::String_member .
Thanks,
Uri
--
People who are still ignorant of their ignorance are dangerous.
--------------27B062714862F9F278FBF6F6
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hello,
<br>Can somebody explain me the difference between String_var and String_member.
<br>If I compile the idl file (attached) with ORBACUS idl , anything that
was defined as string at idl is mapped to
<br>CORBA::String_var .
<br>The omniidl , in contrast , mappes it to CORBA::String_member .
<p>Thanks,
<br>Uri
<pre>--
People who are still ignorant of their ignorance are dangerous.</pre>
</html>
--------------27B062714862F9F278FBF6F6--
--------------E6A8B0412D97C6BD1E2CCF52
Content-Type: text/plain; charset=us-ascii;
name="DownloadData.idl"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="DownloadData.idl"
#ifndef __STRING_IDL__
#include "String.idl"
#endif
struct DownloadData {
long unique_id;
StringList URL_address;
string path;
long priority;
long download_status;
boolean auto_delete;
boolean resume;
string app_name;
};
--------------E6A8B0412D97C6BD1E2CCF52
Content-Type: text/plain; charset=us-ascii;
name="DownloadData.hh"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="DownloadData.hh"
// This file is generated by omniidl (C++ backend)- omniORB_3_0. Do not edit.
#ifndef __DownloadData_hh__
#define __DownloadData_hh__
#ifndef USE_omniORB_logStream
#define USE_omniORB_logStream
#endif
#ifndef __CORBA_H_EXTERNAL_GUARD__
#include <omniORB3/CORBA.h>
#endif
#ifndef USE_core_stub_in_nt_dll
# define USE_core_stub_in_nt_dll_NOT_DEFINED_DownloadData
#endif
#ifndef USE_dyn_stub_in_nt_dll
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_DownloadData
#endif
#ifndef __String_hh_EXTERNAL_GUARD__
#define __String_hh_EXTERNAL_GUARD__
#include <String.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
struct DownloadData {
typedef _CORBA_ConstrType_Variable_Var<DownloadData> _var_type;
CORBA::Long unique_id;
StringList URL_address;
CORBA::String_member path;
CORBA::Long priority;
CORBA::Long download_status;
CORBA::Boolean auto_delete;
CORBA::Boolean resume;
CORBA::String_member app_name;
size_t _NP_alignedSize(size_t initialoffset) const;
void operator>>= (NetBufferedStream &) const;
void operator<<= (NetBufferedStream &);
void operator>>= (MemBufferedStream &) const;
void operator<<= (MemBufferedStream &);
};
typedef DownloadData::_var_type DownloadData_var;
typedef _CORBA_ConstrType_Variable_OUT_arg< DownloadData,DownloadData_var > DownloadData_out;
_CORBA_GLOBAL_VAR _dyn_attr const CORBA::TypeCode_ptr _tc_DownloadData;
#undef _core_attr
#undef _dyn_attr
extern void operator<<=(CORBA::Any& _a, const DownloadData& _s);
extern void operator<<=(CORBA::Any& _a, DownloadData* _sp);
extern CORBA::Boolean operator>>=(const CORBA::Any& _a, DownloadData*& _sp);
extern CORBA::Boolean operator>>=(const CORBA::Any& _a, const DownloadData*& _sp);
#ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_DownloadData
# undef USE_core_stub_in_nt_dll
# undef USE_core_stub_in_nt_dll_NOT_DEFINED_DownloadData
#endif
#ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_DownloadData
# undef USE_dyn_stub_in_nt_dll
# undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_DownloadData
#endif
#endif // __DownloadData_hh__
--------------E6A8B0412D97C6BD1E2CCF52--