55 virtual bool is_valid()
const=0;
60 void set_typedef(
const DCTypedef *dtypedef);
63 virtual void output(std::ostream &out,
bool brief)
const;
64 virtual void write(std::ostream &out,
bool brief,
int indent_level)
const;
65 virtual void output_instance(std::ostream &out,
bool brief,
const std::string &prename,
66 const std::string &name,
const std::string &postname)
const=0;
67 virtual void write_instance(std::ostream &out,
bool brief,
int indent_level,
68 const std::string &prename,
const std::string &name,
69 const std::string &postname)
const;
70 void output_typedef_name(std::ostream &out,
bool brief,
const std::string &prename,
71 const std::string &name,
const std::string &postname)
const;
72 void write_typedef_name(std::ostream &out,
bool brief,
int indent_level,
73 const std::string &prename,
const std::string &name,
74 const std::string &postname)
const;
This represents a single typedef declaration in the dc file.
This represents a class (or struct) object used as a parameter itself.
A single field of a Distributed Class, either atomic or molecular.
This is the most fundamental kind of parameter type: a single number or string, one of the DCSubatomi...
This represents a switch object used as a parameter itself, which packs the appropriate fields of the...
void output(std::ostream &out) const
Write a string representation of this instance to <out>.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual void generate_hash(HashGenerator &hashgen) const
Accumulates the properties of this field into the hash.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Represents the type specification for a single parameter within a field specification.
This represents an array of some other kind of object, meaning this parameter type accepts an arbitra...
void write(std::ostream &out, int indent_level) const
Write a string representation of this instance to <out>.
This class generates an arbitrary hash number from a sequence of ints.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.