FONTAINE  1.0
XMLR.h
Go to the documentation of this file.
1 //
2 // The Fontaine Font Analysis Project
3 //
4 // Copyright (c) 2009 by Edward H. Trager
5 // All Rights Reserved
6 //
7 // Released under the GNU GPL version 2.0 or later.
8 //
9 
10 //
11 // XMLR.h -- XML Report
12 //
13 
14 #ifndef XMLR_INCLUDED
15 #define XMLR_INCLUDED
16 
17 #include "MLR.h"
18 
19 class XMLR : public MLR {
20 
21 public:
22 
23  void startRoot(void);
24  void endRoot(void);
25 
26  void startList(const std::string &key);
27  void addKeyValuePairToList(const std::string &key,const std::string &value);
28  void endList(const std::string &key);
29 
30  void start(const std::string &key);
31  void addKeyValuePair(const std::string &key,const std::string &value);
32  void end(const std::string &key);
33 
34  void startList(const char *key);
35  void addKeyValuePairToList(const char *key,const char *value);
36  void endList(const char *key);
37 
38  void start(const char *key);
39  void addKeyValuePair(const char *key,const char *value);
40  void end(const char *key);
41 
42 };
43 
44 #endif
45 
MLR::_indent
void _indent(void)
Definition: MLR.cpp:139
XMLR
Definition: XMLR.h:19
XMLR::endRoot
void endRoot(void)
Definition: XMLR.cpp:91
XMLR::endList
void endList(const std::string &key)
Definition: XMLR.cpp:124
MLR
Definition: MLR.h:49
XMLR::startRoot
void startRoot(void)
Definition: XMLR.cpp:81
XMLR::start
void start(const std::string &key)
Definition: XMLR.cpp:16
XMLR::startList
void startList(const std::string &key)
Definition: XMLR.cpp:102
MLR.h
MLR::_end
void _end(const std::string &key)
Definition: MLR.cpp:121
MLR::_ss
std::ostringstream _ss
Definition: MLR.h:62
XMLR::end
void end(const std::string &key)
Definition: XMLR.cpp:58
XMLR::addKeyValuePair
void addKeyValuePair(const std::string &key, const std::string &value)
Definition: XMLR.cpp:35
MLR::_rootTag
std::string _rootTag
Definition: MLR.h:58
MLR::_start
void _start(const std::string &key)
Definition: MLR.cpp:88
XMLR.h
XMLR::addKeyValuePairToList
void addKeyValuePairToList(const std::string &key, const std::string &value)
Definition: XMLR.cpp:113