11 |
|
|
12 |
|
#include <pstream.h> |
13 |
|
|
14 |
– |
#include <menes-ios/stdadapters.hpp> |
15 |
– |
|
14 |
|
class Jargon |
15 |
|
{ |
16 |
|
private: |
17 |
< |
std::string word, pronunciation, grammar; |
17 |
> |
bool include; |
18 |
> |
ext::String word, pronunciation, grammar; |
19 |
|
xml::NodeSet definition; |
20 |
|
public: |
21 |
< |
Jargon(const std::string& path); |
21 |
> |
Jargon(const ext::String& path, bool include = false); |
22 |
|
// friends: |
23 |
< |
friend std::ostream& operator<<(std::ostream& sout, const Jargon& jargon); |
23 |
> |
friend ios::PrintWriter& operator<<(ios::PrintWriter& pout, |
24 |
> |
const Jargon& jargon); |
25 |
|
}; |
26 |
|
|
27 |
|
#endif // _Jargon_hpp_ |