[fdo-trac] #75: Doubled code in sample from devguide
FDO
trac_fdo at osgeo.org
Sat May 26 23:44:09 EDT 2007
#75: Doubled code in sample from devguide
-----------------------------+----------------------------------------------
Reporter: mloskot | Owner: gregboone
Type: defect | Status: new
Priority: minor | Milestone:
Component: Documentation | Version:
Severity: 3 | Keywords: DevGuide
External_id: |
-----------------------------+----------------------------------------------
In the FDO Developer’s Guide (June 2006), on page 84 there is sample
presenting how to use ApplySchema command to ''Creating a Feature
Schema''.
As 3rd code ''instruction'' there is
{{{
// Create the ApplySchema command
...
// Create the feature schema
...
// get a pointer to the feature schema's class collection
// this object is used to add classes to the schema
GisPtr<FdoClassCollection> sampleClassCollection;
sampleClassCollection = sampleFeatureSchema->GetClasses();
}}}
and as 6th ''instruction'' the same code is presented:
{{{
...
// create a feature class, i.e.,
...
// get a pointer to the feature class's property collection
...
// get a pointer to the feature schema's class collection
// this object is used to add classes to the schema
GisPtr<FdoClassCollection> sampleClassCollection;
sampleClassCollection = sampleFeatureSchema->GetClasses();
}}}
--
Ticket URL: <http://trac.osgeo.org/fdo/ticket/75>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
More information about the fdo-trac
mailing list