From etch-user-returncarriebrown@example.net Mon Nov 16 11:28:20 2009
Return-Path: <etch-user-returncarriebrown@example.net>
Delivered-To: carriebrown@example.net
Received: (qmail 62421 invoked from network); 16 Nov 2009 11:28:19 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 16 Nov 2009 11:28:19 -0000
Received: (qmail 89350 invoked by uid 500); 16 Nov 2009 11:28:19 -0000
Delivered-To: carriebrown@example.net
Received: (qmail 89313 invoked by uid 500); 16 Nov 2009 11:28:19 -0000
Mailing-List: contact carriebrown@example.net; run by ezmlm
Precedence: bulk
List-Help: <mailto:carriebrown@example.net>
List-Unsubscribe: <mailto:carriebrown@example.net>
List-Post: <mailto:carriebrown@example.net>
List-Id: <etch-user.incubator.apache.org>
Reply-To: carriebrown@example.net
Delivered-To: mailing list carriebrown@example.net
Received: (qmail 89304 invoked by uid 99); 16 Nov 2009 11:28:19 -0000
Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 11:28:19 +0000
X-ASF-Spam-Status: No, hits=2.2 required=10.0
	tests=HTML_MESSAGE,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (nike.apache.org: domain of carriebrown@example.net designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO mail-pw0-f41.google.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 11:28:09 +0000
Received: by pwj1 with SMTP id 1so4277523pwj.20
        for <carriebrown@example.net>; Mon, 16 Nov 2009 03:27:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:date:message-id:subject
         :from:to:content-type;
        bh=CTF1DIO08KtgH+ssUsROaqoBec6Ty3RN+0E6dQzySRI=;
        b=cIpY1SQwaNcsRJ/yk+RpiVjB6rLyLF/bYQa9F8Aamrokuk48Ng09cmvhuETtZVaJQ9
         BrQRSrGfTkBYfaQXLyn2tVHWRPqq0xNwXkmxSexwTn7uSGOU2Yv4jU1oaTjBBs4dqcr5
         EycFIaalxgEXbqjOxo1bnwyXqpt29AuUWk2Tk=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:date:message-id:subject:from:to:content-type;
        b=MPMaT6qN/wc60AsDO8dT4GctmNMtNmuvGLJwKqqLKyWs6v3thWe3+g1IaK8y0M9P9c
         AbD/dZ2az/jPXKEnDQa4E7oWBCkU62MdrkzMAZ+Df4JC31UcozUWf7+aJ8ZBpcYeuvSO
         iJ5jdB+P0EQacslYvq8N3XhaT/AQcw+xVLnMg=
MIME-Version: 1.0
Received: by 83.161.120.155 with SMTP id b36mr780012wfj.14.1258370867959; Mon, 
	16 Nov 2009 03:27:47 -0800 (PST)
Date: Mon, 16 Nov 2009 16:57:47 +0530
Message-ID: <carriebrown@example.net>
Subject: ETCH Struct type clarifications
From: Ranganath s <carriebrown@example.net>
To: carriebrown@example.net
Content-Type: multipart/alternative; boundary=001636e1f9729496df04787b4cb2
X-Virus-Checked: Checked by ClamAV on apache.org

--001636e1f9729496df04787b4cb2
Content-Type: text/plain; charset=ISO-8859-1

Hi group,

  I am in the process of converting the CORBA IDL to the etch NSDL. We have
a struct type in the IDL some thing like this :-

     struct foo{
       int x;
       string xyz;
};
 typedef  sequence<foo> barfoo;

 In turn we use this barfoo some else where in the IDL to return type of
some method as follows :-

barfoo somemethod()
      raises
(com888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4lph888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4bet888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4something888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4something888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4xyz888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4MSCorbaException);


 So now if i have to make a translation  the struct foo  to etch struct is
straight forward like

 struct foo (int x , string xyz)

 Now how to i declare (as in the above corba idl ) the typedef sequence<foo>
barfoo


Kindly some one pls throw light on this and oblige


Thank you
Ranganath.S


-- 
I blog at http://ranganaths.wordpress.com

--001636e1f9729496df04787b4cb2
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi group,<br><br>=A0 I am in the process of converting the CORBA IDL to the=
 etch NSDL. We have a struct type in the IDL some thing like this :-<br><br=
>=A0=A0=A0=A0 struct foo{<br>=A0=A0=A0=A0=A0=A0 int x;<br>=A0=A0=A0=A0=A0=
=A0 string xyz;<br>};<br clear=3D"all">
=A0typedef=A0 sequence&lt;foo&gt; barfoo;<br><br>=A0In turn we use this bar=
foo some else where in the IDL to return type of some method as follows :-<=
br><br>barfoo somemethod()<br>=A0=A0=A0=A0=A0 raises (com888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4lph888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4bet888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4som=
ething888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4something888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4xyz888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4MSCorbaException);<br>
<br><br>=A0So now if i have to make a translation=A0 the struct foo=A0 to e=
tch struct is straight forward like <br><br>=A0struct foo (int x , string x=
yz)<br><br>=A0Now how to i declare (as in the above corba idl ) the typedef=
 sequence&lt;foo&gt; barfoo<br>
<br><br>Kindly some one pls throw light on this and oblige<br><br><br>Thank=
 you<br>Ranganath.S<br>=A0<br>=A0<br>-- <br>I blog at <a href=3D"http://ran=
ganaths.wordpress.com">http://ranganaths.wordpress.com</a><br>

--001636e1f9729496df04787b4cb2--

From etch-user-returncarriebrown@example.net Mon Nov 16 13:03:26 2009
Return-Path: <etch-user-returncarriebrown@example.net>
Delivered-To: carriebrown@example.net
Received: (qmail 93280 invoked from network); 16 Nov 2009 13:03:26 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 16 Nov 2009 13:03:26 -0000
Received: (qmail 90341 invoked by uid 500); 16 Nov 2009 13:03:26 -0000
Delivered-To: carriebrown@example.net
Received: (qmail 90304 invoked by uid 500); 16 Nov 2009 13:03:26 -0000
Mailing-List: contact carriebrown@example.net; run by ezmlm
Precedence: bulk
List-Help: <mailto:carriebrown@example.net>
List-Unsubscribe: <mailto:carriebrown@example.net>
List-Post: <mailto:carriebrown@example.net>
List-Id: <etch-user.incubator.apache.org>
Reply-To: carriebrown@example.net
Delivered-To: mailing list carriebrown@example.net
Received: (qmail 90295 invoked by uid 99); 16 Nov 2009 13:03:26 -0000
Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 13:03:26 +0000
X-ASF-Spam-Status: No, hits=-1.0 required=10.0
	tests=RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (nike.apache.org: domain of carriebrown@example.net designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO asmtpout018.mac.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 13:03:15 +0000
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Received: from [83.161.120.155] ([83.161.120.155])
 by asmtp018.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec
 16 2008; 32bit)) with ESMTPSA id <carriebrown@example.net> for
 carriebrown@example.net; Mon, 16 Nov 2009 05:02:54 -0800 (PST)
Message-id: <carriebrown@example.net>
Date: Mon, 16 Nov 2009 07:03:00 -0600
From: scott comer <carriebrown@example.net>
User-Agent: Thunderbird 83.161.120.155 (Windows/20090812)
To: carriebrown@example.net
Subject: Re: ETCH Struct type clarifications
References: <carriebrown@example.net>
In-reply-to: <carriebrown@example.net>
X-Virus-Checked: Checked by ClamAV on apache.org

etch has no equivalent of typedef. none of the underlying programming 
languages do, either, except
in the form of type parameterization (e.g., List<foo>), but you can't 
give those guys names.

the closest you will get is struct barfoo( foo[] value )

some of the languages support type parameterization, and those that 
don't don't have declarations anyway
and don't need them. maybe someone will add type parameterization to etch...

scott out

Ranganath s wrote:
> Hi group,
>
>   I am in the process of converting the CORBA IDL to the etch NSDL. We 
> have a struct type in the IDL some thing like this :-
>
>      struct foo{
>        int x;
>        string xyz;
> };
>  typedef  sequence<foo> barfoo;
>
>  In turn we use this barfoo some else where in the IDL to return type 
> of some method as follows :-
>
> barfoo somemethod()
>       raises 
> (com888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4lph888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4bet888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4something888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4something888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4xyz888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4MSCorbaException);
>
>
>  So now if i have to make a translation  the struct foo  to etch 
> struct is straight forward like
>
>  struct foo (int x , string xyz)
>
>  Now how to i declare (as in the above corba idl ) the typedef 
> sequence<foo> barfoo
>
>
> Kindly some one pls throw light on this and oblige
>
>
> Thank you
> Ranganath.S
>  
>  
> -- 
> I blog at http://ranganaths.wordpress.com



{'source': 'Apache Software Foundation Public Mail Archives'}