ManaPlus
Public Member Functions | Data Fields
VirtFs::ZipEntry Struct Reference

#include <zipentry.h>

Inheritance diagram for VirtFs::ZipEntry:
VirtFs::FsEntry

Public Member Functions

 ZipEntry (const std::string &archiveName, const std::string &subDir0, FsFuncs *const funcs0)
 
virtual ~ZipEntry ()
 
- Public Member Functions inherited from VirtFs::FsEntry
 FsEntry (const FsEntryTypeT &type0, FsFuncs *const funcs)
 
virtual ~FsEntry ()
 

Data Fields

std::vector< ZipLocalHeader * > mHeaders
 
std::vector< std::string > mDirs
 
- Data Fields inherited from VirtFs::FsEntry
std::string root
 
std::string subDir
 
FsEntryTypeT type
 
FsFuncsfuncs
 

Detailed Description

Definition at line 36 of file zipentry.h.

Constructor & Destructor Documentation

◆ ZipEntry()

VirtFs::ZipEntry::ZipEntry ( const std::string &  archiveName,
const std::string &  subDir0,
FsFuncs *const  funcs0 
)

Definition at line 33 of file zipentry.cpp.

35  :
36  FsEntry(FsEntryType::Zip, funcs0),
37  mHeaders(),
38  mDirs()
39 {
40  root = archiveName;
41  subDir = subDir0;
42 }
std::string subDir
Definition: fsentry.h:47
std::string root
Definition: fsentry.h:45
FsEntry(const FsEntryTypeT &type0, FsFuncs *const funcs)
Definition: fsentry.cpp:29
std::vector< std::string > mDirs
Definition: zipentry.h:47
std::vector< ZipLocalHeader * > mHeaders
Definition: zipentry.h:46

References VirtFs::FsEntry::root, and VirtFs::FsEntry::subDir.

◆ ~ZipEntry()

VirtFs::ZipEntry::~ZipEntry ( )
virtual

Definition at line 44 of file zipentry.cpp.

45 {
47 }
void delete_all(Container &c)
Definition: dtor.h:56

References delete_all(), and mHeaders.

Field Documentation

◆ mDirs

std::vector<std::string> VirtFs::ZipEntry::mDirs

◆ mHeaders

std::vector<ZipLocalHeader*> VirtFs::ZipEntry::mHeaders

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