Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
Ase::StorageWriter Class Reference
Inheritance diagram for Ase::StorageWriter:
[legend]

Classes

class  Impl
 

Public Member Functions

 StorageWriter (StorageFlags=StorageFlags::NONE)
 
Error open_for_writing (const String &filename)
 
Error open_with_mimetype (const String &filename, const String &mimetype)
 
Error store_file_data (const String &filename, const String &buffer, bool alwayscompress=false)
 
Error store_file (const String &filename, const String &ondiskpath, bool maycompress=true)
 
Error close ()
 
Error remove_opened ()
 

Additional Inherited Members

- Public Types inherited from Ase::Storage
enum  StorageFlags { NONE , AUTO_ZSTD }
 

Detailed Description

Definition at line 19 of file storage.hh.

Constructor & Destructor Documentation

◆ StorageWriter()

Ase::StorageWriter::StorageWriter ( StorageFlags  sflags = StorageFlags::NONE)
explicit

Definition at line 302 of file storage.cc.

◆ ~StorageWriter()

Ase::StorageWriter::~StorageWriter ( )
virtual

Definition at line 308 of file storage.cc.

Member Function Documentation

◆ close()

Error Ase::StorageWriter::close ( )

Definition at line 356 of file storage.cc.

◆ open_for_writing()

Error Ase::StorageWriter::open_for_writing ( const String filename)

Definition at line 312 of file storage.cc.

◆ open_with_mimetype()

Error Ase::StorageWriter::open_with_mimetype ( const String filename,
const String mimetype 
)

Definition at line 319 of file storage.cc.

◆ remove_opened()

Error Ase::StorageWriter::remove_opened ( )

Definition at line 363 of file storage.cc.

◆ store_file()

Error Ase::StorageWriter::store_file ( const String filename,
const String ondiskpath,
bool  maycompress = true 
)

Definition at line 349 of file storage.cc.

◆ store_file_data()

Error Ase::StorageWriter::store_file_data ( const String filename,
const String buffer,
bool  alwayscompress = false 
)

Definition at line 333 of file storage.cc.


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