Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

xtl_quote_speclzd.h

Go to the documentation of this file.
00001 
00002 // Common Text Transformation Library
00003 // Copyright (C) 1997-2006 by Igor Kholodov. 
00004 //
00005 // This library is free software; you can redistribute it and/or
00006 // modify it under the terms of the GNU Lesser General Public
00007 // License as published by the Free Software Foundation; either
00008 // version 2.1 of the License, or (at your option) any later version.
00009 //
00010 // This library is distributed in the hope that it will be useful,
00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013 // Lesser General Public License for more details.
00014 //
00015 // You should have received a copy of the GNU Lesser General Public
00016 // License along with this library; if not, write to the
00017 // Free Software Foundation, Inc.,
00018 // 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00019 //
00020 // mailto:cttl@users.sourceforge.net
00021 // http://sourceforge.net/projects/cttl/
00023 
00037 #ifndef _CTTL_XTL_QUOTE_SPECLZD_H_INCLUDED_
00038 #define _CTTL_XTL_QUOTE_SPECLZD_H_INCLUDED_
00039 
00040 namespace cttl {
00041 
00042 using namespace cttl_impl;
00043 
00044 
00045 /* specialization for CTTL_STD_CHAR:CTTL_STD_CHAR */
00046 inline
00047 xtl_wrap<
00048     xtl_quote_generic<
00049         xtl_wrap< xtl_char< CTTL_STD_CHAR > >,
00050         xtl_wrap< xtl_char< CTTL_STD_CHAR > >,
00051         xtl_wrap< xtl_char< CTTL_STD_CHAR > >
00052     >
00053 >
00054 quote( CTTL_STD_CHAR left_, CTTL_STD_CHAR middle_, CTTL_STD_CHAR right_ )
00055 {
00056     typedef
00057         xtl_quote_generic<
00058             xtl_wrap< xtl_char< CTTL_STD_CHAR > >,
00059             xtl_wrap< xtl_char< CTTL_STD_CHAR > >,
00060             xtl_wrap< xtl_char< CTTL_STD_CHAR > >
00061         >
00062         xtl_pair_T;
00063 
00064     return xtl_wrap< xtl_pair_T >( xtl_pair_T( xtl_char< CTTL_STD_CHAR >( left_ ), xtl_char< CTTL_STD_CHAR >( middle_ ), xtl_char< CTTL_STD_CHAR >( right_ ) ) );
00065 }
00066 
00067 
00068 /* specialization for CTTL_STD_CHAR:CTTL_STD_CHAR */
00069 inline
00070 xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_char< CTTL_STD_CHAR > >, CTTL_STD_CHAR > >
00071 ansi_single_quote( CTTL_STD_CHAR middle_ )
00072 {
00073     /* C-style quotes */
00074     return xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_char< CTTL_STD_CHAR > >, CTTL_STD_CHAR > >( xtl_quote_ansi_single_quote< xtl_wrap< xtl_char< CTTL_STD_CHAR > >, CTTL_STD_CHAR >( middle_ ) );
00075 }
00076 
00077 
00078 /* specialization for CTTL_STD_CHAR:CTTL_STD_CHAR */
00079 inline xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_char< CTTL_STD_CHAR > >, CTTL_STD_CHAR > >
00080 ansi_double_quote( CTTL_STD_CHAR middle_ )
00081 {
00082     /* ANSI-style quotes */
00083     return xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_char< CTTL_STD_CHAR > >, CTTL_STD_CHAR > >( xtl_quote_ansi_double_quote< xtl_wrap< xtl_char< CTTL_STD_CHAR > >, CTTL_STD_CHAR >( middle_ ) );
00084 }
00085 
00086 
00087 /* specialization for CTTL_STD_CHAR:CTTL_STD_CHAR */
00088 inline
00089 xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_char< CTTL_STD_CHAR > >, CTTL_STD_CHAR > >
00090 c_single_quote( CTTL_STD_CHAR middle_ )
00091 {
00092     /* C-style quotes */
00093     return xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_char< CTTL_STD_CHAR > >, CTTL_STD_CHAR > >( xtl_quote_c_single_quote< xtl_wrap< xtl_char< CTTL_STD_CHAR > >, CTTL_STD_CHAR >( middle_ ) );
00094 }
00095 
00096 
00097 /* specialization for CTTL_STD_CHAR:CTTL_STD_CHAR */
00098 inline
00099 xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_char< CTTL_STD_CHAR > >, CTTL_STD_CHAR > >
00100 c_double_quote( CTTL_STD_CHAR middle_ )
00101 {
00102     /* C-style quotes */
00103     return xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_char< CTTL_STD_CHAR > >, CTTL_STD_CHAR > >( xtl_quote_c_double_quote< xtl_wrap< xtl_char< CTTL_STD_CHAR > >, CTTL_STD_CHAR >( middle_ ) );
00104 }
00105 
00106 
00107 /* specialization for CTTL_STD_WCHAR:CTTL_STD_WCHAR */
00108 inline
00109 xtl_wrap<
00110     xtl_quote_generic<
00111         xtl_wrap< xtl_char< CTTL_STD_WCHAR > >,
00112         xtl_wrap< xtl_char< CTTL_STD_WCHAR > >,
00113         xtl_wrap< xtl_char< CTTL_STD_WCHAR > >
00114     >
00115 >
00116 wchar_quote( CTTL_STD_WCHAR left_, CTTL_STD_WCHAR middle_, CTTL_STD_WCHAR right_ )
00117 {
00118     typedef
00119         xtl_quote_generic<
00120             xtl_wrap< xtl_char< CTTL_STD_WCHAR > >,
00121             xtl_wrap< xtl_char< CTTL_STD_WCHAR > >,
00122             xtl_wrap< xtl_char< CTTL_STD_WCHAR > >
00123         >
00124         xtl_pair_T;
00125 
00126     return xtl_wrap< xtl_pair_T >( xtl_pair_T( xtl_char< CTTL_STD_WCHAR >( left_ ), xtl_char< CTTL_STD_WCHAR >( middle_ ), xtl_char< CTTL_STD_WCHAR >( right_ ) ) );
00127 }
00128 
00129 
00130 /* specialization for CTTL_STD_WCHAR:CTTL_STD_WCHAR */
00131 inline
00132 xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_char< CTTL_STD_WCHAR > >, CTTL_STD_WCHAR > >
00133 wchar_ansi_single_quote( CTTL_STD_WCHAR middle_ )
00134 {
00135     /* C-style quotes */
00136     return xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_char< CTTL_STD_WCHAR > >, CTTL_STD_WCHAR > >( xtl_quote_ansi_single_quote< xtl_wrap< xtl_char< CTTL_STD_WCHAR > >, CTTL_STD_WCHAR >( middle_ ) );
00137 }
00138 
00139 
00140 /* specialization for CTTL_STD_WCHAR:CTTL_STD_WCHAR */
00141 inline xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_char< CTTL_STD_WCHAR > >, CTTL_STD_WCHAR > >
00142 wchar_ansi_double_quote( CTTL_STD_WCHAR middle_ )
00143 {
00144     /* ANSI-style quotes */
00145     return xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_char< CTTL_STD_WCHAR > >, CTTL_STD_WCHAR > >( xtl_quote_ansi_double_quote< xtl_wrap< xtl_char< CTTL_STD_WCHAR > >, CTTL_STD_WCHAR >( middle_ ) );
00146 }
00147 
00148 
00149 /* specialization for CTTL_STD_WCHAR:CTTL_STD_WCHAR */
00150 inline
00151 xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_char< CTTL_STD_WCHAR > >, CTTL_STD_WCHAR > >
00152 wchar_c_single_quote( CTTL_STD_WCHAR middle_ )
00153 {
00154     /* C-style quotes */
00155     return xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_char< CTTL_STD_WCHAR > >, CTTL_STD_WCHAR > >( xtl_quote_c_single_quote< xtl_wrap< xtl_char< CTTL_STD_WCHAR > >, CTTL_STD_WCHAR >( middle_ ) );
00156 }
00157 
00158 
00159 /* specialization for CTTL_STD_WCHAR:CTTL_STD_WCHAR */
00160 inline
00161 xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_char< CTTL_STD_WCHAR > >, CTTL_STD_WCHAR > >
00162 wchar_c_double_quote( CTTL_STD_WCHAR middle_ )
00163 {
00164     /* C-style quotes */
00165     return xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_char< CTTL_STD_WCHAR > >, CTTL_STD_WCHAR > >( xtl_quote_c_double_quote< xtl_wrap< xtl_char< CTTL_STD_WCHAR > >, CTTL_STD_WCHAR >( middle_ ) );
00166 }
00167 
00168 
00169 /* specialization for bool:CTTL_STD_CHAR */
00170 inline
00171 xtl_wrap<
00172     xtl_quote_generic<
00173         xtl_wrap< xtl_char< CTTL_STD_CHAR > >,
00174         xtl_wrap< xtl_bool< true > >,
00175         xtl_wrap< xtl_char< CTTL_STD_CHAR > >
00176     >
00177 >
00178 quote( CTTL_STD_CHAR left_, bool middle_, CTTL_STD_CHAR right_ )
00179 {
00180     typedef
00181         xtl_quote_generic<
00182             xtl_wrap< xtl_char< CTTL_STD_CHAR > >,
00183             xtl_wrap< xtl_bool< true > >,
00184             xtl_wrap< xtl_char< CTTL_STD_CHAR > >
00185         >
00186         xtl_pair_T;
00187 
00188     return xtl_wrap< xtl_pair_T >( xtl_pair_T( xtl_char< CTTL_STD_CHAR >( left_ ), xtl_bool< true >( middle_ ), xtl_char< CTTL_STD_CHAR >( right_ ) ) );
00189 }
00190 
00191 
00192 /* specialization for bool:CTTL_STD_CHAR */
00193 inline
00194 xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_bool< true > >, CTTL_STD_CHAR > >
00195 ansi_single_quote( bool middle_ )
00196 {
00197     /* C-style quotes */
00198     return xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_bool< true > >, CTTL_STD_CHAR > >( xtl_quote_ansi_single_quote< xtl_wrap< xtl_bool< true > >, CTTL_STD_CHAR >( middle_ ) );
00199 }
00200 
00201 
00202 /* specialization for bool:CTTL_STD_CHAR */
00203 inline xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_bool< true > >, CTTL_STD_CHAR > >
00204 ansi_double_quote( bool middle_ )
00205 {
00206     /* ANSI-style quotes */
00207     return xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_bool< true > >, CTTL_STD_CHAR > >( xtl_quote_ansi_double_quote< xtl_wrap< xtl_bool< true > >, CTTL_STD_CHAR >( middle_ ) );
00208 }
00209 
00210 
00211 /* specialization for bool:CTTL_STD_CHAR */
00212 inline
00213 xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_bool< true > >, CTTL_STD_CHAR > >
00214 c_single_quote( bool middle_ )
00215 {
00216     /* C-style quotes */
00217     return xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_bool< true > >, CTTL_STD_CHAR > >( xtl_quote_c_single_quote< xtl_wrap< xtl_bool< true > >, CTTL_STD_CHAR >( middle_ ) );
00218 }
00219 
00220 
00221 /* specialization for bool:CTTL_STD_CHAR */
00222 inline
00223 xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_bool< true > >, CTTL_STD_CHAR > >
00224 c_double_quote( bool middle_ )
00225 {
00226     /* C-style quotes */
00227     return xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_bool< true > >, CTTL_STD_CHAR > >( xtl_quote_c_double_quote< xtl_wrap< xtl_bool< true > >, CTTL_STD_CHAR >( middle_ ) );
00228 }
00229 
00230 
00231 /* specialization for bool:CTTL_STD_WCHAR */
00232 inline
00233 xtl_wrap<
00234     xtl_quote_generic<
00235         xtl_wrap< xtl_char< CTTL_STD_WCHAR > >,
00236         xtl_wrap< xtl_bool< true > >,
00237         xtl_wrap< xtl_char< CTTL_STD_WCHAR > >
00238     >
00239 >
00240 wchar_quote( CTTL_STD_WCHAR left_, bool middle_, CTTL_STD_WCHAR right_ )
00241 {
00242     typedef
00243         xtl_quote_generic<
00244             xtl_wrap< xtl_char< CTTL_STD_WCHAR > >,
00245             xtl_wrap< xtl_bool< true > >,
00246             xtl_wrap< xtl_char< CTTL_STD_WCHAR > >
00247         >
00248         xtl_pair_T;
00249 
00250     return xtl_wrap< xtl_pair_T >( xtl_pair_T( xtl_char< CTTL_STD_WCHAR >( left_ ), xtl_bool< true >( middle_ ), xtl_char< CTTL_STD_WCHAR >( right_ ) ) );
00251 }
00252 
00253 
00254 /* specialization for bool:CTTL_STD_WCHAR */
00255 inline
00256 xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_bool< true > >, CTTL_STD_WCHAR > >
00257 wchar_ansi_single_quote( bool middle_ )
00258 {
00259     /* C-style quotes */
00260     return xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_bool< true > >, CTTL_STD_WCHAR > >( xtl_quote_ansi_single_quote< xtl_wrap< xtl_bool< true > >, CTTL_STD_WCHAR >( middle_ ) );
00261 }
00262 
00263 
00264 /* specialization for bool:CTTL_STD_WCHAR */
00265 inline xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_bool< true > >, CTTL_STD_WCHAR > >
00266 wchar_ansi_double_quote( bool middle_ )
00267 {
00268     /* ANSI-style quotes */
00269     return xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_bool< true > >, CTTL_STD_WCHAR > >( xtl_quote_ansi_double_quote< xtl_wrap< xtl_bool< true > >, CTTL_STD_WCHAR >( middle_ ) );
00270 }
00271 
00272 
00273 /* specialization for bool:CTTL_STD_WCHAR */
00274 inline
00275 xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_bool< true > >, CTTL_STD_WCHAR > >
00276 wchar_c_single_quote( bool middle_ )
00277 {
00278     /* C-style quotes */
00279     return xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_bool< true > >, CTTL_STD_WCHAR > >( xtl_quote_c_single_quote< xtl_wrap< xtl_bool< true > >, CTTL_STD_WCHAR >( middle_ ) );
00280 }
00281 
00282 
00283 /* specialization for bool:CTTL_STD_WCHAR */
00284 inline
00285 xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_bool< true > >, CTTL_STD_WCHAR > >
00286 wchar_c_double_quote( bool middle_ )
00287 {
00288     /* C-style quotes */
00289     return xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_bool< true > >, CTTL_STD_WCHAR > >( xtl_quote_c_double_quote< xtl_wrap< xtl_bool< true > >, CTTL_STD_WCHAR >( middle_ ) );
00290 }
00291 
00292 
00293 /* specialization for CTTL_STD_CHAR const*:CTTL_STD_CHAR */
00294 inline
00295 xtl_wrap<
00296     xtl_quote_generic<
00297         xtl_wrap< xtl_char< CTTL_STD_CHAR > >,
00298         xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >,
00299         xtl_wrap< xtl_char< CTTL_STD_CHAR > >
00300     >
00301 >
00302 quote( CTTL_STD_CHAR left_, CTTL_STD_CHAR const* middle_, CTTL_STD_CHAR right_ )
00303 {
00304     typedef
00305         xtl_quote_generic<
00306             xtl_wrap< xtl_char< CTTL_STD_CHAR > >,
00307             xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >,
00308             xtl_wrap< xtl_char< CTTL_STD_CHAR > >
00309         >
00310         xtl_pair_T;
00311 
00312     return xtl_wrap< xtl_pair_T >( xtl_pair_T( xtl_char< CTTL_STD_CHAR >( left_ ), xtl_text_symbol< CTTL_STD_STRING >( middle_ ), xtl_char< CTTL_STD_CHAR >( right_ ) ) );
00313 }
00314 
00315 
00316 /* specialization for CTTL_STD_CHAR const*:CTTL_STD_CHAR */
00317 inline
00318 xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR > >
00319 ansi_single_quote( CTTL_STD_CHAR const* middle_ )
00320 {
00321     /* C-style quotes */
00322     return xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR > >( xtl_quote_ansi_single_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR >( middle_ ) );
00323 }
00324 
00325 
00326 /* specialization for CTTL_STD_CHAR const*:CTTL_STD_CHAR */
00327 inline xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR > >
00328 ansi_double_quote( CTTL_STD_CHAR const* middle_ )
00329 {
00330     /* ANSI-style quotes */
00331     return xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR > >( xtl_quote_ansi_double_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR >( middle_ ) );
00332 }
00333 
00334 
00335 /* specialization for CTTL_STD_CHAR const*:CTTL_STD_CHAR */
00336 inline
00337 xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR > >
00338 c_single_quote( CTTL_STD_CHAR const* middle_ )
00339 {
00340     /* C-style quotes */
00341     return xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR > >( xtl_quote_c_single_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR >( middle_ ) );
00342 }
00343 
00344 
00345 /* specialization for CTTL_STD_CHAR const*:CTTL_STD_CHAR */
00346 inline
00347 xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR > >
00348 c_double_quote( CTTL_STD_CHAR const* middle_ )
00349 {
00350     /* C-style quotes */
00351     return xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR > >( xtl_quote_c_double_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR >( middle_ ) );
00352 }
00353 
00354 
00355 /* specialization for CTTL_STD_WCHAR const*:CTTL_STD_WCHAR */
00356 inline
00357 xtl_wrap<
00358     xtl_quote_generic<
00359         xtl_wrap< xtl_char< CTTL_STD_WCHAR > >,
00360         xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >,
00361         xtl_wrap< xtl_char< CTTL_STD_WCHAR > >
00362     >
00363 >
00364 wchar_quote( CTTL_STD_WCHAR left_, CTTL_STD_WCHAR const* middle_, CTTL_STD_WCHAR right_ )
00365 {
00366     typedef
00367         xtl_quote_generic<
00368             xtl_wrap< xtl_char< CTTL_STD_WCHAR > >,
00369             xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >,
00370             xtl_wrap< xtl_char< CTTL_STD_WCHAR > >
00371         >
00372         xtl_pair_T;
00373 
00374     return xtl_wrap< xtl_pair_T >( xtl_pair_T( xtl_char< CTTL_STD_WCHAR >( left_ ), xtl_text_symbol< CTTL_STD_WSTRING >( middle_ ), xtl_char< CTTL_STD_WCHAR >( right_ ) ) );
00375 }
00376 
00377 
00378 /* specialization for CTTL_STD_WCHAR const*:CTTL_STD_WCHAR */
00379 inline
00380 xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >
00381 wchar_ansi_single_quote( CTTL_STD_WCHAR const* middle_ )
00382 {
00383     /* C-style quotes */
00384     return xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >( xtl_quote_ansi_single_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR >( middle_ ) );
00385 }
00386 
00387 
00388 /* specialization for CTTL_STD_WCHAR const*:CTTL_STD_WCHAR */
00389 inline xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >
00390 wchar_ansi_double_quote( CTTL_STD_WCHAR const* middle_ )
00391 {
00392     /* ANSI-style quotes */
00393     return xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >( xtl_quote_ansi_double_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR >( middle_ ) );
00394 }
00395 
00396 
00397 /* specialization for CTTL_STD_WCHAR const*:CTTL_STD_WCHAR */
00398 inline
00399 xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >
00400 wchar_c_single_quote( CTTL_STD_WCHAR const* middle_ )
00401 {
00402     /* C-style quotes */
00403     return xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >( xtl_quote_c_single_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR >( middle_ ) );
00404 }
00405 
00406 
00407 /* specialization for CTTL_STD_WCHAR const*:CTTL_STD_WCHAR */
00408 inline
00409 xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >
00410 wchar_c_double_quote( CTTL_STD_WCHAR const* middle_ )
00411 {
00412     /* C-style quotes */
00413     return xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >( xtl_quote_c_double_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR >( middle_ ) );
00414 }
00415 
00416 
00417 /* specialization for CTTL_STD_STRING const&:CTTL_STD_CHAR */
00418 inline
00419 xtl_wrap<
00420     xtl_quote_generic<
00421         xtl_wrap< xtl_char< CTTL_STD_CHAR > >,
00422         xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >,
00423         xtl_wrap< xtl_char< CTTL_STD_CHAR > >
00424     >
00425 >
00426 quote( CTTL_STD_CHAR left_, CTTL_STD_STRING const& middle_, CTTL_STD_CHAR right_ )
00427 {
00428     typedef
00429         xtl_quote_generic<
00430             xtl_wrap< xtl_char< CTTL_STD_CHAR > >,
00431             xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >,
00432             xtl_wrap< xtl_char< CTTL_STD_CHAR > >
00433         >
00434         xtl_pair_T;
00435 
00436     return xtl_wrap< xtl_pair_T >( xtl_pair_T( xtl_char< CTTL_STD_CHAR >( left_ ), xtl_text_symbol< CTTL_STD_STRING >( middle_ ), xtl_char< CTTL_STD_CHAR >( right_ ) ) );
00437 }
00438 
00439 
00440 /* specialization for CTTL_STD_STRING const&:CTTL_STD_CHAR */
00441 inline
00442 xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR > >
00443 ansi_single_quote( CTTL_STD_STRING const& middle_ )
00444 {
00445     /* C-style quotes */
00446     return xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR > >( xtl_quote_ansi_single_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR >( middle_ ) );
00447 }
00448 
00449 
00450 /* specialization for CTTL_STD_STRING const&:CTTL_STD_CHAR */
00451 inline xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR > >
00452 ansi_double_quote( CTTL_STD_STRING const& middle_ )
00453 {
00454     /* ANSI-style quotes */
00455     return xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR > >( xtl_quote_ansi_double_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR >( middle_ ) );
00456 }
00457 
00458 
00459 /* specialization for CTTL_STD_STRING const&:CTTL_STD_CHAR */
00460 inline
00461 xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR > >
00462 c_single_quote( CTTL_STD_STRING const& middle_ )
00463 {
00464     /* C-style quotes */
00465     return xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR > >( xtl_quote_c_single_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR >( middle_ ) );
00466 }
00467 
00468 
00469 /* specialization for CTTL_STD_STRING const&:CTTL_STD_CHAR */
00470 inline
00471 xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR > >
00472 c_double_quote( CTTL_STD_STRING const& middle_ )
00473 {
00474     /* C-style quotes */
00475     return xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR > >( xtl_quote_c_double_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR >( middle_ ) );
00476 }
00477 
00478 
00479 /* specialization for CTTL_STD_WSTRING const&:CTTL_STD_WCHAR */
00480 inline
00481 xtl_wrap<
00482     xtl_quote_generic<
00483         xtl_wrap< xtl_char< CTTL_STD_WCHAR > >,
00484         xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >,
00485         xtl_wrap< xtl_char< CTTL_STD_WCHAR > >
00486     >
00487 >
00488 wchar_quote( CTTL_STD_WCHAR left_, CTTL_STD_WSTRING const& middle_, CTTL_STD_WCHAR right_ )
00489 {
00490     typedef
00491         xtl_quote_generic<
00492             xtl_wrap< xtl_char< CTTL_STD_WCHAR > >,
00493             xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >,
00494             xtl_wrap< xtl_char< CTTL_STD_WCHAR > >
00495         >
00496         xtl_pair_T;
00497 
00498     return xtl_wrap< xtl_pair_T >( xtl_pair_T( xtl_char< CTTL_STD_WCHAR >( left_ ), xtl_text_symbol< CTTL_STD_WSTRING >( middle_ ), xtl_char< CTTL_STD_WCHAR >( right_ ) ) );
00499 }
00500 
00501 
00502 /* specialization for CTTL_STD_WSTRING const&:CTTL_STD_WCHAR */
00503 inline
00504 xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >
00505 wchar_ansi_single_quote( CTTL_STD_WSTRING const& middle_ )
00506 {
00507     /* C-style quotes */
00508     return xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >( xtl_quote_ansi_single_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR >( middle_ ) );
00509 }
00510 
00511 
00512 /* specialization for CTTL_STD_WSTRING const&:CTTL_STD_WCHAR */
00513 inline xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >
00514 wchar_ansi_double_quote( CTTL_STD_WSTRING const& middle_ )
00515 {
00516     /* ANSI-style quotes */
00517     return xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >( xtl_quote_ansi_double_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR >( middle_ ) );
00518 }
00519 
00520 
00521 /* specialization for CTTL_STD_WSTRING const&:CTTL_STD_WCHAR */
00522 inline
00523 xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >
00524 wchar_c_single_quote( CTTL_STD_WSTRING const& middle_ )
00525 {
00526     /* C-style quotes */
00527     return xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >( xtl_quote_c_single_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR >( middle_ ) );
00528 }
00529 
00530 
00531 /* specialization for CTTL_STD_WSTRING const&:CTTL_STD_WCHAR */
00532 inline
00533 xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >
00534 wchar_c_double_quote( CTTL_STD_WSTRING const& middle_ )
00535 {
00536     /* C-style quotes */
00537     return xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >( xtl_quote_c_double_quote< xtl_wrap< xtl_text_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR >( middle_ ) );
00538 }
00539 
00540 
00541 /* specialization for std::set< CTTL_STD_STRING > const&:CTTL_STD_CHAR */
00542 inline
00543 xtl_wrap<
00544     xtl_quote_generic<
00545         xtl_wrap< xtl_char< CTTL_STD_CHAR > >,
00546         xtl_wrap< xtl_keyword< CTTL_STD_STRING > >,
00547         xtl_wrap< xtl_char< CTTL_STD_CHAR > >
00548     >
00549 >
00550 quote( CTTL_STD_CHAR left_, std::set< CTTL_STD_STRING > const& middle_, CTTL_STD_CHAR right_ )
00551 {
00552     typedef
00553         xtl_quote_generic<
00554             xtl_wrap< xtl_char< CTTL_STD_CHAR > >,
00555             xtl_wrap< xtl_keyword< CTTL_STD_STRING > >,
00556             xtl_wrap< xtl_char< CTTL_STD_CHAR > >
00557         >
00558         xtl_pair_T;
00559 
00560     return xtl_wrap< xtl_pair_T >( xtl_pair_T( xtl_char< CTTL_STD_CHAR >( left_ ), xtl_keyword< CTTL_STD_STRING >( middle_ ), xtl_char< CTTL_STD_CHAR >( right_ ) ) );
00561 }
00562 
00563 
00564 /* specialization for std::set< CTTL_STD_STRING > const&:CTTL_STD_CHAR */
00565 inline
00566 xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_keyword< CTTL_STD_STRING > >, CTTL_STD_CHAR > >
00567 ansi_single_quote( std::set< CTTL_STD_STRING > const& middle_ )
00568 {
00569     /* C-style quotes */
00570     return xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_keyword< CTTL_STD_STRING > >, CTTL_STD_CHAR > >( xtl_quote_ansi_single_quote< xtl_wrap< xtl_keyword< CTTL_STD_STRING > >, CTTL_STD_CHAR >( middle_ ) );
00571 }
00572 
00573 
00574 /* specialization for std::set< CTTL_STD_STRING > const&:CTTL_STD_CHAR */
00575 inline xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_keyword< CTTL_STD_STRING > >, CTTL_STD_CHAR > >
00576 ansi_double_quote( std::set< CTTL_STD_STRING > const& middle_ )
00577 {
00578     /* ANSI-style quotes */
00579     return xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_keyword< CTTL_STD_STRING > >, CTTL_STD_CHAR > >( xtl_quote_ansi_double_quote< xtl_wrap< xtl_keyword< CTTL_STD_STRING > >, CTTL_STD_CHAR >( middle_ ) );
00580 }
00581 
00582 
00583 /* specialization for std::set< CTTL_STD_STRING > const&:CTTL_STD_CHAR */
00584 inline
00585 xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_keyword< CTTL_STD_STRING > >, CTTL_STD_CHAR > >
00586 c_single_quote( std::set< CTTL_STD_STRING > const& middle_ )
00587 {
00588     /* C-style quotes */
00589     return xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_keyword< CTTL_STD_STRING > >, CTTL_STD_CHAR > >( xtl_quote_c_single_quote< xtl_wrap< xtl_keyword< CTTL_STD_STRING > >, CTTL_STD_CHAR >( middle_ ) );
00590 }
00591 
00592 
00593 /* specialization for std::set< CTTL_STD_STRING > const&:CTTL_STD_CHAR */
00594 inline
00595 xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_keyword< CTTL_STD_STRING > >, CTTL_STD_CHAR > >
00596 c_double_quote( std::set< CTTL_STD_STRING > const& middle_ )
00597 {
00598     /* C-style quotes */
00599     return xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_keyword< CTTL_STD_STRING > >, CTTL_STD_CHAR > >( xtl_quote_c_double_quote< xtl_wrap< xtl_keyword< CTTL_STD_STRING > >, CTTL_STD_CHAR >( middle_ ) );
00600 }
00601 
00602 
00603 /* specialization for std::set< CTTL_STD_WSTRING > const&:CTTL_STD_WCHAR */
00604 inline
00605 xtl_wrap<
00606     xtl_quote_generic<
00607         xtl_wrap< xtl_char< CTTL_STD_WCHAR > >,
00608         xtl_wrap< xtl_keyword< CTTL_STD_WSTRING > >,
00609         xtl_wrap< xtl_char< CTTL_STD_WCHAR > >
00610     >
00611 >
00612 wchar_quote( CTTL_STD_WCHAR left_, std::set< CTTL_STD_WSTRING > const& middle_, CTTL_STD_WCHAR right_ )
00613 {
00614     typedef
00615         xtl_quote_generic<
00616             xtl_wrap< xtl_char< CTTL_STD_WCHAR > >,
00617             xtl_wrap< xtl_keyword< CTTL_STD_WSTRING > >,
00618             xtl_wrap< xtl_char< CTTL_STD_WCHAR > >
00619         >
00620         xtl_pair_T;
00621 
00622     return xtl_wrap< xtl_pair_T >( xtl_pair_T( xtl_char< CTTL_STD_WCHAR >( left_ ), xtl_keyword< CTTL_STD_WSTRING >( middle_ ), xtl_char< CTTL_STD_WCHAR >( right_ ) ) );
00623 }
00624 
00625 
00626 /* specialization for std::set< CTTL_STD_WSTRING > const&:CTTL_STD_WCHAR */
00627 inline
00628 xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_keyword< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >
00629 wchar_ansi_single_quote( std::set< CTTL_STD_WSTRING > const& middle_ )
00630 {
00631     /* C-style quotes */
00632     return xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_keyword< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >( xtl_quote_ansi_single_quote< xtl_wrap< xtl_keyword< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR >( middle_ ) );
00633 }
00634 
00635 
00636 /* specialization for std::set< CTTL_STD_WSTRING > const&:CTTL_STD_WCHAR */
00637 inline xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_keyword< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >
00638 wchar_ansi_double_quote( std::set< CTTL_STD_WSTRING > const& middle_ )
00639 {
00640     /* ANSI-style quotes */
00641     return xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_keyword< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >( xtl_quote_ansi_double_quote< xtl_wrap< xtl_keyword< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR >( middle_ ) );
00642 }
00643 
00644 
00645 /* specialization for std::set< CTTL_STD_WSTRING > const&:CTTL_STD_WCHAR */
00646 inline
00647 xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_keyword< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >
00648 wchar_c_single_quote( std::set< CTTL_STD_WSTRING > const& middle_ )
00649 {
00650     /* C-style quotes */
00651     return xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_keyword< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >( xtl_quote_c_single_quote< xtl_wrap< xtl_keyword< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR >( middle_ ) );
00652 }
00653 
00654 
00655 /* specialization for std::set< CTTL_STD_WSTRING > const&:CTTL_STD_WCHAR */
00656 inline
00657 xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_keyword< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >
00658 wchar_c_double_quote( std::set< CTTL_STD_WSTRING > const& middle_ )
00659 {
00660     /* C-style quotes */
00661     return xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_keyword< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >( xtl_quote_c_double_quote< xtl_wrap< xtl_keyword< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR >( middle_ ) );
00662 }
00663 
00664 
00665 /* specialization for iswhat_T:CTTL_STD_CHAR */
00666 inline
00667 xtl_wrap<
00668     xtl_quote_generic<
00669         xtl_wrap< xtl_char< CTTL_STD_CHAR > >,
00670         xtl_wrap< xtl_iswhat_entity >,
00671         xtl_wrap< xtl_char< CTTL_STD_CHAR > >
00672     >
00673 >
00674 quote( CTTL_STD_CHAR left_, iswhat_T middle_, CTTL_STD_CHAR right_ )
00675 {
00676     typedef
00677         xtl_quote_generic<
00678             xtl_wrap< xtl_char< CTTL_STD_CHAR > >,
00679             xtl_wrap< xtl_iswhat_entity >,
00680             xtl_wrap< xtl_char< CTTL_STD_CHAR > >
00681         >
00682         xtl_pair_T;
00683 
00684     return xtl_wrap< xtl_pair_T >( xtl_pair_T( xtl_char< CTTL_STD_CHAR >( left_ ), xtl_iswhat_entity( middle_ ), xtl_char< CTTL_STD_CHAR >( right_ ) ) );
00685 }
00686 
00687 
00688 /* specialization for iswhat_T:CTTL_STD_CHAR */
00689 inline
00690 xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_iswhat_entity >, CTTL_STD_CHAR > >
00691 ansi_single_quote( iswhat_T middle_ )
00692 {
00693     /* C-style quotes */
00694     return xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_iswhat_entity >, CTTL_STD_CHAR > >( xtl_quote_ansi_single_quote< xtl_wrap< xtl_iswhat_entity >, CTTL_STD_CHAR >( middle_ ) );
00695 }
00696 
00697 
00698 /* specialization for iswhat_T:CTTL_STD_CHAR */
00699 inline xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_iswhat_entity >, CTTL_STD_CHAR > >
00700 ansi_double_quote( iswhat_T middle_ )
00701 {
00702     /* ANSI-style quotes */
00703     return xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_iswhat_entity >, CTTL_STD_CHAR > >( xtl_quote_ansi_double_quote< xtl_wrap< xtl_iswhat_entity >, CTTL_STD_CHAR >( middle_ ) );
00704 }
00705 
00706 
00707 /* specialization for iswhat_T:CTTL_STD_CHAR */
00708 inline
00709 xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_iswhat_entity >, CTTL_STD_CHAR > >
00710 c_single_quote( iswhat_T middle_ )
00711 {
00712     /* C-style quotes */
00713     return xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_iswhat_entity >, CTTL_STD_CHAR > >( xtl_quote_c_single_quote< xtl_wrap< xtl_iswhat_entity >, CTTL_STD_CHAR >( middle_ ) );
00714 }
00715 
00716 
00717 /* specialization for iswhat_T:CTTL_STD_CHAR */
00718 inline
00719 xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_iswhat_entity >, CTTL_STD_CHAR > >
00720 c_double_quote( iswhat_T middle_ )
00721 {
00722     /* C-style quotes */
00723     return xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_iswhat_entity >, CTTL_STD_CHAR > >( xtl_quote_c_double_quote< xtl_wrap< xtl_iswhat_entity >, CTTL_STD_CHAR >( middle_ ) );
00724 }
00725 
00726 
00727 /* specialization for iswwhat_T:CTTL_STD_WCHAR */
00728 inline
00729 xtl_wrap<
00730     xtl_quote_generic<
00731         xtl_wrap< xtl_char< CTTL_STD_WCHAR > >,
00732         xtl_wrap< xtl_iswwhat_entity >,
00733         xtl_wrap< xtl_char< CTTL_STD_WCHAR > >
00734     >
00735 >
00736 wchar_quote( CTTL_STD_WCHAR left_, iswwhat_T middle_, CTTL_STD_WCHAR right_ )
00737 {
00738     typedef
00739         xtl_quote_generic<
00740             xtl_wrap< xtl_char< CTTL_STD_WCHAR > >,
00741             xtl_wrap< xtl_iswwhat_entity >,
00742             xtl_wrap< xtl_char< CTTL_STD_WCHAR > >
00743         >
00744         xtl_pair_T;
00745 
00746     return xtl_wrap< xtl_pair_T >( xtl_pair_T( xtl_char< CTTL_STD_WCHAR >( left_ ), xtl_iswwhat_entity( middle_ ), xtl_char< CTTL_STD_WCHAR >( right_ ) ) );
00747 }
00748 
00749 
00750 /* specialization for iswwhat_T:CTTL_STD_WCHAR */
00751 inline
00752 xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_iswwhat_entity >, CTTL_STD_WCHAR > >
00753 wchar_ansi_single_quote( iswwhat_T middle_ )
00754 {
00755     /* C-style quotes */
00756     return xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_iswwhat_entity >, CTTL_STD_WCHAR > >( xtl_quote_ansi_single_quote< xtl_wrap< xtl_iswwhat_entity >, CTTL_STD_WCHAR >( middle_ ) );
00757 }
00758 
00759 
00760 /* specialization for iswwhat_T:CTTL_STD_WCHAR */
00761 inline xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_iswwhat_entity >, CTTL_STD_WCHAR > >
00762 wchar_ansi_double_quote( iswwhat_T middle_ )
00763 {
00764     /* ANSI-style quotes */
00765     return xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_iswwhat_entity >, CTTL_STD_WCHAR > >( xtl_quote_ansi_double_quote< xtl_wrap< xtl_iswwhat_entity >, CTTL_STD_WCHAR >( middle_ ) );
00766 }
00767 
00768 
00769 /* specialization for iswwhat_T:CTTL_STD_WCHAR */
00770 inline
00771 xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_iswwhat_entity >, CTTL_STD_WCHAR > >
00772 wchar_c_single_quote( iswwhat_T middle_ )
00773 {
00774     /* C-style quotes */
00775     return xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_iswwhat_entity >, CTTL_STD_WCHAR > >( xtl_quote_c_single_quote< xtl_wrap< xtl_iswwhat_entity >, CTTL_STD_WCHAR >( middle_ ) );
00776 }
00777 
00778 
00779 /* specialization for iswwhat_T:CTTL_STD_WCHAR */
00780 inline
00781 xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_iswwhat_entity >, CTTL_STD_WCHAR > >
00782 wchar_c_double_quote( iswwhat_T middle_ )
00783 {
00784     /* C-style quotes */
00785     return xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_iswwhat_entity >, CTTL_STD_WCHAR > >( xtl_quote_c_double_quote< xtl_wrap< xtl_iswwhat_entity >, CTTL_STD_WCHAR >( middle_ ) );
00786 }
00787 
00788 
00789 /* specialization for CTTL_STD_STRING const*:CTTL_STD_CHAR */
00790 inline
00791 xtl_wrap<
00792     xtl_quote_generic<
00793         xtl_wrap< xtl_char< CTTL_STD_CHAR > >,
00794         xtl_wrap< xtl_text_ref_symbol< CTTL_STD_STRING > >,
00795         xtl_wrap< xtl_char< CTTL_STD_CHAR > >
00796     >
00797 >
00798 quote( CTTL_STD_CHAR left_, CTTL_STD_STRING const* middle_, CTTL_STD_CHAR right_ )
00799 {
00800     typedef
00801         xtl_quote_generic<
00802             xtl_wrap< xtl_char< CTTL_STD_CHAR > >,
00803             xtl_wrap< xtl_text_ref_symbol< CTTL_STD_STRING > >,
00804             xtl_wrap< xtl_char< CTTL_STD_CHAR > >
00805         >
00806         xtl_pair_T;
00807 
00808     return xtl_wrap< xtl_pair_T >( xtl_pair_T( xtl_char< CTTL_STD_CHAR >( left_ ), xtl_text_ref_symbol< CTTL_STD_STRING >( middle_ ), xtl_char< CTTL_STD_CHAR >( right_ ) ) );
00809 }
00810 
00811 
00812 /* specialization for CTTL_STD_STRING const*:CTTL_STD_CHAR */
00813 inline
00814 xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_text_ref_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR > >
00815 ansi_single_quote( CTTL_STD_STRING const* middle_ )
00816 {
00817     /* C-style quotes */
00818     return xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_text_ref_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR > >( xtl_quote_ansi_single_quote< xtl_wrap< xtl_text_ref_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR >( middle_ ) );
00819 }
00820 
00821 
00822 /* specialization for CTTL_STD_STRING const*:CTTL_STD_CHAR */
00823 inline xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_text_ref_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR > >
00824 ansi_double_quote( CTTL_STD_STRING const* middle_ )
00825 {
00826     /* ANSI-style quotes */
00827     return xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_text_ref_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR > >( xtl_quote_ansi_double_quote< xtl_wrap< xtl_text_ref_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR >( middle_ ) );
00828 }
00829 
00830 
00831 /* specialization for CTTL_STD_STRING const*:CTTL_STD_CHAR */
00832 inline
00833 xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_text_ref_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR > >
00834 c_single_quote( CTTL_STD_STRING const* middle_ )
00835 {
00836     /* C-style quotes */
00837     return xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_text_ref_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR > >( xtl_quote_c_single_quote< xtl_wrap< xtl_text_ref_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR >( middle_ ) );
00838 }
00839 
00840 
00841 /* specialization for CTTL_STD_STRING const*:CTTL_STD_CHAR */
00842 inline
00843 xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_text_ref_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR > >
00844 c_double_quote( CTTL_STD_STRING const* middle_ )
00845 {
00846     /* C-style quotes */
00847     return xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_text_ref_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR > >( xtl_quote_c_double_quote< xtl_wrap< xtl_text_ref_symbol< CTTL_STD_STRING > >, CTTL_STD_CHAR >( middle_ ) );
00848 }
00849 
00850 
00851 /* specialization for CTTL_STD_WSTRING const*:CTTL_STD_WCHAR */
00852 inline
00853 xtl_wrap<
00854     xtl_quote_generic<
00855         xtl_wrap< xtl_char< CTTL_STD_WCHAR > >,
00856         xtl_wrap< xtl_text_ref_symbol< CTTL_STD_WSTRING > >,
00857         xtl_wrap< xtl_char< CTTL_STD_WCHAR > >
00858     >
00859 >
00860 wchar_quote( CTTL_STD_WCHAR left_, CTTL_STD_WSTRING const* middle_, CTTL_STD_WCHAR right_ )
00861 {
00862     typedef
00863         xtl_quote_generic<
00864             xtl_wrap< xtl_char< CTTL_STD_WCHAR > >,
00865             xtl_wrap< xtl_text_ref_symbol< CTTL_STD_WSTRING > >,
00866             xtl_wrap< xtl_char< CTTL_STD_WCHAR > >
00867         >
00868         xtl_pair_T;
00869 
00870     return xtl_wrap< xtl_pair_T >( xtl_pair_T( xtl_char< CTTL_STD_WCHAR >( left_ ), xtl_text_ref_symbol< CTTL_STD_WSTRING >( middle_ ), xtl_char< CTTL_STD_WCHAR >( right_ ) ) );
00871 }
00872 
00873 
00874 /* specialization for CTTL_STD_WSTRING const*:CTTL_STD_WCHAR */
00875 inline
00876 xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_text_ref_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >
00877 wchar_ansi_single_quote( CTTL_STD_WSTRING const* middle_ )
00878 {
00879     /* C-style quotes */
00880     return xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< xtl_text_ref_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >( xtl_quote_ansi_single_quote< xtl_wrap< xtl_text_ref_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR >( middle_ ) );
00881 }
00882 
00883 
00884 /* specialization for CTTL_STD_WSTRING const*:CTTL_STD_WCHAR */
00885 inline xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_text_ref_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >
00886 wchar_ansi_double_quote( CTTL_STD_WSTRING const* middle_ )
00887 {
00888     /* ANSI-style quotes */
00889     return xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< xtl_text_ref_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >( xtl_quote_ansi_double_quote< xtl_wrap< xtl_text_ref_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR >( middle_ ) );
00890 }
00891 
00892 
00893 /* specialization for CTTL_STD_WSTRING const*:CTTL_STD_WCHAR */
00894 inline
00895 xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_text_ref_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >
00896 wchar_c_single_quote( CTTL_STD_WSTRING const* middle_ )
00897 {
00898     /* C-style quotes */
00899     return xtl_wrap< xtl_quote_c_single_quote< xtl_wrap< xtl_text_ref_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >( xtl_quote_c_single_quote< xtl_wrap< xtl_text_ref_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR >( middle_ ) );
00900 }
00901 
00902 
00903 /* specialization for CTTL_STD_WSTRING const*:CTTL_STD_WCHAR */
00904 inline
00905 xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_text_ref_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >
00906 wchar_c_double_quote( CTTL_STD_WSTRING const* middle_ )
00907 {
00908     /* C-style quotes */
00909     return xtl_wrap< xtl_quote_c_double_quote< xtl_wrap< xtl_text_ref_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR > >( xtl_quote_c_double_quote< xtl_wrap< xtl_text_ref_symbol< CTTL_STD_WSTRING > >, CTTL_STD_WCHAR >( middle_ ) );
00910 }
00911 
00912 
00913 }   /* namespace cttl */
00914 
00915 #endif /* _CTTL_XTL_QUOTE_SPECLZD_H_INCLUDED_ */

Generated on Thu Nov 2 17:44:08 2006 for Common Text Transformation Library by  doxygen 1.3.9.1