Blender  V3.3
Public Member Functions | List of all members
blender::io::obj::FormatHandler< filetype, buffer_chunk_size > Class Template Reference

#include <obj_export_io.hh>

Inheritance diagram for blender::io::obj::FormatHandler< filetype, buffer_chunk_size >:
blender::NonCopyable blender::NonMovable

Public Member Functions

void write_to_file (FILE *f)
 
std::string get_as_string () const
 
size_t get_block_count () const
 
void append_from (FormatHandler< filetype, buffer_chunk_size > &v)
 
template<typename FileTypeTraits< filetype >::SyntaxType key, typename... T>
constexpr void write (T &&...args)
 

Detailed Description

template<eFileType filetype, size_t buffer_chunk_size = 64 * 1024>
class blender::io::obj::FormatHandler< filetype, buffer_chunk_size >

File format and syntax agnostic file buffer writer. All writes are done into an internal chunked memory buffer (list of default 64 kilobyte blocks). Call write_fo_file once in a while to write the memory buffer(s) into the given file.

Definition at line 282 of file obj_export_io.hh.

Member Function Documentation

◆ append_from()

template<eFileType filetype, size_t buffer_chunk_size = 64 * 1024>
void blender::io::obj::FormatHandler< filetype, buffer_chunk_size >::append_from ( FormatHandler< filetype, buffer_chunk_size > &  v)
inline

Definition at line 308 of file obj_export_io.hh.

References v.

Referenced by blender::io::obj::obj_parallel_chunked_output().

◆ get_as_string()

template<eFileType filetype, size_t buffer_chunk_size = 64 * 1024>
std::string blender::io::obj::FormatHandler< filetype, buffer_chunk_size >::get_as_string ( ) const
inline

Definition at line 296 of file obj_export_io.hh.

References usdtokens::b().

Referenced by blender::io::obj::TEST().

◆ get_block_count()

template<eFileType filetype, size_t buffer_chunk_size = 64 * 1024>
size_t blender::io::obj::FormatHandler< filetype, buffer_chunk_size >::get_block_count ( ) const
inline

Definition at line 303 of file obj_export_io.hh.

Referenced by blender::io::obj::TEST().

◆ write()

template<eFileType filetype, size_t buffer_chunk_size = 64 * 1024>
template<typename FileTypeTraits< filetype >::SyntaxType key, typename... T>
constexpr void blender::io::obj::FormatHandler< filetype, buffer_chunk_size >::write ( T &&...  args)
inlineconstexpr

◆ write_to_file()

template<eFileType filetype, size_t buffer_chunk_size = 64 * 1024>
void blender::io::obj::FormatHandler< filetype, buffer_chunk_size >::write_to_file ( FILE *  f)
inline

The documentation for this class was generated from the following file: