14 #ifndef DCKEYWORDLIST_H
15 #define DCKEYWORDLIST_H
34 bool has_keyword(
const std::string &name)
const;
35 bool has_keyword(
const DCKeyword *keyword)
const;
36 int get_num_keywords()
const;
37 const DCKeyword *get_keyword(
int n)
const;
38 const DCKeyword *get_keyword_by_name(
const std::string &name)
const;
45 bool add_keyword(
const DCKeyword *keyword);
46 void clear_keywords();
48 void output_keywords(std::ostream &out)
const;
56 KeywordsByName _keywords_by_name;
This is a list of keywords (see DCKeyword) that may be set on a particular field.
This represents a single keyword declaration in the dc file.
This class generates an arbitrary hash number from a sequence of ints.
This is our own Panda specialization on the default STL map.
This is our own Panda specialization on the default STL vector.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.