Changes between Version 9 and Version 10 of FDORfc5


Ignore:
Timestamp:
Jul 30, 2007, 4:14:04 PM (17 years ago)
Author:
gregboone
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc5

    v9 v10  
    11
    22
    3 = FDO RFC 5 -  Modify Fdo API FdoFunctionDefinition =
     3= FDO RFC 5 -  Modify Fdo API !FdoFunctionDefinition =
    44
    55This page contains a request for comments document (RFC) for the FDO Open Source project. 
     
    2424== Overview ==
    2525
    26 The purpose of this RFC is to enhance the class ''FdoFunctionDefinition''. This class allows a provider to define a set of supported expression functions. The list of supported expression functions is accessible as part of the expression capabilities that can be retrieved from a connection.
     26The purpose of this RFC is to enhance the class ''!FdoFunctionDefinition''. This class allows a provider to define a set of supported expression functions. The list of supported expression functions is accessible as part of the expression capabilities that can be retrieved from a connection.
    2727
    2828The enhancement will add a new property to the class allowing the specification of the function class a given function belongs to. The valid function types will be defined in an enumeration and initially contain values to indicate aggregate, conversion, date, mathematical, numeric, string, intrinsic and custom functions. The enumeration will also include a value to indicate an upspecified function class. This function class will represent the default value.
     
    3434
    3535CONVERSION::
    36 ''ToDate'', ''ToDouble'', ''ToFloat'', ''ToInt32'', ''ToInt64''
     36''!ToDate'', ''!ToDouble'', ''!ToFloat'', ''!ToInt32'', ''!ToInt64''
    3737
    3838DATE::
    39 ''AddMonths'', ''CurrentDate'', ''ToString''
     39''!AddMonths'', ''!CurrentDate'', ''!ToString''
    4040
    4141MATH::
     
    7373}}}
    7474
    75 The following shows the required changes to the class ''FdoFunctionDefinition''. Note that the listing only shows the modified or added specifications.
     75The following shows the required changes to the class ''!FdoFunctionDefinition''. Note that the listing only shows the modified or added specifications.
    7676
    7777{{{
     
    109109    /// Returns FdoFunctionClass
    110110    ///
    111         FDO_API FdoFunctionClass GetFunctionClass();
     111    FDO_API FdoFunctionClass GetFunctionClass();
    112112
    113113    /// Various public Constructors
    114114
    115         FDO_API static FdoFunctionDefinition *Create (FdoString                       *name,
    116                                                       FdoString                       *description,
    117                                                       FdoDataType                     returnType,
    118                                                       FdoArgumentDefinitionCollection *arguments,
    119                                                       FdoFunctionClass                functionClass = FdoFunctionClass_Unspecified);
     115    FDO_API static FdoFunctionDefinition *Create (FdoString                       *name,
     116                                                  FdoString                       *description,
     117                                                  FdoDataType                     returnType,
     118                                                  FdoArgumentDefinitionCollection *arguments,
     119                                                  FdoFunctionClass                functionClass = FdoFunctionClass_Unspecified);
    120120
    121         FDO_API static FdoFunctionDefinition *Create (FdoString                       *name,
    122                                                       FdoString                       *description,
    123                                                       FdoPropertyType                 returnPropertyType,
    124                                                       FdoDataType                     returnType,
    125                                                       FdoArgumentDefinitionCollection *arguments,
    126                                                       FdoFunctionClass                functionClass = FdoFunctionClass_Unspecified);
     121    FDO_API static FdoFunctionDefinition *Create (FdoString                       *name,
     122                                                  FdoString                       *description,
     123                                                  FdoPropertyType                 returnPropertyType,
     124                                                  FdoDataType                     returnType,
     125                                                  FdoArgumentDefinitionCollection *arguments,
     126                                                  FdoFunctionClass                functionClass = FdoFunctionClass_Unspecified);
    127127
    128         FDO_API static FdoFunctionDefinition *Create (FdoString                        *name,
    129                                                       FdoString                        *description,
    130                                                       bool                             isAggregate,
    131                                                       FdoSignatureDefinitionCollection *signatures,
    132                                                       FdoFunctionClass                 functionClass = FdoFunctionClass_Unspecified);
     128    FDO_API static FdoFunctionDefinition *Create (FdoString                        *name,
     129                                                  FdoString                        *description,
     130                                                  bool                             isAggregate,
     131                                                  FdoSignatureDefinitionCollection *signatures,
     132                                                  FdoFunctionClass                 functionClass = FdoFunctionClass_Unspecified);
    133133...
    134134