Changes between Version 13 and Version 14 of FDORfc50


Ignore:
Timestamp:
06/03/10 10:02:15 (15 years ago)
Author:
romicadascalescu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc50

    v13 v14  
    5151The last option seems to be the best solution since will not enforce other providers to add a blank implementation for those new methods and also will not add a new command. We avoid having two select commands one “extended” and one “join” this way we also eliminate a confusion which might show-up in commands naming. Also it opens a different approach to update a base class without changing all providers to add a blank implementation.
    5252
     53The new methods added on FdoISelect will have a default implementation throwing an exception:
     54
     55{{{
     56  class FdoISelect : public FdoIBaseSelect
     57  {
     58     /// new added methods
     59
     60     /// \brief
     61     /// Gets the feature class names collection.
     62     ///
     63     /// \return
     64     /// Returns the collection.
     65     ///
     66     FDO_API virtual FdoIdentifierCollection* GetFeatureClassNames()
     67     {
     68          throw FdoException::Create(FdoException::NLSGetMessage(FDO_NLSID(FDO_3_NOTIMPLEMENTED)));
     69     }
     70
     71     /// \brief
     72     /// Gets the join criteria collection.
     73     ///
     74     /// \return
     75     /// Returns the collection.
     76     ///
     77     FDO_API virtual FdoJoinCriteriaCollection* GetJoinCriteria()
     78     {
     79          throw FdoException::Create(FdoException::NLSGetMessage(FDO_NLSID(FDO_3_NOTIMPLEMENTED)));
     80     }
     81  }
     82}}}
     83
    5384We need to define supported cases and all necessary classes need to be added:
    5485