Iterator for traversing and inspecting the contents of the zip archive.
More...
#include <zipFile.h>
|
USD_API | Iterator (const Iterator &rhs) |
|
USD_API | Iterator (Iterator &&rhs) |
|
USD_API Iterator & | operator= (const Iterator &rhs) |
|
USD_API Iterator & | operator= (Iterator &&rhs) |
|
USD_API Iterator & | operator++ () |
|
USD_API Iterator | operator++ (int) |
|
USD_API bool | operator== (const Iterator &rhs) const |
|
USD_API bool | operator!= (const Iterator &rhs) const |
|
USD_API reference | operator* () const |
| Returns filename of the current file in the zip archive.
|
|
USD_API pointer | operator-> () const |
| Returns filename of the current file in the zip archive.
|
|
USD_API const char * | GetFile () const |
| Returns pointer to the beginning of the current file in the zip archive.
|
|
USD_API FileInfo | GetFileInfo () const |
| Returns FileInfo object containing information about the current file.
|
|
Iterator for traversing and inspecting the contents of the zip archive.
Definition at line 115 of file zipFile.h.
◆ difference_type
using difference_type = std::ptrdiff_t |
◆ iterator_category
using iterator_category = std::forward_iterator_tag |
◆ pointer
using pointer = _ArrowProxy |
◆ reference
using reference = std::string |
◆ value_type
using value_type = std::string |
◆ GetFile()
USD_API const char * GetFile |
( |
| ) |
const |
Returns pointer to the beginning of the current file in the zip archive.
The contents of the current file span the range [GetFile(), GetFile() + GetFileInfo().size).
Note that this points to the raw data stored in the zip archive; no decompression or other transformation is applied.
◆ GetFileInfo()
Returns FileInfo object containing information about the current file.
◆ operator*()
USD_API reference operator* |
( |
| ) |
const |
Returns filename of the current file in the zip archive.
◆ operator->()
USD_API pointer operator-> |
( |
| ) |
const |
Returns filename of the current file in the zip archive.
◆ UsdZipFile
The documentation for this class was generated from the following file: