Anklang C++ API 0.0.0
Loading...
Searching...
No Matches
StorageWriter

#include "storage.hh"

Inheritance diagram for StorageWriter:
[legend]

Classes

class Impl

Public Member Functions

Errorclose ()
Erroropen_for_writing (const String &filename)
Erroropen_with_mimetype (const String &filename, const String &mimetype)
Errorremove_opened ()
StorageWriter (StorageFlags=StorageFlags::NONE)
Errorstore_file (const String &filename, const String &ondiskpath, bool maycompress=true)
Errorstore_file_data (const String &filename, const String &buffer, bool alwayscompress=false)
virtual~StorageWriter ()

Additional Inherited Members

- Public Types inherited from Storage
enum StorageFlags { NONE , AUTO_ZSTD }
- Protected Member Functions inherited from Storage
virtual~Storage ()=0

Constructor & Destructor Documentation

StorageWriter()

~StorageWriter()

~StorageWriter ( )
virtual

Member Function Documentation

open_for_writing()

Error open_for_writing ( const String & filename)

open_with_mimetype()

Error open_with_mimetype ( const String & filename,
const String & mimetype
)

store_file_data()

Error store_file_data ( const String & filename,
const String & buffer,
bool alwayscompress = false
)

store_file()

Error store_file ( const String & filename,
const String & ondiskpath,
bool maycompress = true
)

close()

Error close ( )

remove_opened()

Error remove_opened ( )