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";
get_fps
This is only valid if has_fps() returns true.
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.
get_num_frames
This is only valid if has_num_frames() returns true.
void write_header(std::ostream &out, int indent_level, const char *egg_keyword) const
Writes the first line of the egg object, e.g.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.