W3C home > Mailing lists > Public > www-dom@w3.org > January to March 1999

Re: C++ DOM Binding

From: David Brownell <db@Eng.Sun.COM>
Date: Thu, 07 Jan 1999 17:46:02 -0800
Message-ID: <3695635A.E882A8AB@Eng.Sun.COM>
To: David Williams <djw@avantgo.com>
CC: Ming-Fang.Wang@alltel.com, www-dom@w3.org
David Williams wrote:
> 
> Ming-Fang.Wang@alltel.com wrote:
> >
> >      Hi, I would like to know if there is a C++ DOM binding spec.
> 
> We developed a C binding using the Java bindings as a guide. The first
> argument is always the object (which is a vtable like self descriptive
> object), and overloaded method names were extended to include type in the
> name:
> 
>    value = PDOMgetValue(textObject);
> 
>    PDOMsetValue(textObject, "new value");
> 
>    etc...

It might be good to follow the OMG-IDL binding to C a bit more
closely; it defines the method naming and how exceptions get
handled, for example.

- Dave
Received on Thursday, 7 January 1999 20:46:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:46 GMT