Changes between Version 9 and Version 10 of FDORfc5
- Timestamp:
- 07/30/07 16:14:04 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FDORfc5
v9 v10 1 1 2 2 3 = FDO RFC 5 - Modify Fdo API FdoFunctionDefinition =3 = FDO RFC 5 - Modify Fdo API !FdoFunctionDefinition = 4 4 5 5 This page contains a request for comments document (RFC) for the FDO Open Source project. … … 24 24 == Overview == 25 25 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.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. 27 27 28 28 The 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. … … 34 34 35 35 CONVERSION:: 36 '' ToDate'', ''ToDouble'', ''ToFloat'', ''ToInt32'', ''ToInt64''36 ''!ToDate'', ''!ToDouble'', ''!ToFloat'', ''!ToInt32'', ''!ToInt64'' 37 37 38 38 DATE:: 39 '' AddMonths'', ''CurrentDate'', ''ToString''39 ''!AddMonths'', ''!CurrentDate'', ''!ToString'' 40 40 41 41 MATH:: … … 73 73 }}} 74 74 75 The following shows the required changes to the class '' FdoFunctionDefinition''. Note that the listing only shows the modified or added specifications.75 The following shows the required changes to the class ''!FdoFunctionDefinition''. Note that the listing only shows the modified or added specifications. 76 76 77 77 {{{ … … 109 109 /// Returns FdoFunctionClass 110 110 /// 111 111 FDO_API FdoFunctionClass GetFunctionClass(); 112 112 113 113 /// Various public Constructors 114 114 115 116 117 118 119 115 FDO_API static FdoFunctionDefinition *Create (FdoString *name, 116 FdoString *description, 117 FdoDataType returnType, 118 FdoArgumentDefinitionCollection *arguments, 119 FdoFunctionClass functionClass = FdoFunctionClass_Unspecified); 120 120 121 122 123 124 125 126 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); 127 127 128 129 130 131 132 128 FDO_API static FdoFunctionDefinition *Create (FdoString *name, 129 FdoString *description, 130 bool isAggregate, 131 FdoSignatureDefinitionCollection *signatures, 132 FdoFunctionClass functionClass = FdoFunctionClass_Unspecified); 133 133 ... 134 134