Guitar
Public Types | Public Member Functions | Public Attributes | List of all members
zip::file_entry_t Struct Reference

#include <zipinternal.h>

Collaboration diagram for zip::file_entry_t:
Collaboration graph
[legend]

Public Types

enum  Kind { Data , File }
 

Public Member Functions

 file_entry_t ()
 
 file_entry_t (std::string const &dst, unsigned char const *begin, unsigned char const *end, time_t time=-1)
 
 file_entry_t (std::string const &dst, std::vector< unsigned char > const *vec, time_t time=-1)
 
 file_entry_t (std::string const &dst, std::string const &src, time_t time=-1)
 

Public Attributes

Kind kind
 
std::vector< unsigned char > data
 
std::string src
 
std::string dst
 
time_t time
 

Member Enumeration Documentation

◆ Kind

Enumerator
Data 
File 

Constructor & Destructor Documentation

◆ file_entry_t() [1/4]

zip::file_entry_t::file_entry_t ( )
inline

◆ file_entry_t() [2/4]

zip::file_entry_t::file_entry_t ( std::string const &  dst,
unsigned char const *  begin,
unsigned char const *  end,
time_t  time = -1 
)
inline

◆ file_entry_t() [3/4]

zip::file_entry_t::file_entry_t ( std::string const &  dst,
std::vector< unsigned char > const *  vec,
time_t  time = -1 
)
inline

◆ file_entry_t() [4/4]

zip::file_entry_t::file_entry_t ( std::string const &  dst,
std::string const &  src,
time_t  time = -1 
)
inline

Member Data Documentation

◆ data

std::vector<unsigned char> zip::file_entry_t::data

◆ dst

std::string zip::file_entry_t::dst

◆ kind

Kind zip::file_entry_t::kind

◆ src

std::string zip::file_entry_t::src

◆ time

time_t zip::file_entry_t::time

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