Blender V4.3
WriteWrap Class Referenceabstract

Inherited by RawWriteWrap, and ZstdWriteWrap.

Public Member Functions

virtual bool open (const char *filepath)=0
 
virtual bool close ()=0
 
virtual bool write (const void *buf, size_t buf_len)=0
 

Public Attributes

bool use_buf = true
 

Detailed Description

Definition at line 165 of file writefile.cc.

Member Function Documentation

◆ close()

virtual bool WriteWrap::close ( )
pure virtual

Implemented in RawWriteWrap, and ZstdWriteWrap.

Referenced by BLO_write_file_impl(), and ZstdWriteWrap::close().

◆ open()

virtual bool WriteWrap::open ( const char * filepath)
pure virtual

Implemented in RawWriteWrap, and ZstdWriteWrap.

Referenced by BLO_write_file_impl(), and ZstdWriteWrap::open().

◆ write()

virtual bool WriteWrap::write ( const void * buf,
size_t buf_len )
pure virtual

Implemented in RawWriteWrap, and ZstdWriteWrap.

Referenced by writedata_do_write().

Member Data Documentation

◆ use_buf

bool WriteWrap::use_buf = true

Buffer output (we only want when output isn't already buffered).

Definition at line 172 of file writefile.cc.

Referenced by writedata_new().


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