Opened 18 years ago
#75 new defect
Doubled code in sample from devguide
Reported by: | mloskot | Owned by: | gregboone |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Documentation | Version: | |
Severity: | 3 | Keywords: | DevGuide |
Cc: | External ID: |
Description
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();
Note:
See TracTickets
for help on using tickets.