|
HDK
|
#include <zipFile.h>
Classes | |
| class | FileInfo |
| class | Iterator |
Public Member Functions | |
| SDF_API | SdfZipFile () |
| Create an invalid SdfZipFile object. More... | |
| SDF_API | ~SdfZipFile () |
| SDF_API | operator bool () const |
| Return true if this object is valid, false otherwise. More... | |
| SDF_API Iterator | begin () const |
| Returns iterator pointing to the first file in the zip archive. More... | |
| Iterator | cbegin () const |
| Returns iterator pointing to the first file in the zip archive. More... | |
| SDF_API Iterator | end () const |
| Returns end iterator for this zip archive. More... | |
| Iterator | cend () const |
| Returns end iterator for this zip archive. More... | |
| SDF_API Iterator | Find (const std::string &path) const |
| SDF_API void | DumpContents () const |
Static Public Member Functions | |
| static SDF_API SdfZipFile | Open (const std::string &filePath) |
| static SDF_API SdfZipFile | Open (const std::shared_ptr< ArAsset > &asset) |
Class for reading a zip file. This class is primarily intended to support the .usdz file format. It is not a general-purpose zip reader, as it does not implement the full zip file specification. In particular:
| SDF_API SdfZipFile::SdfZipFile | ( | ) |
Create an invalid SdfZipFile object.
| SDF_API SdfZipFile::~SdfZipFile | ( | ) |
Returns iterator pointing to the first file in the zip archive.
|
inline |
|
inline |
Print out listing of contents of this zip archive to stdout. For diagnostic purposes only.
Returns iterator to the file with the given path in this zip archive, or end() if no such file exists.
|
static |
Opens the zip archive at filePath. Returns invalid object on error.
|
static |
Opens the zip archive asset. Returns invalid object on error.
|
inlineexplicit |