46 bool open_read(
const Filename &bam_filename,
bool report_errors =
true);
47 bool open_read(std::istream &in,
const std::string &bam_filename =
"stream",
48 bool report_errors =
true);
55 PT(
PandaNode) read_node(
bool report_errors =
true);
57 bool open_write(
const Filename &bam_filename,
bool report_errors =
true);
58 bool open_write(std::ostream &out,
const std::string &bam_filename =
"stream",
59 bool report_errors =
true);
63 INLINE
bool is_valid_read()
const;
64 INLINE
bool is_valid_write()
const;
66 int get_file_major_ver();
67 int get_file_minor_ver();
68 BamEndian get_file_endian()
const;
69 bool get_file_stdfloat_double()
const;
71 int get_current_major_ver();
72 int get_current_minor_ver();
78 MAKE_PROPERTY(file_endian, get_file_endian);
79 MAKE_PROPERTY(file_stdfloat_double, get_file_stdfloat_double);
81 MAKE_PROPERTY(reader, get_reader);
82 MAKE_PROPERTY(writer, get_writer);
85 bool continue_open_read(
const std::string &bam_filename,
bool report_errors);
86 bool continue_open_write(
const std::string &bam_filename,
bool report_errors);
88 std::string _bam_filename;
The principle public interface to reading and writing Bam disk files.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A basic node of the scene graph or data graph.
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Base class for objects that can be written to and read from Bam files.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
The name of a file, such as a texture file or an Egg file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class can be used to write a binary file that consists of an arbitrary header followed by a numb...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.