Torch
Loading...
Searching...
No Matches
ZWrapper Class Reference
Inheritance diagram for ZWrapper:
BinaryWrapper

Public Member Functions

 ZWrapper (const std::string &path)
int32_t CreateArchive (void) override
bool AddFile (const std::string &path, std::vector< char > data) override
int32_t Close (void) override
Public Member Functions inherited from BinaryWrapper
 BinaryWrapper (const std::string &path)

Public Attributes

miniz_cpp::zip_file * mZip

Additional Inherited Members

Protected Attributes inherited from BinaryWrapper
std::mutex mMutex
std::string mPath

Member Function Documentation

◆ AddFile()

bool ZWrapper::AddFile ( const std::string & path,
std::vector< char > data )
overridevirtual

Implements BinaryWrapper.

◆ Close()

int32_t ZWrapper::Close ( void )
overridevirtual

Implements BinaryWrapper.

◆ CreateArchive()

int32_t ZWrapper::CreateArchive ( void )
overridevirtual

Implements BinaryWrapper.


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