15 #define BUFSIZE 100*16384
19 typedef std :: vector< std :: string > DocuBlock;
20 typedef std :: map< std :: string, DocuBlock > DocuList;
21 typedef std :: map< std :: string, DocuList > DocuListMap;
22 typedef std :: set< std :: string > GroupSet;
23 typedef std :: vector< std :: string > GlobList;
24 typedef std :: map< std :: string, GlobList > GlobListMap;
25 typedef std :: vector< GlobList > GlobListStack;
29 ConfFileScanner(
const std.string & filename,
const std.string & conffilename);
38 const char * get_conffile();
42 DocuList return_list_;
43 DocuListMap field_docu_;
44 DocuBlock docuheader_;
52 void check_glob_level_up();
56 bool check_for_match(
int l,
const char * str);
59 bool check_glob_rec(
int l,
const std.string & s);
63 for (
unsigned int i = 0; i < globlist_stack_.size(); i++) {
64 if (!globlist_stack_[i].empty()) {
65 std.cerr << globlist_stack_[i][0] <<
" ";
68 std.cerr <<
"current level: " << level_ << std.endl;
69 std.cerr <<
"size of globlist_stack: " << globlist_stack_.size() << std.endl;
95 const std.string filename_;
100 std.ifstream confistream_;
103 bool arg_to_be_added_;
104 bool match_at_level_[30];
107 DocuListMap *clistmap_;
108 GlobListMap globlist_map_;
109 GlobListStack globlist_stack_;