// file : xsd/cxx/parser/validating/xml-schema-pimpl.ixx // copyright : Copyright (c) 2005-2014 Code Synthesis Tools CC // license : GNU GPL v2 + exceptions; see accompanying LICENSE file #if defined(XSD_CXX_PARSER_USE_CHAR) || !defined(XSD_CXX_PARSER_USE_WCHAR) #ifndef XSD_CXX_PARSER_VALIDATING_XML_SCHEMA_PIMPL_IXX_CHAR #define XSD_CXX_PARSER_VALIDATING_XML_SCHEMA_PIMPL_IXX_CHAR namespace xsd { namespace cxx { namespace parser { namespace validating { namespace bits { template<> inline const char* boolean () { return "boolean"; } template<> inline const char* byte () { return "byte"; } template<> inline const char* unsigned_byte () { return "unsignedByte"; } template<> inline const char* short_ () { return "short"; } template<> inline const char* unsigned_short () { return "unsignedShort"; } template<> inline const char* int_ () { return "int"; } template<> inline const char* unsigned_int () { return "unsignedInt"; } template<> inline const char* long_ () { return "long"; } template<> inline const char* unsigned_long () { return "unsignedLong"; } template<> inline const char* integer () { return "integer"; } template<> inline const char* negative_integer () { return "negativeInteger"; } template<> inline const char* non_positive_integer () { return "nonPositiveInteger"; } template<> inline const char* non_negative_integer () { return "nonNegativeInteger"; } template<> inline const char* positive_integer () { return "positiveInteger"; } template<> inline const char* float_ () { return "float"; } template<> inline const char* double_ () { return "double"; } template<> inline const char* decimal () { return "decimal"; } template<> inline const char* name () { return "Name"; } template<> inline const char* nmtoken () { return "NMTOKEN"; } template<> inline const char* nmtokens () { return "NMTOKENS"; } template<> inline const char* ncname () { return "NCName"; } template<> inline const char* id () { return "ID"; } template<> inline const char* idref () { return "IDREF"; } template<> inline const char* idrefs () { return "IDREFS"; } template<> inline const char* language () { return "language"; } template<> inline const char* qname () { return "QName"; } template<> inline const char* base64_binary () { return "base64Binary"; } template<> inline const char* hex_binary () { return "hexBinary"; } template<> inline const char* gday () { return "gDay"; } template<> inline const char* gmonth () { return "gMonth"; } template<> inline const char* gyear () { return "gYear"; } template<> inline const char* gmonth_day () { return "gMonthDay"; } template<> inline const char* gyear_month () { return "gYearMonth"; } template<> inline const char* date () { return "date"; } template<> inline const char* time () { return "time"; } template<> inline const char* date_time () { return "dateTime"; } template<> inline const char* duration () { return "duration"; } // // template<> inline const char* positive_inf () { return "INF"; } template<> inline const char* negative_inf () { return "-INF"; } template<> inline const char* nan () { return "NaN"; } // // template<> inline const char* true_ () { return "true"; } template<> inline const char* false_ () { return "false"; } template<> inline const char* one () { return "1"; } template<> inline const char* zero () { return "0"; } } } } } } #endif // XSD_CXX_PARSER_VALIDATING_XML_SCHEMA_PIMPL_IXX_CHAR #endif // XSD_CXX_PARSER_USE_CHAR #if defined(XSD_CXX_PARSER_USE_WCHAR) || !defined(XSD_CXX_PARSER_USE_CHAR) #ifndef XSD_CXX_PARSER_VALIDATING_XML_SCHEMA_PIMPL_IXX_WCHAR #define XSD_CXX_PARSER_VALIDATING_XML_SCHEMA_PIMPL_IXX_WCHAR namespace xsd { namespace cxx { namespace parser { namespace validating { namespace bits { template<> inline const wchar_t* boolean () { return L"boolean"; } template<> inline const wchar_t* byte () { return L"byte"; } template<> inline const wchar_t* unsigned_byte () { return L"unsignedByte"; } template<> inline const wchar_t* short_ () { return L"short"; } template<> inline const wchar_t* unsigned_short () { return L"unsignedShort"; } template<> inline const wchar_t* int_ () { return L"int"; } template<> inline const wchar_t* unsigned_int () { return L"unsignedInt"; } template<> inline const wchar_t* long_ () { return L"long"; } template<> inline const wchar_t* unsigned_long () { return L"unsignedLong"; } template<> inline const wchar_t* integer () { return L"integer"; } template<> inline const wchar_t* negative_integer () { return L"negativeInteger"; } template<> inline const wchar_t* non_positive_integer () { return L"nonPositiveInteger"; } template<> inline const wchar_t* non_negative_integer () { return L"nonNegativeInteger"; } template<> inline const wchar_t* positive_integer () { return L"positiveInteger"; } template<> inline const wchar_t* float_ () { return L"float"; } template<> inline const wchar_t* double_ () { return L"double"; } template<> inline const wchar_t* decimal () { return L"decimal"; } template<> inline const wchar_t* name () { return L"Name"; } template<> inline const wchar_t* nmtoken () { return L"NMTOKEN"; } template<> inline const wchar_t* nmtokens () { return L"NMTOKENS"; } template<> inline const wchar_t* ncname () { return L"NCName"; } template<> inline const wchar_t* id () { return L"ID"; } template<> inline const wchar_t* idref () { return L"IDREF"; } template<> inline const wchar_t* idrefs () { return L"IDREFS"; } template<> inline const wchar_t* language () { return L"language"; } template<> inline const wchar_t* qname () { return L"QName"; } template<> inline const wchar_t* base64_binary () { return L"base64Binary"; } template<> inline const wchar_t* hex_binary () { return L"hexBinary"; } template<> inline const wchar_t* gday () { return L"gDay"; } template<> inline const wchar_t* gmonth () { return L"gMonth"; } template<> inline const wchar_t* gyear () { return L"gYear"; } template<> inline const wchar_t* gmonth_day () { return L"gMonthDay"; } template<> inline const wchar_t* gyear_month () { return L"gYearMonth"; } template<> inline const wchar_t* date () { return L"date"; } template<> inline const wchar_t* time () { return L"time"; } template<> inline const wchar_t* date_time () { return L"dateTime"; } template<> inline const wchar_t* duration () { return L"duration"; } // // template<> inline const wchar_t* positive_inf () { return L"INF"; } template<> inline const wchar_t* negative_inf () { return L"-INF"; } template<> inline const wchar_t* nan () { return L"NaN"; } // // template<> inline const wchar_t* true_ () { return L"true"; } template<> inline const wchar_t* false_ () { return L"false"; } template<> inline const wchar_t* one () { return L"1"; } template<> inline const wchar_t* zero () { return L"0"; } } } } } } #endif // XSD_CXX_PARSER_VALIDATING_XML_SCHEMA_PIMPL_IXX_WCHAR #endif // XSD_CXX_PARSER_USE_WCHAR