| 345 | |
| 346 | /// \brief |
| 347 | /// Gets the data type of the property with the specified name. |
| 348 | /// |
| 349 | /// \param index |
| 350 | /// Input the name of the property. |
| 351 | /// |
| 352 | /// \return |
| 353 | /// Returns the data type of the property. |
| 354 | /// |
| 355 | FDO_API virtual FdoDataType GetDataType(FdoInt32 index) = 0; |
| 356 | |
| 357 | /// \brief |
| 358 | /// Gets the definition of the object currently being read. If the user |
| 359 | /// has requested only a subset of the class properties, the class |
| 360 | /// definition reflects what the user has asked, rather than the full class |
| 361 | /// definition. |
| 362 | /// |
| 363 | /// \return |
| 364 | /// Returns the class definition object. |
| 365 | /// |
| 366 | FDO_API virtual FdoClassDefinition* GetClassDefinition() = 0; |
| 367 | |
| 368 | /// \brief |
| 369 | /// Gets a value indicating the depth of nesting for the current reader. |
| 370 | /// The depth value increases each time GetFeatureObject is called and a new |
| 371 | /// reader is returned. The outermost reader has a depth of 0. |
| 372 | /// |
| 373 | /// \return |
| 374 | /// Returns the depth |
| 375 | /// |
| 376 | FDO_API virtual FdoInt32 GetDepth() = 0; |
| 377 | |
| 378 | /// \brief |
| 379 | /// Gets the geometry value of the specified property as a byte array in |
| 380 | /// FGF format. Because no conversion is performed, the property must be |
| 381 | /// of Geometric type; otherwise, an exception is thrown. |
| 382 | /// This method is a language-specific performance optimization that returns a |
| 383 | /// pointer to the array data, rather than to an object that encapsulates |
| 384 | /// the array. The array's memory area is only guaranteed to be valid |
| 385 | /// until a call to ReadNext() or Close(), or the disposal of this reader |
| 386 | /// object. |
| 387 | /// |
| 388 | /// \param propertyName |
| 389 | /// Input the property name. |
| 390 | /// \param count |
| 391 | /// Output the number of bytes in the array. |
| 392 | /// |
| 393 | /// \return |
| 394 | /// Returns a pointer to the byte array in FGF format. |
| 395 | /// |
| 396 | FDO_API virtual const FdoByte * GetGeometry(FdoString* propertyName, FdoInt32* count) = 0; |
349 | | /// Gets the geometry value of the property, at the specified index, as a |
350 | | /// byte array in FGF format. Because no conversion is performed, the |
351 | | /// property must be of Geometric type; otherwise, an exception is thrown. |
352 | | /// |
353 | | /// \param index |
354 | | /// Input the index of the property. |
355 | | /// |
356 | | /// \return |
357 | | /// Returns the byte array in FGF format. |
358 | | /// |
359 | | FDO_API virtual FdoByteArray* GetGeometry(FdoInt32 index) = 0; |
| 419 | /// Gets a reference to an FdoIFeatureReader to read the data contained in |
| 420 | /// the object or object collection property. If the property is not an |
| 421 | /// object property, an exception is thrown. |
| 422 | /// |
| 423 | /// \param propertyName |
| 424 | /// Input the property name. |
| 425 | /// |
| 426 | /// \return |
| 427 | /// Returns the nested feature reader |
| 428 | /// |
| 429 | FDO_API virtual FdoIFeatureReader* GetFeatureObject(FdoString* propertyName) = 0; |