Open ridoo opened 10 years ago
To be honest it is unclear to me why an object created/set on the resource, prepared afterwards and its reference is returned. In GDALConnector the reference is being set explicitly afterwards as normal property ...
It might create a property, or not. But no it can not be set directly. The function is at GdalConnector level and at that level you can not know if the caller wants to set the property (in this case) or wants to do something else withit. The purpose of the function is to create an IlwisObject from the info in the resource. What you want to do with the created object is upto the caller. In the two cases were it is used it sets idd a property.
I think the
setObject
method could be better renamed tocreateProperty
to better reflect what it does.