Guitar
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
zip::ZipInternal Class Reference

#include <zipinternal.h>

Public Member Functions

 ZipInternal ()=default
 
 ~ZipInternal ()
 
bool attach (char const *begin, char const *end)
 
void close ()
 
bool extract_file (zip_file_header_t const *cd, std::vector< char > *out, zip_local_file_header_t *header=0)
 
bool extract_file (char const *path, std::vector< char > *out, zip_local_file_header_t *header=0)
 
std::list< Item > const * get_item_list () const
 
size_t size () const
 

Static Private Member Functions

static bool inflate (char *zptr, size_t zlen, std::vector< char > *out)
 

Private Attributes

struct {
   char const *   begin
 
   char const *   end
 
data
 
std::list< Item_items
 

Constructor & Destructor Documentation

◆ ZipInternal()

zip::ZipInternal::ZipInternal ( )
default

◆ ~ZipInternal()

zip::ZipInternal::~ZipInternal ( )
inline
Here is the call graph for this function:

Member Function Documentation

◆ attach()

bool zip::ZipInternal::attach ( char const *  begin,
char const *  end 
)

◆ close()

void zip::ZipInternal::close ( )

◆ extract_file() [1/2]

bool zip::ZipInternal::extract_file ( char const *  path,
std::vector< char > *  out,
zip_local_file_header_t header = 0 
)
Here is the call graph for this function:

◆ extract_file() [2/2]

bool zip::ZipInternal::extract_file ( zip_file_header_t const *  cd,
std::vector< char > *  out,
zip_local_file_header_t header = 0 
)
Here is the call graph for this function:

◆ get_item_list()

std::list<Item> const* zip::ZipInternal::get_item_list ( ) const
inline

◆ inflate()

bool zip::ZipInternal::inflate ( char *  zptr,
size_t  zlen,
std::vector< char > *  out 
)
staticprivate

◆ size()

size_t zip::ZipInternal::size ( ) const
inline

Member Data Documentation

◆ _items

std::list<Item> zip::ZipInternal::_items
private

◆ begin

char const* zip::ZipInternal::begin

◆ 

struct { ... } zip::ZipInternal::data

◆ end

char const* zip::ZipInternal::end

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