Changes between Version 2 and Version 3 of FDORfc39


Ignore:
Timestamp:
Jun 24, 2009, 9:33:08 AM (15 years ago)
Author:
danstoica
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc39

    v2 v3  
    5555};
    5656
     573) Enhance FdoSpatialCondition to handle a bitmapped mask of spatial operators. Avoid creating a new set of constructors just for RELATE by adding a extra optional parameter to existing constructors. Add setter and getter for the mask.
    5758
     59class FdoSpatialCondition : public FdoGeometricCondition
     60{
     61...
     62    /// \param relateMask
     63    /// Input bitmapped FdoSpatialOperations mask for the RELATE spatial operation
     64    ///
     65    /// \return
     66    /// Returns FdoSpatialCondition
     67    /// Throws "Invalid parameter" exception in case relateMask > 0 and the operation is not RELATE
     68    ///
     69
     70    FDO_API static FdoSpatialCondition* Create(FdoIdentifier* propertyName, FdoSpatialOperations operation, FdoExpression* geometry, FdoInt32 relateMask = -1);
     71
     72//// The same extra optional parameter will be added all the constructors.
     73
     74    /// Sets the bitmapped value of combined spatial operator(s) for RELATE usage.
     75    /// Throws "Invalid parameter" exception in case:
     76    ///     value > 0 and the spatial operation is not RELATE
     77    ///     value <= 0 and the spatial operation is RELATE
     78    ///     value is not a valid bitmapped FdoSpatialOperations mask
     79
     80    FDO_API void SetRelateMask( FdoInt32 value );
     81
     82    /// Gets the bitmapped value of combined spatial operators.
     83
     84    FDO_API FdoInt32 GetRelateMask();
     85}
    5886
    5987== Implications ==