axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samisa Abeysinghe" <>
Subject RE: Getters and setters for generated class attributes
Date Wed, 04 May 2005 10:22:12 GMT
> When one element was set, others should be set to null. User should
not be allowed to set more than 1 choice elements > at a time
What if the choices are among non pointer types such as int, float - I
guess we will not be able to use null here. May be we have to look into
how "nillable types" are implemented and use pointers for base types as
-----Original Message-----
From: Dushshantha Chandradasa [] 
Sent: Wednesday, May 04, 2005 3:35 PM
To: Apache AXIS C Developers List
Subject: Getters and setters for generated class attributes
Hi All,
I'm developing the support for the WSDL construct "choice" for Axis C++
(refer to Jira AXISCPP-621
<>  ) . By definition,
only one element can be chosen among several choice elements..
If we can auto generate setters for the Complex Type class attributes in
the generated classes which are automatically set other choice elements
to NULL when one element is set to a given value, it would be nice. I
think that Having getters and setters for class attributes is a good
Marcus Dushshantha Chandradasa
Associate  Software Engineer
Virtusa (Pvt) Ltd.
Mob:  0714867441

View raw message