FONTAINE 1.0
|
00001 // 00002 // The Fontaine Font Analysis Project 00003 // 00004 // Copyright (c) 2009 by Edward H. Trager 00005 // All Rights Reserved 00006 // 00007 // Released under the GNU GPL version 2.0 or later. 00008 // 00009 00010 // 00011 // XMLR.h -- XML Report 00012 // 00013 00014 #ifndef XMLR_INCLUDED 00015 #define XMLR_INCLUDED 00016 00017 #include "MLR.h" 00018 00019 class XMLR : public MLR { 00020 00021 public: 00022 00023 void startRoot(void); 00024 void endRoot(void); 00025 00026 void startList(const std::string &key); 00027 void addKeyValuePairToList(const std::string &key,const std::string &value); 00028 void endList(const std::string &key); 00029 00030 void start(const std::string &key); 00031 void addKeyValuePair(const std::string &key,const std::string &value); 00032 void end(const std::string &key); 00033 00034 void startList(const char *key); 00035 void addKeyValuePairToList(const char *key,const char *value); 00036 void endList(const char *key); 00037 00038 void start(const char *key); 00039 void addKeyValuePair(const char *key,const char *value); 00040 void end(const char *key); 00041 00042 }; 00043 00044 #endif 00045