#include <OMWriter.hh>

Public Member Functions | |
| _OMWriter_ () | |
| Constructor. | |
| size_t | binary_size (BaseExporter &_be, Options _opt) const |
| Returns expected size of file if binary format is supported else 0. | |
| std::string | get_description () const |
| Return short description of the supported file format. | |
| std::string | get_extensions () const |
| Return file format's extension. | |
| bool | write (std::ostream &, BaseExporter &, Options) const |
| Write to std::ostream _os. Data source specified by BaseExporter _be. | |
| virtual | ~_OMWriter_ () |
| Destructor. | |
Protected Member Functions | |
| size_t | store_binary_custom_chunk (std::ostream &, const BaseProperty &, OMFormat::Chunk::Entity, bool) const |
| bool | write (const std::string &, BaseExporter &, Options) const |
| Write to file _filename. Data source specified by BaseExporter _be. | |
| bool | write_binary (std::ostream &, BaseExporter &, Options) const |
Static Protected Attributes | |
| static const OMFormat::uchar | magic_ [3] |
| static const OMFormat::uint8 | version_ |
Implementation of the OM format writer. This class is singleton'ed by SingletonT to OMWriter.
Definition at line 78 of file OMWriter.hh.
| OpenMesh::IO::_OMWriter_::_OMWriter_ | ( | ) |
Constructor.
| virtual OpenMesh::IO::_OMWriter_::~_OMWriter_ | ( | ) | [inline, virtual] |
Destructor.
Definition at line 86 of file OMWriter.hh.
| size_t OpenMesh::IO::_OMWriter_::binary_size | ( | BaseExporter & | , | |
| Options | ||||
| ) | const [virtual] |
Returns expected size of file if binary format is supported else 0.
Reimplemented from OpenMesh::IO::BaseWriter.
| std::string OpenMesh::IO::_OMWriter_::get_description | ( | ) | const [inline, virtual] |
Return short description of the supported file format.
Implements OpenMesh::IO::BaseWriter.
Definition at line 88 of file OMWriter.hh.
| std::string OpenMesh::IO::_OMWriter_::get_extensions | ( | ) | const [inline, virtual] |
Return file format's extension.
Implements OpenMesh::IO::BaseWriter.
Definition at line 91 of file OMWriter.hh.
| size_t OpenMesh::IO::_OMWriter_::store_binary_custom_chunk | ( | std::ostream & | , | |
| const BaseProperty & | , | |||
| OMFormat::Chunk::Entity | , | |||
| bool | ||||
| ) | const [protected] |
| bool OpenMesh::IO::_OMWriter_::write | ( | const std::string & | _filename, | |
| BaseExporter & | _be, | |||
| Options | _opt | |||
| ) | const [protected, virtual] |
Write to file _filename. Data source specified by BaseExporter _be.
Implements OpenMesh::IO::BaseWriter.
| bool OpenMesh::IO::_OMWriter_::write | ( | std::ostream & | _os, | |
| BaseExporter & | _be, | |||
| Options | _opt | |||
| ) | const [virtual] |
Write to std::ostream _os. Data source specified by BaseExporter _be.
Implements OpenMesh::IO::BaseWriter.
| bool OpenMesh::IO::_OMWriter_::write_binary | ( | std::ostream & | , | |
| BaseExporter & | , | |||
| Options | ||||
| ) | const [protected] |
const OMFormat::uchar OpenMesh::IO::_OMWriter_::magic_[3] [static, protected] |
Definition at line 103 of file OMWriter.hh.
const OMFormat::uint8 OpenMesh::IO::_OMWriter_::version_ [static, protected] |
Definition at line 104 of file OMWriter.hh.