[omniORB] typecode problem again...
Shawn Bisgrove
shawn_bisgrove@yahoo.com
Tue, 12 Dec 2000 03:12:30 -0800 (PST)
Stephen,
OmniORB has no trouble with extracting out the
AlterationSpec from the typecode. Orbix 3.0.1 seems
to
have a bit of trouble and unfortunately it is a black
box for me. When commenting out that section of code,
there is another any that I send that is simply:
struct MediaType {
string name;
}
which also cannot be extracted by Orbix because I get
the message Node MediaType does not contain a value of
type MediaType that only is printed if the any
extraction fails.
Thanks,
s.
--- Stephen Crawley <crawley@dstc.edu.au> wrote:
>
> Shawn,
>
> I think you are going to need to do some
> investigative programming
> to find out what OmniORB thinks the type of the
> anyized value is.
> For example:
>
> 1) extract the Any's TypeCode
>
> 2) print out its kind
>
> 3) if it has name and id fields, print them out
>
> 4) compare the TypeCode against the TypeCode
> constant for
> AlterationSpec spec using TypeCode::equal and
> TypeCode::equivalent
>
> and so on.
>
> -- Steve
>
=====
________________________________________
|shawn_bisgrove@partech.com
|http://www.geocities.com/shawn_bisgrove
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/