crxSDKSampleTree.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: crx
  5. (C) Copyright IBM Corp. 2003, 2010
  6. US Government Users Restricted Rights - Use, duplication or disclosure
  7. restricted by GSA ADP Schedule Contract with IBM Corp.
  8. -->
  9. <!-- COPYRIGHT_DATA { 'YEAR':[2010, 2009, 2003], 'RELEASE':['colorado_wave1'], 'VISIBLE':'YES', 'COMPONENT':'crx' }-->
  10. <!--All lines above the COPYRIGHT_DATA line will be replaced when copyright notices are generated. -->
  11. <!--
  12. //============================================================
  13. // Custom Report Functions
  14. //============================================================
  15. // The crxSDKSampleTree.xml must contain the list of custom report functions
  16. // and must specify the type of their return value.
  17. // use "crxDTypeDecimal" to return a cclDTypeDecimal
  18. // use "crxDTypeString" to return a cclDTypeString
  19. // use "crxDTypeInt8" to return a cclDTypeInt8
  20. // ...
  21. // Note the exact spelling in:
  22. // use "crxDTypeDate" to return a cclDTypeDate2
  23. // use "crxDTypeTime" to return a cclDTypeTime2
  24. // use "crxDTypeTimeTZ" to return a cclDTypeTimeTZ
  25. // use "crxDTypeDatetimeTZ" to return a cclDTypeTimestampTZ
  26. // use "crxDTypeDatetime" to return a cclDTypeTimestamp2
  27. // use "crxDTypeDTInterval" to return a cclDTypeInterval2
  28. // use "crxDTypeYMInterval" to return a cclDTypeYMInterval
  29. //============================================================
  30. -->
  31. <functionsRoot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.developer.cognos.com/schemas/commonfunctionservice/1/0 FuncTree.xsd">
  32. <group>
  33. <id>crxSDKSample</id>
  34. <context>CRX</context>
  35. <function>
  36. <id>crx_sdk_randomnumber</id>
  37. <name>SDKRandomInt</name>
  38. <canonical>SDKRandomInt</canonical>
  39. <dll>CRXSampleSDKFunctions</dll>
  40. <returnType>crxDTypeInt32</returnType>
  41. </function>
  42. <function>
  43. <id>crx_sdk_area</id>
  44. <name>SDKArea</name>
  45. <canonical>SDKArea</canonical>
  46. <dll>CRXSampleSDKFunctions</dll>
  47. <returnType>crxDTypeDouble</returnType>
  48. <parameter>
  49. <type>crxDTypeDouble</type>
  50. </parameter>
  51. <parameter>
  52. <type>crxDTypeDouble</type>
  53. </parameter>
  54. <parameter>
  55. <type>crxDTypeString</type>
  56. </parameter>
  57. </function>
  58. <function>
  59. <id>crx_sdk_datetostring</id>
  60. <name>SDKDateToString</name>
  61. <canonical>SDKDateToString</canonical>
  62. <dll>CRXSampleSDKFunctions</dll>
  63. <returnType>crxDTypeString</returnType>
  64. <parameter>
  65. <type>crxDTypeDate</type>
  66. </parameter>
  67. </function>
  68. <function>
  69. <id>crx_sdk_test_return_uint32</id>
  70. <name>SDKtestReturnUint32</name>
  71. <canonical>SDKtestReturnUint32</canonical>
  72. <dll>CRXSampleSDKFunctions</dll>
  73. <returnType>crxDTypeUInt32</returnType>
  74. </function>
  75. <function>
  76. <id>crx_sdk_test_return_int32</id>
  77. <name>SDKtestReturnInt32</name>
  78. <canonical>SDKtestReturnInt32</canonical>
  79. <dll>CRXSampleSDKFunctions</dll>
  80. <returnType>crxDTypeInt32</returnType>
  81. </function>
  82. <function>
  83. <id>crx_sdk_test_return_uint64</id>
  84. <name>SDKtestReturnUint64</name>
  85. <canonical>SDKtestReturnUint64</canonical>
  86. <dll>CRXSampleSDKFunctions</dll>
  87. <returnType>crxDTypeUInt64</returnType>
  88. </function>
  89. <function>
  90. <id>crx_sdk_test_return_int64</id>
  91. <name>SDKtestReturnInt64</name>
  92. <canonical>SDKtestReturnInt64</canonical>
  93. <dll>CRXSampleSDKFunctions</dll>
  94. <returnType>crxDTypeInt64</returnType>
  95. </function>
  96. <function>
  97. <id>crx_sdk_test_return_float32</id>
  98. <name>SDKtestReturnFloat32</name>
  99. <canonical>SDKtestReturnFloat32</canonical>
  100. <dll>CRXSampleSDKFunctions</dll>
  101. <returnType>crxDTypeFloat</returnType>
  102. </function>
  103. <function>
  104. <id>crx_sdk_test_return_float64</id>
  105. <name>SDKtestReturnFloat64</name>
  106. <canonical>SDKtestReturnFloat64</canonical>
  107. <dll>CRXSampleSDKFunctions</dll>
  108. <returnType>crxDTypeDouble</returnType>
  109. </function>
  110. </group>
  111. </functionsRoot>