LCOV - code coverage report
Current view: top level - /usr/include/xsd/cxx/xml/bits - literals.ixx (source / functions) Coverage Total Hit
Test: mu2edaq.info.cleaned Lines: 0.0 % 24 0
Test Date: 2026-07-30 01:56:44 Functions: 0.0 % 12 0

            Line data    Source code
       1              : // file      : xsd/cxx/xml/bits/literals.ixx
       2              : // copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
       3              : // license   : GNU GPL v2 + exceptions; see accompanying LICENSE file
       4              : 
       5              : #ifndef XSD_CXX_XML_BITS_LITERALS_IXX
       6              : #define XSD_CXX_XML_BITS_LITERALS_IXX
       7              : 
       8              : #endif // XSD_CXX_XML_BITS_LITERALS_IXX
       9              : 
      10              : 
      11              : #if defined(XSD_USE_CHAR) || !defined(XSD_USE_WCHAR)
      12              : 
      13              : #ifndef XSD_CXX_XML_BITS_LITERALS_IXX_CHAR
      14              : #define XSD_CXX_XML_BITS_LITERALS_IXX_CHAR
      15              : 
      16              : namespace xsd
      17              : {
      18              :   namespace cxx
      19              :   {
      20              :     namespace xml
      21              :     {
      22              :       namespace bits
      23              :       {
      24              :         template <>
      25              :         inline const char*
      26            0 :         xml_prefix<char> ()
      27              :         {
      28            0 :           return "xml";
      29              :         }
      30              : 
      31              :         template <>
      32              :         inline const char*
      33            0 :         xml_namespace<char> ()
      34              :         {
      35            0 :           return "http://www.w3.org/XML/1998/namespace";
      36              :         }
      37              : 
      38              :         template <>
      39              :         inline const char*
      40            0 :         xmlns_prefix<char> ()
      41              :         {
      42            0 :           return "xmlns";
      43              :         }
      44              : 
      45              :         template <>
      46              :         inline const char*
      47              :         xmlns_namespace<char> ()
      48              :         {
      49              :           return "http://www.w3.org/2000/xmlns/";
      50              :         }
      51              : 
      52              :         template <>
      53              :         inline const char*
      54            0 :         xsi_prefix<char> ()
      55              :         {
      56            0 :           return "xsi";
      57              :         }
      58              : 
      59              :         template <>
      60              :         inline const char*
      61            0 :         xsi_namespace<char> ()
      62              :         {
      63            0 :           return "http://www.w3.org/2001/XMLSchema-instance";
      64              :         }
      65              : 
      66              :         template <>
      67              :         inline const char*
      68              :         type<char> ()
      69              :         {
      70              :           return "type";
      71              :         }
      72              : 
      73              :         template <>
      74              :         inline const char*
      75              :         nil_lit<char> ()
      76              :         {
      77              :           return "nil";
      78              :         }
      79              : 
      80              :         template <>
      81              :         inline const char*
      82            0 :         schema_location<char> ()
      83              :         {
      84            0 :           return "schemaLocation";
      85              :         }
      86              : 
      87              :         template <>
      88              :         inline const char*
      89            0 :         no_namespace_schema_location<char> ()
      90              :         {
      91            0 :           return "noNamespaceSchemaLocation";
      92              :         }
      93              : 
      94              :         template <>
      95              :         inline const char*
      96            0 :         first_prefix<char> ()
      97              :         {
      98            0 :           return "p1";
      99              :         }
     100              : 
     101              :         template <>
     102              :         inline const char*
     103            0 :         second_prefix<char> ()
     104              :         {
     105            0 :           return "p2";
     106              :         }
     107              : 
     108              :         template <>
     109              :         inline const char*
     110            0 :         third_prefix<char> ()
     111              :         {
     112            0 :           return "p3";
     113              :         }
     114              : 
     115              :         template <>
     116              :         inline const char*
     117            0 :         fourth_prefix<char> ()
     118              :         {
     119            0 :           return "p4";
     120              :         }
     121              : 
     122              :         template <>
     123              :         inline const char*
     124            0 :         fifth_prefix<char> ()
     125              :         {
     126            0 :           return "p5";
     127              :         }
     128              :       }
     129              :     }
     130              :   }
     131              : }
     132              : 
     133              : #endif // XSD_CXX_XML_BITS_LITERALS_IXX_CHAR
     134              : #endif // XSD_USE_CHAR
     135              : 
     136              : 
     137              : #if defined(XSD_USE_WCHAR) || !defined(XSD_USE_CHAR)
     138              : 
     139              : #ifndef XSD_CXX_XML_BITS_LITERALS_IXX_WCHAR
     140              : #define XSD_CXX_XML_BITS_LITERALS_IXX_WCHAR
     141              : 
     142              : namespace xsd
     143              : {
     144              :   namespace cxx
     145              :   {
     146              :     namespace xml
     147              :     {
     148              :       namespace bits
     149              :       {
     150              :         template <>
     151              :         inline const wchar_t*
     152              :         xml_prefix<wchar_t> ()
     153              :         {
     154              :           return L"xml";
     155              :         }
     156              : 
     157              :         template <>
     158              :         inline const wchar_t*
     159              :         xml_namespace<wchar_t> ()
     160              :         {
     161              :           return L"http://www.w3.org/XML/1998/namespace";
     162              :         }
     163              : 
     164              :         template <>
     165              :         inline const wchar_t*
     166              :         xmlns_prefix<wchar_t> ()
     167              :         {
     168              :           return L"xmlns";
     169              :         }
     170              : 
     171              :         template <>
     172              :         inline const wchar_t*
     173              :         xmlns_namespace<wchar_t> ()
     174              :         {
     175              :           return L"http://www.w3.org/2000/xmlns/";
     176              :         }
     177              : 
     178              :         template <>
     179              :         inline const wchar_t*
     180              :         xsi_prefix<wchar_t> ()
     181              :         {
     182              :           return L"xsi";
     183              :         }
     184              : 
     185              :         template <>
     186              :         inline const wchar_t*
     187              :         xsi_namespace<wchar_t> ()
     188              :         {
     189              :           return L"http://www.w3.org/2001/XMLSchema-instance";
     190              :         }
     191              : 
     192              :         template <>
     193              :         inline const wchar_t*
     194              :         type<wchar_t> ()
     195              :         {
     196              :           return L"type";
     197              :         }
     198              : 
     199              :         template <>
     200              :         inline const wchar_t*
     201              :         nil_lit<wchar_t> ()
     202              :         {
     203              :           return L"nil";
     204              :         }
     205              : 
     206              :         template <>
     207              :         inline const wchar_t*
     208              :         schema_location<wchar_t> ()
     209              :         {
     210              :           return L"schemaLocation";
     211              :         }
     212              : 
     213              :         template <>
     214              :         inline const wchar_t*
     215              :         no_namespace_schema_location<wchar_t> ()
     216              :         {
     217              :           return L"noNamespaceSchemaLocation";
     218              :         }
     219              : 
     220              :         template <>
     221              :         inline const wchar_t*
     222              :         first_prefix<wchar_t> ()
     223              :         {
     224              :           return L"p1";
     225              :         }
     226              : 
     227              :         template <>
     228              :         inline const wchar_t*
     229              :         second_prefix<wchar_t> ()
     230              :         {
     231              :           return L"p2";
     232              :         }
     233              : 
     234              :         template <>
     235              :         inline const wchar_t*
     236              :         third_prefix<wchar_t> ()
     237              :         {
     238              :           return L"p3";
     239              :         }
     240              : 
     241              :         template <>
     242              :         inline const wchar_t*
     243              :         fourth_prefix<wchar_t> ()
     244              :         {
     245              :           return L"p4";
     246              :         }
     247              : 
     248              :         template <>
     249              :         inline const wchar_t*
     250              :         fifth_prefix<wchar_t> ()
     251              :         {
     252              :           return L"p5";
     253              :         }
     254              :       }
     255              :     }
     256              :   }
     257              : }
     258              : 
     259              : #endif // XSD_CXX_XML_BITS_LITERALS_IXX_WCHAR
     260              : #endif // XSD_USE_WCHAR
        

Generated by: LCOV version 2.0-1