Nebula
Loading...
Searching...
No Matches
zipfilesystem.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
34
35//------------------------------------------------------------------------------
36namespace IO
37{
38class ZipArchive;
39
41{
44public:
48 virtual ~ZipFileSystem();
49
51 void Setup();
53 void Discard();
54
56 Ptr<Archive> FindArchiveWithFile(const URI& fileUri) const;
58 Ptr<Archive> FindArchiveWithDir(const URI& dirUri) const;
59};
60
61} // namespace IO
62//------------------------------------------------------------------------------
63
64
65
Definition archivefilesystembase.h:23
An URI object can split a Uniform Resource Identifier string into its components or build a string fr...
Definition uri.h:67
An archive filesystem wrapper for ZIP files.
Definition zipfilesystem.h:41
ZipFileSystem()
constructor
Definition zipfilesystem.cc:23
Ptr< Archive > FindArchiveWithFile(const URI &fileUri) const
find first archive which contains the file path
Definition zipfilesystem.cc:73
virtual ~ZipFileSystem()
destructor
Definition zipfilesystem.cc:31
void Setup()
setup the archive file system
Definition zipfilesystem.cc:45
__DeclareInterfaceSingleton(ZipFileSystem)
__DeclareClass(ZipFileSystem)
Ptr< Archive > FindArchiveWithDir(const URI &dirUri) const
find first archive which contains the directory path
Definition zipfilesystem.cc:108
void Discard()
discard the archive file system
Definition zipfilesystem.cc:56
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition ptr.h:38
Instances of wrapped stream classes.
Definition orientation.cc:10