[omniORB] Any::NP_length()

Renzo Tomaselli renzo.tomaselli@tecnotp.it
Mon, 11 Oct 1999 20:24:29 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0023_01BF1426.9ED6E720
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Hi all,
        according to the 2.8 manual there should be a =
CORBA::Any::NP_length() somewhere, but I couln't find it. I would like =
to know whether it's just a name mismatch or it really doesn't exist at =
all.
This method is the only chance we have to manage type-unsafe "any" =
methods for purposes such as streaming; without knowing the length of =
what an "any" contains, Any::replace() and Any::value() look pretty =
useless. This kind of management is critical when large blocks of octets =
(such as images) are contained into an "any" to stream/unstream, since =
DynAny themselves offer no alternative to walk such sequences =
byte-by-byte for feeding/fetching contents.
Thanks,
                                             Renzo Tomaselli     =20
-------------------------------------------------------------------------=
--
TecnoTP s.n.c. Special Information System Design
Maso Pelauchi I38050 Ronchi Valsugana,  Trento TN  ITALY
Tel. +39 0461 773164      Fax. +39 0461 771514
e-mail: renzo.tomaselli@tecnotp.it  =20
-------------------------------------------------------------------------=
--

------=_NextPart_000_0023_01BF1426.9ED6E720
Content-Type: text/html;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2014.210" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hi all,</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; according to =
the 2.8=20
manual there should be a CORBA::Any::NP_length() somewhere, but I =
couln't find=20
it. I would like to know whether it's just a name mismatch or it really =
doesn't=20
exist at all.</FONT></DIV>
<DIV><FONT size=3D2>This method is the only chance we have to manage =
type-unsafe=20
"any" methods for purposes such as streaming; without knowing the length =
of what=20
an "any" contains, Any::replace() and Any::value() look pretty useless. =
This=20
kind of management is critical when large blocks of octets (such as =
images) are=20
contained into an "any" to stream/unstream, since DynAny themselves =
offer no=20
alternative to walk such sequences byte-by-byte for feeding/fetching=20
contents.</FONT></DIV>
<DIV><FONT size=3D2>Thanks,</FONT></DIV>
<DIV><FONT=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Renzo Tomaselli&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
<BR>---------------------------------------------------------------------=
------<BR>TecnoTP=20
s.n.c. Special Information System Design<BR>Maso Pelauchi I38050 Ronchi=20
Valsugana,&nbsp; Trento TN&nbsp; ITALY<BR>Tel. +39 0461=20
773164&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fax. +39 0461 771514<BR>e-mail: <A=20
href=3D"mailto:renzo.tomaselli@tecnotp.it">renzo.tomaselli@tecnotp.it</A>=
&nbsp;&nbsp;=20
<BR>---------------------------------------------------------------------=
------</FONT></DIV></BODY></HTML>

------=_NextPart_000_0023_01BF1426.9ED6E720--