[pygccxml-development] properties detection
Brought to you by:
mbaas,
roman_yakovenko
From: Damien F. <dam...@mo...> - 2008-08-07 17:47:33
|
Hi , we are trying to use the Python properties , idealy I would like to use the automatic detection : mb = module_builder_t( ... ) number = mb.class_( 'myClass' ) number.add_properties( exclude_accessors=False ) #accessors will be exposed our accessor are of type : float getRadius(); void setRadius(float rad); and I would like the properties to be 'radius' is this form normaly detected ? we try to do : self.moduleBuilder.classes().add_properties( exclude_accessors=False ) but nothing .. is there a way to see more what the add_properties algo is doing ? thanks Damien |