Doxygen
Loading...
Searching...
No Matches
htmlentity.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* Copyright (C) 1997-2015 by Dimitri van Heesch.
4
*
5
* Permission to use, copy, modify, and distribute this software and its
6
* documentation under the terms of the GNU General Public License is hereby
7
* granted. No representations are made about the suitability of this software
8
* for any purpose. It is provided "as is" without express or implied warranty.
9
* See the GNU General Public License for more details.
10
*
11
* Documents produced by Doxygen are derivative works derived from the
12
* input used in their production; they are not affected by this license.
13
*
14
*/
15
#ifndef HTMLENTITY_H
16
#define HTMLENTITY_H
17
18
#include <unordered_map>
19
#include <string>
20
21
#include "
qcstring.h
"
22
#include "
construct.h
"
23
24
class
TextStream
;
25
26
/** @brief Singleton helper class to map html entities to other formats */
27
class
HtmlEntityMapper
28
{
29
public
:
30
enum
SymType
{
Sym_Unknown
= -1,
31
Sym_nbsp
,
Sym_iexcl
,
Sym_cent
,
Sym_pound
,
Sym_curren
,
32
Sym_yen
,
Sym_brvbar
,
Sym_sect
,
Sym_uml
,
Sym_copy
,
33
Sym_ordf
,
Sym_laquo
,
Sym_not
,
Sym_shy
,
Sym_reg
,
34
Sym_macr
,
Sym_deg
,
Sym_plusmn
,
Sym_sup2
,
Sym_sup3
,
35
Sym_acute
,
Sym_micro
,
Sym_para
,
Sym_middot
,
Sym_cedil
,
36
Sym_sup1
,
Sym_ordm
,
Sym_raquo
,
Sym_frac14
,
Sym_frac12
,
37
Sym_frac34
,
Sym_iquest
,
Sym_Agrave
,
Sym_Aacute
,
Sym_Acirc
,
38
Sym_Atilde
,
Sym_Auml
,
Sym_Aring
,
Sym_AElig
,
Sym_Ccedil
,
39
Sym_Egrave
,
Sym_Eacute
,
Sym_Ecirc
,
Sym_Euml
,
Sym_Igrave
,
40
Sym_Iacute
,
Sym_Icirc
,
Sym_Iuml
,
Sym_ETH
,
Sym_Ntilde
,
41
Sym_Ograve
,
Sym_Oacute
,
Sym_Ocirc
,
Sym_Otilde
,
Sym_Ouml
,
42
Sym_times
,
Sym_Oslash
,
Sym_Ugrave
,
Sym_Uacute
,
Sym_Ucirc
,
43
Sym_Uuml
,
Sym_Yacute
,
Sym_THORN
,
Sym_szlig
,
Sym_agrave
,
44
Sym_aacute
,
Sym_acirc
,
Sym_atilde
,
Sym_auml
,
Sym_aring
,
45
Sym_aelig
,
Sym_ccedil
,
Sym_egrave
,
Sym_eacute
,
Sym_ecirc
,
46
Sym_euml
,
Sym_igrave
,
Sym_iacute
,
Sym_icirc
,
Sym_iuml
,
47
Sym_eth
,
Sym_ntilde
,
Sym_ograve
,
Sym_oacute
,
Sym_ocirc
,
48
Sym_otilde
,
Sym_ouml
,
Sym_divide
,
Sym_oslash
,
Sym_ugrave
,
49
Sym_uacute
,
Sym_ucirc
,
Sym_uuml
,
Sym_yacute
,
Sym_thorn
,
50
Sym_yuml
,
Sym_fnof
,
Sym_Alpha
,
Sym_Beta
,
Sym_Gamma
,
51
Sym_Delta
,
Sym_Epsilon
,
Sym_Zeta
,
Sym_Eta
,
Sym_Theta
,
52
Sym_Iota
,
Sym_Kappa
,
Sym_Lambda
,
Sym_Mu
,
Sym_Nu
,
53
Sym_Xi
,
Sym_Omicron
,
Sym_Pi
,
Sym_Rho
,
Sym_Sigma
,
54
Sym_Tau
,
Sym_Upsilon
,
Sym_Phi
,
Sym_Chi
,
Sym_Psi
,
55
Sym_Omega
,
Sym_alpha
,
Sym_beta
,
Sym_gamma
,
Sym_delta
,
56
Sym_epsilon
,
Sym_zeta
,
Sym_eta
,
Sym_theta
,
Sym_iota
,
57
Sym_kappa
,
Sym_lambda
,
Sym_mu
,
Sym_nu
,
Sym_xi
,
58
Sym_omicron
,
Sym_pi
,
Sym_rho
,
Sym_sigmaf
,
Sym_sigma
,
59
Sym_tau
,
Sym_upsilon
,
Sym_phi
,
Sym_chi
,
Sym_psi
,
60
Sym_omega
,
Sym_thetasym
,
Sym_upsih
,
Sym_piv
,
Sym_bull
,
61
Sym_hellip
,
Sym_prime
,
Sym_Prime
,
Sym_oline
,
Sym_frasl
,
62
Sym_weierp
,
Sym_image
,
Sym_real
,
Sym_trade
,
Sym_alefsym
,
63
Sym_larr
,
Sym_uarr
,
Sym_rarr
,
Sym_darr
,
Sym_harr
,
64
Sym_crarr
,
Sym_lArr
,
Sym_uArr
,
Sym_rArr
,
Sym_dArr
,
65
Sym_hArr
,
Sym_forall
,
Sym_part
,
Sym_exist
,
Sym_empty
,
66
Sym_nabla
,
Sym_isin
,
Sym_notin
,
Sym_ni
,
Sym_prod
,
67
Sym_sum
,
Sym_minus
,
Sym_lowast
,
Sym_radic
,
Sym_prop
,
68
Sym_infin
,
Sym_ang
,
Sym_and
,
Sym_or
,
Sym_cap
,
69
Sym_cup
,
Sym_int
,
Sym_there4
,
Sym_sim
,
Sym_cong
,
70
Sym_asymp
,
Sym_ne
,
Sym_equiv
,
Sym_le
,
Sym_ge
,
71
Sym_sub
,
Sym_sup
,
Sym_nsub
,
Sym_sube
,
Sym_supe
,
72
Sym_oplus
,
Sym_otimes
,
Sym_perp
,
Sym_sdot
,
Sym_lceil
,
73
Sym_rceil
,
Sym_lfloor
,
Sym_rfloor
,
Sym_lang
,
Sym_rang
,
74
Sym_loz
,
Sym_spades
,
Sym_clubs
,
Sym_hearts
,
Sym_diams
,
75
Sym_quot
,
Sym_amp
,
Sym_lt
,
Sym_gt
,
Sym_OElig
,
76
Sym_oelig
,
Sym_Scaron
,
Sym_scaron
,
Sym_Yuml
,
Sym_circ
,
77
Sym_tilde
,
Sym_ensp
,
Sym_emsp
,
Sym_thinsp
,
Sym_zwnj
,
78
Sym_zwj
,
Sym_lrm
,
Sym_rlm
,
Sym_ndash
,
Sym_mdash
,
79
Sym_lsquo
,
Sym_rsquo
,
Sym_sbquo
,
Sym_ldquo
,
Sym_rdquo
,
80
Sym_bdquo
,
Sym_dagger
,
Sym_Dagger
,
Sym_permil
,
Sym_lsaquo
,
81
Sym_rsaquo
,
Sym_euro
,
82
83
/* doxygen extensions */
84
Sym_tm
,
Sym_apos
,
85
86
/* doxygen commands mapped */
87
Sym_BSlash
,
Sym_At
,
Sym_Less
,
Sym_Greater
,
Sym_Amp
,
88
Sym_Dollar
,
Sym_Hash
,
Sym_DoubleColon
,
Sym_Percent
,
Sym_Pipe
,
89
Sym_Quot
,
Sym_Minus
,
Sym_Plus
,
Sym_Dot
,
Sym_Colon
,
Sym_Equal
,
90
Sym_Exclam
,
Sym_Quest
91
};
92
enum
PerlType
{
Perl_unknown
= 0,
Perl_string
,
Perl_char
,
Perl_symbol
,
Perl_umlaut
,
93
Perl_acute
,
Perl_grave
,
Perl_circ
,
Perl_slash
,
Perl_tilde
,
94
Perl_cedilla
,
Perl_ring
95
};
96
static
HtmlEntityMapper
&
instance
();
97
SymType
name2sym
(
const
QCString
&symName)
const
;
98
const
char
*
utf8
(
SymType
symb,
bool
useInPrintf=
FALSE
)
const
;
99
const
char
*
html
(
SymType
symb,
bool
useInPrintf=
FALSE
)
const
;
100
const
char
*
xml
(
SymType
symb)
const
;
101
const
char
*
docbook
(
SymType
symb)
const
;
102
const
char
*
latex
(
SymType
symb)
const
;
103
const
char
*
man
(
SymType
symb)
const
;
104
const
char
*
rtf
(
SymType
symb)
const
;
105
struct
PerlSymb
106
{
107
const
char
*
symb
;
108
const
PerlType
type
;
109
};
110
const
PerlSymb
*
perl
(
SymType
symb)
const
;
111
void
writeXMLSchema
(
TextStream
&t);
112
private
:
113
void
validate
();
114
HtmlEntityMapper
();
115
~HtmlEntityMapper
();
116
NON_COPYABLE
(
HtmlEntityMapper
)
117
static
HtmlEntityMapper
*
s_instance
;
118
std::unordered_map<std::
string
,
SymType
>
m_name2sym
;
119
};
120
121
#endif
HtmlEntityMapper
Singleton helper class to map html entities to other formats.
Definition
htmlentity.h:28
HtmlEntityMapper::~HtmlEntityMapper
~HtmlEntityMapper()
Definition
htmlentity.cpp:338
HtmlEntityMapper::latex
const char * latex(SymType symb) const
Access routine to the LaTeX code of the HTML entity.
Definition
htmlentity.cpp:417
HtmlEntityMapper::PerlType
PerlType
Definition
htmlentity.h:92
HtmlEntityMapper::Perl_umlaut
@ Perl_umlaut
Definition
htmlentity.h:92
HtmlEntityMapper::Perl_tilde
@ Perl_tilde
Definition
htmlentity.h:93
HtmlEntityMapper::Perl_circ
@ Perl_circ
Definition
htmlentity.h:93
HtmlEntityMapper::Perl_string
@ Perl_string
Definition
htmlentity.h:92
HtmlEntityMapper::Perl_cedilla
@ Perl_cedilla
Definition
htmlentity.h:94
HtmlEntityMapper::Perl_unknown
@ Perl_unknown
Definition
htmlentity.h:92
HtmlEntityMapper::Perl_slash
@ Perl_slash
Definition
htmlentity.h:93
HtmlEntityMapper::Perl_grave
@ Perl_grave
Definition
htmlentity.h:93
HtmlEntityMapper::Perl_symbol
@ Perl_symbol
Definition
htmlentity.h:92
HtmlEntityMapper::Perl_char
@ Perl_char
Definition
htmlentity.h:92
HtmlEntityMapper::Perl_ring
@ Perl_ring
Definition
htmlentity.h:94
HtmlEntityMapper::Perl_acute
@ Perl_acute
Definition
htmlentity.h:93
HtmlEntityMapper::perl
const PerlSymb * perl(SymType symb) const
Access routine to the perl struct with the perl code of the HTML entity.
Definition
htmlentity.cpp:451
HtmlEntityMapper::SymType
SymType
Definition
htmlentity.h:30
HtmlEntityMapper::Sym_lrm
@ Sym_lrm
Definition
htmlentity.h:78
HtmlEntityMapper::Sym_yen
@ Sym_yen
Definition
htmlentity.h:32
HtmlEntityMapper::Sym_otimes
@ Sym_otimes
Definition
htmlentity.h:72
HtmlEntityMapper::Sym_pi
@ Sym_pi
Definition
htmlentity.h:58
HtmlEntityMapper::Sym_Atilde
@ Sym_Atilde
Definition
htmlentity.h:38
HtmlEntityMapper::Sym_sdot
@ Sym_sdot
Definition
htmlentity.h:72
HtmlEntityMapper::Sym_aacute
@ Sym_aacute
Definition
htmlentity.h:44
HtmlEntityMapper::Sym_alpha
@ Sym_alpha
Definition
htmlentity.h:55
HtmlEntityMapper::Sym_Eacute
@ Sym_Eacute
Definition
htmlentity.h:39
HtmlEntityMapper::Sym_rArr
@ Sym_rArr
Definition
htmlentity.h:64
HtmlEntityMapper::Sym_Iuml
@ Sym_Iuml
Definition
htmlentity.h:40
HtmlEntityMapper::Sym_rsaquo
@ Sym_rsaquo
Definition
htmlentity.h:81
HtmlEntityMapper::Sym_quot
@ Sym_quot
Definition
htmlentity.h:75
HtmlEntityMapper::Sym_igrave
@ Sym_igrave
Definition
htmlentity.h:46
HtmlEntityMapper::Sym_Ecirc
@ Sym_Ecirc
Definition
htmlentity.h:39
HtmlEntityMapper::Sym_forall
@ Sym_forall
Definition
htmlentity.h:65
HtmlEntityMapper::Sym_sup1
@ Sym_sup1
Definition
htmlentity.h:36
HtmlEntityMapper::Sym_Euml
@ Sym_Euml
Definition
htmlentity.h:39
HtmlEntityMapper::Sym_Upsilon
@ Sym_Upsilon
Definition
htmlentity.h:54
HtmlEntityMapper::Sym_laquo
@ Sym_laquo
Definition
htmlentity.h:33
HtmlEntityMapper::Sym_Ouml
@ Sym_Ouml
Definition
htmlentity.h:41
HtmlEntityMapper::Sym_larr
@ Sym_larr
Definition
htmlentity.h:63
HtmlEntityMapper::Sym_Dot
@ Sym_Dot
Definition
htmlentity.h:89
HtmlEntityMapper::Sym_Omicron
@ Sym_Omicron
Definition
htmlentity.h:53
HtmlEntityMapper::Sym_and
@ Sym_and
Definition
htmlentity.h:68
HtmlEntityMapper::Sym_Less
@ Sym_Less
Definition
htmlentity.h:87
HtmlEntityMapper::Sym_circ
@ Sym_circ
Definition
htmlentity.h:76
HtmlEntityMapper::Sym_int
@ Sym_int
Definition
htmlentity.h:69
HtmlEntityMapper::Sym_sect
@ Sym_sect
Definition
htmlentity.h:32
HtmlEntityMapper::Sym_ocirc
@ Sym_ocirc
Definition
htmlentity.h:47
HtmlEntityMapper::Sym_nsub
@ Sym_nsub
Definition
htmlentity.h:71
HtmlEntityMapper::Sym_macr
@ Sym_macr
Definition
htmlentity.h:34
HtmlEntityMapper::Sym_eth
@ Sym_eth
Definition
htmlentity.h:47
HtmlEntityMapper::Sym_oacute
@ Sym_oacute
Definition
htmlentity.h:47
HtmlEntityMapper::Sym_Igrave
@ Sym_Igrave
Definition
htmlentity.h:39
HtmlEntityMapper::Sym_Kappa
@ Sym_Kappa
Definition
htmlentity.h:52
HtmlEntityMapper::Sym_Chi
@ Sym_Chi
Definition
htmlentity.h:54
HtmlEntityMapper::Sym_iota
@ Sym_iota
Definition
htmlentity.h:56
HtmlEntityMapper::Sym_rlm
@ Sym_rlm
Definition
htmlentity.h:78
HtmlEntityMapper::Sym_ne
@ Sym_ne
Definition
htmlentity.h:70
HtmlEntityMapper::Sym_cedil
@ Sym_cedil
Definition
htmlentity.h:35
HtmlEntityMapper::Sym_uarr
@ Sym_uarr
Definition
htmlentity.h:63
HtmlEntityMapper::Sym_szlig
@ Sym_szlig
Definition
htmlentity.h:43
HtmlEntityMapper::Sym_plusmn
@ Sym_plusmn
Definition
htmlentity.h:34
HtmlEntityMapper::Sym_euro
@ Sym_euro
Definition
htmlentity.h:81
HtmlEntityMapper::Sym_oslash
@ Sym_oslash
Definition
htmlentity.h:48
HtmlEntityMapper::Sym_ldquo
@ Sym_ldquo
Definition
htmlentity.h:79
HtmlEntityMapper::Sym_there4
@ Sym_there4
Definition
htmlentity.h:69
HtmlEntityMapper::Sym_cap
@ Sym_cap
Definition
htmlentity.h:68
HtmlEntityMapper::Sym_prime
@ Sym_prime
Definition
htmlentity.h:61
HtmlEntityMapper::Sym_uArr
@ Sym_uArr
Definition
htmlentity.h:64
HtmlEntityMapper::Sym_ge
@ Sym_ge
Definition
htmlentity.h:70
HtmlEntityMapper::Sym_radic
@ Sym_radic
Definition
htmlentity.h:67
HtmlEntityMapper::Sym_tm
@ Sym_tm
Definition
htmlentity.h:84
HtmlEntityMapper::Sym_Colon
@ Sym_Colon
Definition
htmlentity.h:89
HtmlEntityMapper::Sym_copy
@ Sym_copy
Definition
htmlentity.h:32
HtmlEntityMapper::Sym_AElig
@ Sym_AElig
Definition
htmlentity.h:38
HtmlEntityMapper::Sym_mu
@ Sym_mu
Definition
htmlentity.h:57
HtmlEntityMapper::Sym_xi
@ Sym_xi
Definition
htmlentity.h:57
HtmlEntityMapper::Sym_Epsilon
@ Sym_Epsilon
Definition
htmlentity.h:51
HtmlEntityMapper::Sym_zwj
@ Sym_zwj
Definition
htmlentity.h:78
HtmlEntityMapper::Sym_Ccedil
@ Sym_Ccedil
Definition
htmlentity.h:38
HtmlEntityMapper::Sym_Aring
@ Sym_Aring
Definition
htmlentity.h:38
HtmlEntityMapper::Sym_ntilde
@ Sym_ntilde
Definition
htmlentity.h:47
HtmlEntityMapper::Sym_lambda
@ Sym_lambda
Definition
htmlentity.h:57
HtmlEntityMapper::Sym_le
@ Sym_le
Definition
htmlentity.h:70
HtmlEntityMapper::Sym_Aacute
@ Sym_Aacute
Definition
htmlentity.h:37
HtmlEntityMapper::Sym_part
@ Sym_part
Definition
htmlentity.h:65
HtmlEntityMapper::Sym_Psi
@ Sym_Psi
Definition
htmlentity.h:54
HtmlEntityMapper::Sym_Ugrave
@ Sym_Ugrave
Definition
htmlentity.h:42
HtmlEntityMapper::Sym_Theta
@ Sym_Theta
Definition
htmlentity.h:51
HtmlEntityMapper::Sym_Delta
@ Sym_Delta
Definition
htmlentity.h:51
HtmlEntityMapper::Sym_uml
@ Sym_uml
Definition
htmlentity.h:32
HtmlEntityMapper::Sym_asymp
@ Sym_asymp
Definition
htmlentity.h:70
HtmlEntityMapper::Sym_diams
@ Sym_diams
Definition
htmlentity.h:74
HtmlEntityMapper::Sym_Prime
@ Sym_Prime
Definition
htmlentity.h:61
HtmlEntityMapper::Sym_thorn
@ Sym_thorn
Definition
htmlentity.h:49
HtmlEntityMapper::Sym_Unknown
@ Sym_Unknown
Definition
htmlentity.h:30
HtmlEntityMapper::Sym_Ocirc
@ Sym_Ocirc
Definition
htmlentity.h:41
HtmlEntityMapper::Sym_Egrave
@ Sym_Egrave
Definition
htmlentity.h:39
HtmlEntityMapper::Sym_Tau
@ Sym_Tau
Definition
htmlentity.h:54
HtmlEntityMapper::Sym_Nu
@ Sym_Nu
Definition
htmlentity.h:52
HtmlEntityMapper::Sym_chi
@ Sym_chi
Definition
htmlentity.h:59
HtmlEntityMapper::Sym_lsaquo
@ Sym_lsaquo
Definition
htmlentity.h:80
HtmlEntityMapper::Sym_OElig
@ Sym_OElig
Definition
htmlentity.h:75
HtmlEntityMapper::Sym_euml
@ Sym_euml
Definition
htmlentity.h:46
HtmlEntityMapper::Sym_sup2
@ Sym_sup2
Definition
htmlentity.h:34
HtmlEntityMapper::Sym_auml
@ Sym_auml
Definition
htmlentity.h:44
HtmlEntityMapper::Sym_reg
@ Sym_reg
Definition
htmlentity.h:33
HtmlEntityMapper::Sym_thinsp
@ Sym_thinsp
Definition
htmlentity.h:77
HtmlEntityMapper::Sym_Omega
@ Sym_Omega
Definition
htmlentity.h:55
HtmlEntityMapper::Sym_sup
@ Sym_sup
Definition
htmlentity.h:71
HtmlEntityMapper::Sym_iquest
@ Sym_iquest
Definition
htmlentity.h:37
HtmlEntityMapper::Sym_hearts
@ Sym_hearts
Definition
htmlentity.h:74
HtmlEntityMapper::Sym_lArr
@ Sym_lArr
Definition
htmlentity.h:64
HtmlEntityMapper::Sym_lt
@ Sym_lt
Definition
htmlentity.h:75
HtmlEntityMapper::Sym_Ograve
@ Sym_Ograve
Definition
htmlentity.h:41
HtmlEntityMapper::Sym_acirc
@ Sym_acirc
Definition
htmlentity.h:44
HtmlEntityMapper::Sym_crarr
@ Sym_crarr
Definition
htmlentity.h:64
HtmlEntityMapper::Sym_epsilon
@ Sym_epsilon
Definition
htmlentity.h:56
HtmlEntityMapper::Sym_delta
@ Sym_delta
Definition
htmlentity.h:55
HtmlEntityMapper::Sym_times
@ Sym_times
Definition
htmlentity.h:42
HtmlEntityMapper::Sym_perp
@ Sym_perp
Definition
htmlentity.h:72
HtmlEntityMapper::Sym_supe
@ Sym_supe
Definition
htmlentity.h:71
HtmlEntityMapper::Sym_Dollar
@ Sym_Dollar
Definition
htmlentity.h:88
HtmlEntityMapper::Sym_frac14
@ Sym_frac14
Definition
htmlentity.h:36
HtmlEntityMapper::Sym_frasl
@ Sym_frasl
Definition
htmlentity.h:61
HtmlEntityMapper::Sym_nu
@ Sym_nu
Definition
htmlentity.h:57
HtmlEntityMapper::Sym_divide
@ Sym_divide
Definition
htmlentity.h:48
HtmlEntityMapper::Sym_ouml
@ Sym_ouml
Definition
htmlentity.h:48
HtmlEntityMapper::Sym_curren
@ Sym_curren
Definition
htmlentity.h:31
HtmlEntityMapper::Sym_iexcl
@ Sym_iexcl
Definition
htmlentity.h:31
HtmlEntityMapper::Sym_emsp
@ Sym_emsp
Definition
htmlentity.h:77
HtmlEntityMapper::Sym_lang
@ Sym_lang
Definition
htmlentity.h:73
HtmlEntityMapper::Sym_piv
@ Sym_piv
Definition
htmlentity.h:60
HtmlEntityMapper::Sym_atilde
@ Sym_atilde
Definition
htmlentity.h:44
HtmlEntityMapper::Sym_Rho
@ Sym_Rho
Definition
htmlentity.h:53
HtmlEntityMapper::Sym_Oslash
@ Sym_Oslash
Definition
htmlentity.h:42
HtmlEntityMapper::Sym_lowast
@ Sym_lowast
Definition
htmlentity.h:67
HtmlEntityMapper::Sym_Greater
@ Sym_Greater
Definition
htmlentity.h:87
HtmlEntityMapper::Sym_sup3
@ Sym_sup3
Definition
htmlentity.h:34
HtmlEntityMapper::Sym_ccedil
@ Sym_ccedil
Definition
htmlentity.h:45
HtmlEntityMapper::Sym_loz
@ Sym_loz
Definition
htmlentity.h:74
HtmlEntityMapper::Sym_rfloor
@ Sym_rfloor
Definition
htmlentity.h:73
HtmlEntityMapper::Sym_para
@ Sym_para
Definition
htmlentity.h:35
HtmlEntityMapper::Sym_ordm
@ Sym_ordm
Definition
htmlentity.h:36
HtmlEntityMapper::Sym_bull
@ Sym_bull
Definition
htmlentity.h:60
HtmlEntityMapper::Sym_apos
@ Sym_apos
Definition
htmlentity.h:84
HtmlEntityMapper::Sym_At
@ Sym_At
Definition
htmlentity.h:87
HtmlEntityMapper::Sym_exist
@ Sym_exist
Definition
htmlentity.h:65
HtmlEntityMapper::Sym_zeta
@ Sym_zeta
Definition
htmlentity.h:56
HtmlEntityMapper::Sym_phi
@ Sym_phi
Definition
htmlentity.h:59
HtmlEntityMapper::Sym_sigma
@ Sym_sigma
Definition
htmlentity.h:58
HtmlEntityMapper::Sym_shy
@ Sym_shy
Definition
htmlentity.h:33
HtmlEntityMapper::Sym_yuml
@ Sym_yuml
Definition
htmlentity.h:50
HtmlEntityMapper::Sym_empty
@ Sym_empty
Definition
htmlentity.h:65
HtmlEntityMapper::Sym_Lambda
@ Sym_Lambda
Definition
htmlentity.h:52
HtmlEntityMapper::Sym_Iacute
@ Sym_Iacute
Definition
htmlentity.h:40
HtmlEntityMapper::Sym_Uuml
@ Sym_Uuml
Definition
htmlentity.h:43
HtmlEntityMapper::Sym_omega
@ Sym_omega
Definition
htmlentity.h:60
HtmlEntityMapper::Sym_agrave
@ Sym_agrave
Definition
htmlentity.h:43
HtmlEntityMapper::Sym_Mu
@ Sym_Mu
Definition
htmlentity.h:52
HtmlEntityMapper::Sym_Ucirc
@ Sym_Ucirc
Definition
htmlentity.h:42
HtmlEntityMapper::Sym_tilde
@ Sym_tilde
Definition
htmlentity.h:77
HtmlEntityMapper::Sym_gamma
@ Sym_gamma
Definition
htmlentity.h:55
HtmlEntityMapper::Sym_Percent
@ Sym_Percent
Definition
htmlentity.h:88
HtmlEntityMapper::Sym_DoubleColon
@ Sym_DoubleColon
Definition
htmlentity.h:88
HtmlEntityMapper::Sym_Yacute
@ Sym_Yacute
Definition
htmlentity.h:43
HtmlEntityMapper::Sym_permil
@ Sym_permil
Definition
htmlentity.h:80
HtmlEntityMapper::Sym_psi
@ Sym_psi
Definition
htmlentity.h:59
HtmlEntityMapper::Sym_clubs
@ Sym_clubs
Definition
htmlentity.h:74
HtmlEntityMapper::Sym_Sigma
@ Sym_Sigma
Definition
htmlentity.h:53
HtmlEntityMapper::Sym_Scaron
@ Sym_Scaron
Definition
htmlentity.h:76
HtmlEntityMapper::Sym_cent
@ Sym_cent
Definition
htmlentity.h:31
HtmlEntityMapper::Sym_Yuml
@ Sym_Yuml
Definition
htmlentity.h:76
HtmlEntityMapper::Sym_Alpha
@ Sym_Alpha
Definition
htmlentity.h:50
HtmlEntityMapper::Sym_hArr
@ Sym_hArr
Definition
htmlentity.h:65
HtmlEntityMapper::Sym_ang
@ Sym_ang
Definition
htmlentity.h:68
HtmlEntityMapper::Sym_sum
@ Sym_sum
Definition
htmlentity.h:67
HtmlEntityMapper::Sym_sub
@ Sym_sub
Definition
htmlentity.h:71
HtmlEntityMapper::Sym_kappa
@ Sym_kappa
Definition
htmlentity.h:57
HtmlEntityMapper::Sym_zwnj
@ Sym_zwnj
Definition
htmlentity.h:77
HtmlEntityMapper::Sym_Ntilde
@ Sym_Ntilde
Definition
htmlentity.h:40
HtmlEntityMapper::Sym_ordf
@ Sym_ordf
Definition
htmlentity.h:33
HtmlEntityMapper::Sym_beta
@ Sym_beta
Definition
htmlentity.h:55
HtmlEntityMapper::Sym_lceil
@ Sym_lceil
Definition
htmlentity.h:72
HtmlEntityMapper::Sym_Phi
@ Sym_Phi
Definition
htmlentity.h:54
HtmlEntityMapper::Sym_dArr
@ Sym_dArr
Definition
htmlentity.h:64
HtmlEntityMapper::Sym_Pi
@ Sym_Pi
Definition
htmlentity.h:53
HtmlEntityMapper::Sym_isin
@ Sym_isin
Definition
htmlentity.h:66
HtmlEntityMapper::Sym_darr
@ Sym_darr
Definition
htmlentity.h:63
HtmlEntityMapper::Sym_theta
@ Sym_theta
Definition
htmlentity.h:56
HtmlEntityMapper::Sym_equiv
@ Sym_equiv
Definition
htmlentity.h:70
HtmlEntityMapper::Sym_ensp
@ Sym_ensp
Definition
htmlentity.h:77
HtmlEntityMapper::Sym_bdquo
@ Sym_bdquo
Definition
htmlentity.h:80
HtmlEntityMapper::Sym_prop
@ Sym_prop
Definition
htmlentity.h:67
HtmlEntityMapper::Sym_ugrave
@ Sym_ugrave
Definition
htmlentity.h:48
HtmlEntityMapper::Sym_Agrave
@ Sym_Agrave
Definition
htmlentity.h:37
HtmlEntityMapper::Sym_Hash
@ Sym_Hash
Definition
htmlentity.h:88
HtmlEntityMapper::Sym_tau
@ Sym_tau
Definition
htmlentity.h:59
HtmlEntityMapper::Sym_scaron
@ Sym_scaron
Definition
htmlentity.h:76
HtmlEntityMapper::Sym_upsilon
@ Sym_upsilon
Definition
htmlentity.h:59
HtmlEntityMapper::Sym_Pipe
@ Sym_Pipe
Definition
htmlentity.h:88
HtmlEntityMapper::Sym_gt
@ Sym_gt
Definition
htmlentity.h:75
HtmlEntityMapper::Sym_frac12
@ Sym_frac12
Definition
htmlentity.h:36
HtmlEntityMapper::Sym_Xi
@ Sym_Xi
Definition
htmlentity.h:53
HtmlEntityMapper::Sym_minus
@ Sym_minus
Definition
htmlentity.h:67
HtmlEntityMapper::Sym_rarr
@ Sym_rarr
Definition
htmlentity.h:63
HtmlEntityMapper::Sym_ETH
@ Sym_ETH
Definition
htmlentity.h:40
HtmlEntityMapper::Sym_aelig
@ Sym_aelig
Definition
htmlentity.h:45
HtmlEntityMapper::Sym_ecirc
@ Sym_ecirc
Definition
htmlentity.h:45
HtmlEntityMapper::Sym_oplus
@ Sym_oplus
Definition
htmlentity.h:72
HtmlEntityMapper::Sym_weierp
@ Sym_weierp
Definition
htmlentity.h:62
HtmlEntityMapper::Sym_ograve
@ Sym_ograve
Definition
htmlentity.h:47
HtmlEntityMapper::Sym_rang
@ Sym_rang
Definition
htmlentity.h:73
HtmlEntityMapper::Sym_hellip
@ Sym_hellip
Definition
htmlentity.h:61
HtmlEntityMapper::Sym_sim
@ Sym_sim
Definition
htmlentity.h:69
HtmlEntityMapper::Sym_oelig
@ Sym_oelig
Definition
htmlentity.h:76
HtmlEntityMapper::Sym_cup
@ Sym_cup
Definition
htmlentity.h:69
HtmlEntityMapper::Sym_sube
@ Sym_sube
Definition
htmlentity.h:71
HtmlEntityMapper::Sym_thetasym
@ Sym_thetasym
Definition
htmlentity.h:60
HtmlEntityMapper::Sym_Icirc
@ Sym_Icirc
Definition
htmlentity.h:40
HtmlEntityMapper::Sym_Iota
@ Sym_Iota
Definition
htmlentity.h:52
HtmlEntityMapper::Sym_ni
@ Sym_ni
Definition
htmlentity.h:66
HtmlEntityMapper::Sym_fnof
@ Sym_fnof
Definition
htmlentity.h:50
HtmlEntityMapper::Sym_Oacute
@ Sym_Oacute
Definition
htmlentity.h:41
HtmlEntityMapper::Sym_middot
@ Sym_middot
Definition
htmlentity.h:35
HtmlEntityMapper::Sym_uacute
@ Sym_uacute
Definition
htmlentity.h:49
HtmlEntityMapper::Sym_Dagger
@ Sym_Dagger
Definition
htmlentity.h:80
HtmlEntityMapper::Sym_micro
@ Sym_micro
Definition
htmlentity.h:35
HtmlEntityMapper::Sym_not
@ Sym_not
Definition
htmlentity.h:33
HtmlEntityMapper::Sym_Exclam
@ Sym_Exclam
Definition
htmlentity.h:90
HtmlEntityMapper::Sym_prod
@ Sym_prod
Definition
htmlentity.h:66
HtmlEntityMapper::Sym_omicron
@ Sym_omicron
Definition
htmlentity.h:58
HtmlEntityMapper::Sym_amp
@ Sym_amp
Definition
htmlentity.h:75
HtmlEntityMapper::Sym_rho
@ Sym_rho
Definition
htmlentity.h:58
HtmlEntityMapper::Sym_Quest
@ Sym_Quest
Definition
htmlentity.h:90
HtmlEntityMapper::Sym_Quot
@ Sym_Quot
Definition
htmlentity.h:89
HtmlEntityMapper::Sym_ndash
@ Sym_ndash
Definition
htmlentity.h:78
HtmlEntityMapper::Sym_iacute
@ Sym_iacute
Definition
htmlentity.h:46
HtmlEntityMapper::Sym_or
@ Sym_or
Definition
htmlentity.h:68
HtmlEntityMapper::Sym_egrave
@ Sym_egrave
Definition
htmlentity.h:45
HtmlEntityMapper::Sym_nabla
@ Sym_nabla
Definition
htmlentity.h:66
HtmlEntityMapper::Sym_Otilde
@ Sym_Otilde
Definition
htmlentity.h:41
HtmlEntityMapper::Sym_real
@ Sym_real
Definition
htmlentity.h:62
HtmlEntityMapper::Sym_Zeta
@ Sym_Zeta
Definition
htmlentity.h:51
HtmlEntityMapper::Sym_icirc
@ Sym_icirc
Definition
htmlentity.h:46
HtmlEntityMapper::Sym_Auml
@ Sym_Auml
Definition
htmlentity.h:38
HtmlEntityMapper::Sym_frac34
@ Sym_frac34
Definition
htmlentity.h:37
HtmlEntityMapper::Sym_nbsp
@ Sym_nbsp
Definition
htmlentity.h:31
HtmlEntityMapper::Sym_rdquo
@ Sym_rdquo
Definition
htmlentity.h:79
HtmlEntityMapper::Sym_THORN
@ Sym_THORN
Definition
htmlentity.h:43
HtmlEntityMapper::Sym_Gamma
@ Sym_Gamma
Definition
htmlentity.h:50
HtmlEntityMapper::Sym_image
@ Sym_image
Definition
htmlentity.h:62
HtmlEntityMapper::Sym_Plus
@ Sym_Plus
Definition
htmlentity.h:89
HtmlEntityMapper::Sym_yacute
@ Sym_yacute
Definition
htmlentity.h:49
HtmlEntityMapper::Sym_rsquo
@ Sym_rsquo
Definition
htmlentity.h:79
HtmlEntityMapper::Sym_cong
@ Sym_cong
Definition
htmlentity.h:69
HtmlEntityMapper::Sym_Eta
@ Sym_Eta
Definition
htmlentity.h:51
HtmlEntityMapper::Sym_eacute
@ Sym_eacute
Definition
htmlentity.h:45
HtmlEntityMapper::Sym_Equal
@ Sym_Equal
Definition
htmlentity.h:89
HtmlEntityMapper::Sym_upsih
@ Sym_upsih
Definition
htmlentity.h:60
HtmlEntityMapper::Sym_sbquo
@ Sym_sbquo
Definition
htmlentity.h:79
HtmlEntityMapper::Sym_trade
@ Sym_trade
Definition
htmlentity.h:62
HtmlEntityMapper::Sym_Amp
@ Sym_Amp
Definition
htmlentity.h:87
HtmlEntityMapper::Sym_deg
@ Sym_deg
Definition
htmlentity.h:34
HtmlEntityMapper::Sym_aring
@ Sym_aring
Definition
htmlentity.h:44
HtmlEntityMapper::Sym_lsquo
@ Sym_lsquo
Definition
htmlentity.h:79
HtmlEntityMapper::Sym_BSlash
@ Sym_BSlash
Definition
htmlentity.h:87
HtmlEntityMapper::Sym_harr
@ Sym_harr
Definition
htmlentity.h:63
HtmlEntityMapper::Sym_mdash
@ Sym_mdash
Definition
htmlentity.h:78
HtmlEntityMapper::Sym_brvbar
@ Sym_brvbar
Definition
htmlentity.h:32
HtmlEntityMapper::Sym_Acirc
@ Sym_Acirc
Definition
htmlentity.h:37
HtmlEntityMapper::Sym_otilde
@ Sym_otilde
Definition
htmlentity.h:48
HtmlEntityMapper::Sym_infin
@ Sym_infin
Definition
htmlentity.h:68
HtmlEntityMapper::Sym_lfloor
@ Sym_lfloor
Definition
htmlentity.h:73
HtmlEntityMapper::Sym_notin
@ Sym_notin
Definition
htmlentity.h:66
HtmlEntityMapper::Sym_raquo
@ Sym_raquo
Definition
htmlentity.h:36
HtmlEntityMapper::Sym_oline
@ Sym_oline
Definition
htmlentity.h:61
HtmlEntityMapper::Sym_rceil
@ Sym_rceil
Definition
htmlentity.h:73
HtmlEntityMapper::Sym_Uacute
@ Sym_Uacute
Definition
htmlentity.h:42
HtmlEntityMapper::Sym_iuml
@ Sym_iuml
Definition
htmlentity.h:46
HtmlEntityMapper::Sym_uuml
@ Sym_uuml
Definition
htmlentity.h:49
HtmlEntityMapper::Sym_sigmaf
@ Sym_sigmaf
Definition
htmlentity.h:58
HtmlEntityMapper::Sym_eta
@ Sym_eta
Definition
htmlentity.h:56
HtmlEntityMapper::Sym_acute
@ Sym_acute
Definition
htmlentity.h:35
HtmlEntityMapper::Sym_Minus
@ Sym_Minus
Definition
htmlentity.h:89
HtmlEntityMapper::Sym_alefsym
@ Sym_alefsym
Definition
htmlentity.h:62
HtmlEntityMapper::Sym_pound
@ Sym_pound
Definition
htmlentity.h:31
HtmlEntityMapper::Sym_spades
@ Sym_spades
Definition
htmlentity.h:74
HtmlEntityMapper::Sym_ucirc
@ Sym_ucirc
Definition
htmlentity.h:49
HtmlEntityMapper::Sym_Beta
@ Sym_Beta
Definition
htmlentity.h:50
HtmlEntityMapper::Sym_dagger
@ Sym_dagger
Definition
htmlentity.h:80
HtmlEntityMapper::xml
const char * xml(SymType symb) const
Access routine to the XML code of the HTML entity.
Definition
htmlentity.cpp:395
HtmlEntityMapper::writeXMLSchema
void writeXMLSchema(TextStream &t)
Definition
htmlentity.cpp:468
HtmlEntityMapper::instance
static HtmlEntityMapper & instance()
Returns the one and only instance of the HTML entity mapper.
Definition
htmlentity.cpp:343
HtmlEntityMapper::m_name2sym
std::unordered_map< std::string, SymType > m_name2sym
Definition
htmlentity.h:118
HtmlEntityMapper::rtf
const char * rtf(SymType symb) const
Access routine to the RTF code of the HTML entity.
Definition
htmlentity.cpp:439
HtmlEntityMapper::HtmlEntityMapper
HtmlEntityMapper()
Definition
htmlentity.cpp:329
HtmlEntityMapper::validate
void validate()
Routine to check if the entries of the html_entities are numbered correctly.
Definition
htmlentity.cpp:484
HtmlEntityMapper::docbook
const char * docbook(SymType symb) const
Access routine to the docbook code of the HTML entity.
Definition
htmlentity.cpp:406
HtmlEntityMapper::utf8
const char * utf8(SymType symb, bool useInPrintf=FALSE) const
Access routine to the UTF8 code of the HTML entity.
Definition
htmlentity.cpp:357
HtmlEntityMapper::man
const char * man(SymType symb) const
Access routine to the man code of the HTML entity.
Definition
htmlentity.cpp:428
HtmlEntityMapper::html
const char * html(SymType symb, bool useInPrintf=FALSE) const
Access routine to the html code of the HTML entity.
Definition
htmlentity.cpp:377
HtmlEntityMapper::name2sym
SymType name2sym(const QCString &symName) const
Give code of the requested HTML entity name.
Definition
htmlentity.cpp:462
HtmlEntityMapper::s_instance
static HtmlEntityMapper * s_instance
Definition
htmlentity.h:117
QCString
This is an alternative implementation of QCString.
Definition
qcstring.h:101
TextStream
Text streaming class that buffers data.
Definition
textstream.h:36
construct.h
NON_COPYABLE
#define NON_COPYABLE(cls)
Macro to help implementing the rule of 5 for a non-copyable & movable class.
Definition
construct.h:37
qcstring.h
FALSE
#define FALSE
Definition
qcstring.h:34
HtmlEntityMapper::PerlSymb
Definition
htmlentity.h:106
HtmlEntityMapper::PerlSymb::type
const PerlType type
Definition
htmlentity.h:108
HtmlEntityMapper::PerlSymb::symb
const char * symb
Definition
htmlentity.h:107
src
htmlentity.h
Generated by
1.13.0