26 write(std::ostream &out,
int indent_level)
const {
27 test_under_integrity();
32 indent(out, indent_level + 2)
33 <<
"<Scalar> fps { " <<
get_fps() <<
" }\n";
36 if (has_num_frames()) {
37 indent(out, indent_level + 2)
41 indent(out, indent_level) <<
"}\n";
virtual void write(std::ostream &out, int indent_level) const
Writes the table and all of its children to the indicated output stream in Egg format.
void write_header(std::ostream &out, int indent_level, const char *egg_keyword) const
Writes the first line of the egg object, e.g.
double get_fps() const
This is only valid if has_fps() returns true.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
int get_num_frames() const
This is only valid if has_num_frames() returns true.
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.