15 #ifndef DCKEYWORDLIST_H 16 #define DCKEYWORDLIST_H 36 bool has_keyword(
const string &name)
const;
37 bool has_keyword(
const DCKeyword *keyword)
const;
38 int get_num_keywords()
const;
39 const DCKeyword *get_keyword(
int n)
const;
40 const DCKeyword *get_keyword_by_name(
const string &name)
const;
47 bool add_keyword(
const DCKeyword *keyword);
48 void clear_keywords();
50 void output_keywords(ostream &out)
const;
58 KeywordsByName _keywords_by_name;
This represents a single keyword declaration in the dc file.
This is our own Panda specialization on the default STL map.
This is a list of keywords (see DCKeyword) that may be set on a particular field. ...
This is our own Panda specialization on the default STL vector.
This class generates an arbitrary hash number from a sequence of ints.