[fdo-trac] #476: GeometricPropertyDefinition
get_SpecificGeometryTypes() not exposed in managed API
FDO
trac_fdo at osgeo.org
Tue Mar 24 19:26:05 EDT 2009
#476: GeometricPropertyDefinition get_SpecificGeometryTypes() not exposed in
managed API
---------------------+------------------------------------------------------
Reporter: jng | Owner: gregboone
Type: defect | Status: assigned
Priority: major | Milestone: 3.5.0
Component: FDO API | Version: 3.4.0
Severity: 3 | Resolution:
Keywords: | External_id:
---------------------+------------------------------------------------------
Changes (by gregboone):
* milestone: 3.4.0 => 3.5.0
Comment:
In class GeometricPropertyDefinition, we are not really exposing
SpecificGeometryTypes as a standard property.
Currently, SpecificGeometryTypes is defined as a property but it is being
generated as two methods: get_SpecificGeometryTypes and
set_SpecificGeometryTypes. This is happening because the property is
defined with two parameters, 'length' and 'array'. Managed properties are
intended to only have a single parameter, in this instance, the array. The
length can be determined directly though the array itself by querying the
arrays Length property.
As a result of this change, the length parameter will be removed and the
property defined as:
{{{
property array<NAMESPACE_OSGEO_COMMON::GeometryType>^
SpecificGeometryTypes
{
array<NAMESPACE_OSGEO_COMMON::GeometryType>^ get();
System::Void set(array<NAMESPACE_OSGEO_COMMON::GeometryType>^
types);
}
}}}
--
Ticket URL: <http://trac.osgeo.org/fdo/ticket/476#comment:7>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
More information about the fdo-trac
mailing list