1 /* 2 * Copyright 2006-2012 The FLWOR Foundation. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 // ****************************************** 18 // * * 19 // * THIS IS A GENERATED FILE. DO NOT EDIT! * 20 // * SEE .xml FILE WITH SAME NAME * 21 // * * 22 // ****************************************** 23 24 25 #ifndef ZORBA_FUNCTIONS_FT_MODULE_H 26 #define ZORBA_FUNCTIONS_FT_MODULE_H 27 28 29 #include "common/shared_types.h" 30 #include "functions/function_impl.h" 31 32 33 namespace zorba { 34 35 36 void populate_context_ft_module(static_context* sctx); 37 38 39 #ifndef ZORBA_NO_FULL_TEXT 40 41 //full-text:current-lang 42 class full_text_current_lang : public function 43 { 44 public: full_text_current_lang(const signature & sig,FunctionConsts::FunctionKind kind)45 full_text_current_lang(const signature& sig, FunctionConsts::FunctionKind kind) 46 : 47 function(sig, kind) 48 { 49 50 } 51 52 CODEGEN_DECL(); 53 }; 54 #endif 55 #ifndef ZORBA_NO_FULL_TEXT 56 57 //full-text:host-lang 58 class full_text_host_lang : public function 59 { 60 public: full_text_host_lang(const signature & sig,FunctionConsts::FunctionKind kind)61 full_text_host_lang(const signature& sig, FunctionConsts::FunctionKind kind) 62 : 63 function(sig, kind) 64 { 65 66 } 67 68 CODEGEN_DECL(); 69 }; 70 #endif 71 #ifndef ZORBA_NO_FULL_TEXT 72 73 //full-text:is-stem-lang-supported 74 class full_text_is_stem_lang_supported : public function 75 { 76 public: full_text_is_stem_lang_supported(const signature & sig,FunctionConsts::FunctionKind kind)77 full_text_is_stem_lang_supported(const signature& sig, FunctionConsts::FunctionKind kind) 78 : 79 function(sig, kind) 80 { 81 82 } 83 84 CODEGEN_DECL(); 85 }; 86 #endif 87 #ifndef ZORBA_NO_FULL_TEXT 88 89 //full-text:is-stop-word 90 class full_text_is_stop_word : public function 91 { 92 public: full_text_is_stop_word(const signature & sig,FunctionConsts::FunctionKind kind)93 full_text_is_stop_word(const signature& sig, FunctionConsts::FunctionKind kind) 94 : 95 function(sig, kind) 96 { 97 98 } 99 100 CODEGEN_DECL(); 101 }; 102 #endif 103 #ifndef ZORBA_NO_FULL_TEXT 104 105 //full-text:is-stop-word-lang-supported 106 class full_text_is_stop_word_lang_supported : public function 107 { 108 public: full_text_is_stop_word_lang_supported(const signature & sig,FunctionConsts::FunctionKind kind)109 full_text_is_stop_word_lang_supported(const signature& sig, FunctionConsts::FunctionKind kind) 110 : 111 function(sig, kind) 112 { 113 114 } 115 116 CODEGEN_DECL(); 117 }; 118 #endif 119 #ifndef ZORBA_NO_FULL_TEXT 120 121 //full-text:is-thesaurus-lang-supported 122 class full_text_is_thesaurus_lang_supported : public function 123 { 124 public: full_text_is_thesaurus_lang_supported(const signature & sig,FunctionConsts::FunctionKind kind)125 full_text_is_thesaurus_lang_supported(const signature& sig, FunctionConsts::FunctionKind kind) 126 : 127 function(sig, kind) 128 { 129 130 } 131 132 CODEGEN_DECL(); 133 }; 134 #endif 135 #ifndef ZORBA_NO_FULL_TEXT 136 137 //full-text:is-tokenizer-lang-supported 138 class full_text_is_tokenizer_lang_supported : public function 139 { 140 public: full_text_is_tokenizer_lang_supported(const signature & sig,FunctionConsts::FunctionKind kind)141 full_text_is_tokenizer_lang_supported(const signature& sig, FunctionConsts::FunctionKind kind) 142 : 143 function(sig, kind) 144 { 145 146 } 147 148 CODEGEN_DECL(); 149 }; 150 #endif 151 #ifndef ZORBA_NO_FULL_TEXT 152 153 //full-text:stem 154 class full_text_stem : public function 155 { 156 public: full_text_stem(const signature & sig,FunctionConsts::FunctionKind kind)157 full_text_stem(const signature& sig, FunctionConsts::FunctionKind kind) 158 : 159 function(sig, kind) 160 { 161 162 } 163 164 CODEGEN_DECL(); 165 }; 166 #endif 167 #ifndef ZORBA_NO_FULL_TEXT 168 169 //full-text:strip-diacritics 170 class full_text_strip_diacritics : public function 171 { 172 public: full_text_strip_diacritics(const signature & sig,FunctionConsts::FunctionKind kind)173 full_text_strip_diacritics(const signature& sig, FunctionConsts::FunctionKind kind) 174 : 175 function(sig, kind) 176 { 177 178 } 179 180 CODEGEN_DECL(); 181 }; 182 #endif 183 #ifndef ZORBA_NO_FULL_TEXT 184 185 //full-text:thesaurus-lookup 186 class full_text_thesaurus_lookup : public function 187 { 188 public: full_text_thesaurus_lookup(const signature & sig,FunctionConsts::FunctionKind kind)189 full_text_thesaurus_lookup(const signature& sig, FunctionConsts::FunctionKind kind) 190 : 191 function(sig, kind) 192 { 193 194 } 195 196 CODEGEN_DECL(); 197 }; 198 #endif 199 #ifndef ZORBA_NO_FULL_TEXT 200 201 //full-text:tokenize-string 202 class full_text_tokenize_string : public function 203 { 204 public: full_text_tokenize_string(const signature & sig,FunctionConsts::FunctionKind kind)205 full_text_tokenize_string(const signature& sig, FunctionConsts::FunctionKind kind) 206 : 207 function(sig, kind) 208 { 209 210 } 211 212 CODEGEN_DECL(); 213 }; 214 #endif 215 216 217 } //namespace zorba 218 219 220 #endif 221 /* 222 * Local variables: 223 * mode: c++ 224 * End: 225 */ 226