30 DCKeyword(
const std::string &name,
int historical_flag = ~0);
40 virtual void output(std::ostream &out,
bool brief)
const;
41 virtual void write(std::ostream &out,
bool brief,
int indent_level)
const;
45 const std::string _name;
This is a common interface for a declaration in a DC file.
virtual void output(std::ostream &out) const
Write a string representation of this instance to <out>.
void write(std::ostream &out, int indent_level) const
Write a string representation of this instance to <out>.
void generate_hash(HashGenerator &hashgen) const
Accumulates the properties of this keyword into the hash.
void clear_historical_flag()
Resets the historical flag to ~0, as if the keyword were not one of the historically defined keywords...
const std::string & get_name() const
Returns the name of this keyword.
int get_historical_flag() const
Returns the bitmask associated with this keyword, if any.
Represents the type specification for a single parameter within a field specification.
This class generates an arbitrary hash number from a sequence of ints.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.