Changes between Version 28 and Version 29 of FDORfc34


Ignore:
Timestamp:
Apr 17, 2009, 10:55:31 AM (15 years ago)
Author:
gregboone
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc34

    v28 v29  
    276276/// The FdoIFeatureReader interface provides a forward-only, read-only iterator
    277277/// for reading feature data.  A reference to an FdoIFeatureReader is returned
    278 /// from the Select and SelectAndLock commands. Because the initial position of the
    279 /// FdoIFeatureReader is prior to the first item, you must call
    280 /// ReadNext to begin accessing any data.
     278/// from the Select command. Because the initial position of the FdoIFeatureReader
     279/// is prior to the first item, you must call ReadNext to begin accessing any data.
    281280class FdoIFeatureReader: public FdoIReader
    282281{
    283282public:
    284 ...
    285 ...
    286 ...
    287283    /// \brief
    288284    /// Gets the number of properties in the result set.
     
    305301
    306302    /// \brief
     303    /// Gets the index of the property at with the given name.
     304    ///
     305    /// \param index
     306    /// Input the name of the property.
     307    ///
     308    /// \return
     309    /// Returns the property index
     310    ///
     311    FDO_API virtual FdoInt32 GetPropertyIndex(FdoString* propertyName) = 0;
     312
     313    /// \brief
    307314    /// Gets the type of the property at the given ordinal position.
    308315    ///
     
    316323
    317324    /// \brief
     325    /// Gets the type of the property with the given name.
     326    ///
     327    /// \param index
     328    /// Input the name of the property.
     329    ///
     330    /// \return
     331    /// Returns the type of the property.
     332    ///
     333    FDO_API virtual FdoPropertyType GetPropertyType(FdoString* propertyName) = 0;
     334
     335    /// \brief
    318336    /// Gets the data type of the property at the specified ordinal position.
    319337    ///
     
    325343    ///
    326344    FDO_API virtual FdoDataType GetDataType(FdoInt32 index) = 0;
     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;
    327397
    328398    /// \brief
     
    347417
    348418    /// \brief
    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;
    360430
    361431    /// \brief