FONTAINE  1.0
TEXTR.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 // TEXTR.h -- Plain Text Report
12 //
13 
14 #ifndef TEXTR_INCLUDED
15 #define TEXTR_INCLUDED
16 
17 #include "MLR.h"
18 
19 class TEXTR : public MLR {
20 
21 protected:
22 
23  std::string _listBullet;
24 
25 public:
26 
27  TEXTR();
28 
29  void startRoot(void);
30  void endRoot(void);
31 
32  void startList(const std::string &key);
33  void addKeyValuePairToList(const std::string &key,const std::string &value);
34  void endList(const std::string &key);
35 
36  void start(const std::string &key);
37  void addKeyValuePair(const std::string &key,const std::string &value);
38  void end(const std::string &key);
39 
40  void startList(const char *key);
41  void addKeyValuePairToList(const char *key,const char *value);
42  void endList(const char *key);
43 
44  void start(const char *key);
45  void addKeyValuePair(const char *key,const char *value);
46  void end(const char *key);
47 
48  void setListBullet(const std::string &bullet);
49  void setListBullet(const char *bullet);
50 
51  //std::string & basicLatinCapitalize(std::string &s);
52  //std::string & basicLatinSegmentize(std::string &s);
53 
54 };
55 
56 #endif
57 
Definition: MLR.h:49
void addKeyValuePair(const std::string &key, const std::string &value)
Definition: TEXTR.cpp:53
void start(const std::string &key)
Definition: TEXTR.cpp:30
void endList(const std::string &key)
Definition: TEXTR.cpp:139
void addKeyValuePairToList(const std::string &key, const std::string &value)
Definition: TEXTR.cpp:128
TEXTR()
Definition: TEXTR.cpp:19
Definition: TEXTR.h:19
void startList(const std::string &key)
Definition: TEXTR.cpp:119
void end(const std::string &key)
Definition: TEXTR.cpp:77
std::string _listBullet
Definition: TEXTR.h:23
void setListBullet(const std::string &bullet)
Definition: TEXTR.cpp:179
void startRoot(void)
Definition: TEXTR.cpp:101
void endRoot(void)
Definition: TEXTR.cpp:110