44 virtual void output(std::ostream &out,
bool brief)
const;
45 virtual void write(std::ostream &out,
bool brief,
int indent_level)
const;
50 bool _implicit_typedef;
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>.
Represents the type specification for a single parameter within a field specification.
DCParameter * make_new_parameter() const
Returns a newly-allocated DCParameter object that uses the same type as that named by the typedef.
DCTypedef(DCParameter *parameter, bool implicit=false)
The DCTypedef object becomes the owner of the supplied parameter pointer and will delete it upon dest...
bool is_implicit_typedef() const
Returns true if the typedef has been flagged as an implicit typedef, meaning it was created for a DCC...
void set_number(int number)
Assigns the unique number to this typedef.
int get_number() const
Returns a unique index number associated with this typedef definition.
const std::string & get_name() const
Returns the name of this typedef.
std::string get_description() const
Returns a brief decription of the typedef, useful for human consumption.
bool is_bogus_typedef() const
Returns true if the typedef has been flagged as a bogus typedef.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.