1 |
// Feeping Creaturism |
2 |
// |
3 |
// Douglas Thrift |
4 |
// |
5 |
// $Id$ |
6 |
|
7 |
#ifndef _FeepingCreaturism_hpp_ |
8 |
#define _FeepingCreaturism_hpp_ |
9 |
|
10 |
#include <iostream> |
11 |
#include <string> |
12 |
#include <sstream> |
13 |
#include <vector> |
14 |
#include <set> |
15 |
#include <cstdlib> |
16 |
#include <ctime> |
17 |
|
18 |
using std::cin; |
19 |
using std::cout; |
20 |
using std::cerr; |
21 |
|
22 |
#include <pstream.h> |
23 |
|
24 |
#include <menes-xml/document.hpp> |
25 |
#include <menes-xml/nodeset.hpp> |
26 |
#include <menes-xml/parse.hpp> |
27 |
|
28 |
class FeepingCreaturism |
29 |
{ |
30 |
private: |
31 |
std::string path, matcher; |
32 |
std::set<std::string> jargon; |
33 |
void initialize(); |
34 |
void daily(); |
35 |
void random(); |
36 |
void select(const std::string& selection, bool validate = false); |
37 |
public: |
38 |
FeepingCreaturism(); |
39 |
~FeepingCreaturism() {} |
40 |
}; |
41 |
|
42 |
#endif // _FeepingCreaturism_hpp_ |