1 |
Douglas Thrift |
196 |
// Feeping Creaturism |
2 |
|
|
// |
3 |
|
|
// Douglas Thrift |
4 |
|
|
// |
5 |
|
|
// $Id$ |
6 |
|
|
|
7 |
|
|
#ifndef _Jargon_hpp_ |
8 |
|
|
#define _Jargon_hpp_ |
9 |
|
|
|
10 |
|
|
#include "FeepingCreaturism.hpp" |
11 |
|
|
|
12 |
|
|
#include <pstream.h> |
13 |
|
|
|
14 |
|
|
class Jargon |
15 |
|
|
{ |
16 |
|
|
private: |
17 |
Douglas Thrift |
203 |
bool include; |
18 |
|
|
ext::String word, pronunciation, grammar; |
19 |
Douglas Thrift |
196 |
xml::NodeSet definition; |
20 |
Douglas Thrift |
208 |
void display(ios::PrintWriter& pout, xml::TextWriter& xhtml) const; |
21 |
Douglas Thrift |
196 |
public: |
22 |
Douglas Thrift |
203 |
Jargon(const ext::String& path, bool include = false); |
23 |
Douglas Thrift |
196 |
// friends: |
24 |
Douglas Thrift |
203 |
friend ios::PrintWriter& operator<<(ios::PrintWriter& pout, |
25 |
|
|
const Jargon& jargon); |
26 |
Douglas Thrift |
196 |
}; |
27 |
|
|
|
28 |
|
|
#endif // _Jargon_hpp_ |