Android-cuttlefish cvd tool
Public Member Functions | Private Attributes | List of all members
cuttlefish::anonymous_namespace{cached_zip_source.cc}::LazilyLoadedZipSourceFile Class Reference
Inheritance diagram for cuttlefish::anonymous_namespace{cached_zip_source.cc}::LazilyLoadedZipSourceFile:
Inheritance graph
[legend]
Collaboration diagram for cuttlefish::anonymous_namespace{cached_zip_source.cc}::LazilyLoadedZipSourceFile:
Collaboration graph
[legend]

Public Member Functions

 LazilyLoadedZipSourceFile (std::unique_ptr< SeekableZipSource > source, SeekingZipSourceReader reader)
 
Result< size_t > Seek (size_t offset) override
 
Result< size_t > Read (char *data, size_t size) override
 
- Public Member Functions inherited from cuttlefish::LazilyLoadedFileReadCallback
virtual ~LazilyLoadedFileReadCallback ()
 
virtual Result< size_t > Read (char *buf, size_t count)=0
 
virtual Result< size_t > Seek (size_t offset)=0
 

Private Attributes

std::unique_ptr< SeekableZipSourcesource_
 
SeekingZipSourceReader reader_
 

Constructor & Destructor Documentation

◆ LazilyLoadedZipSourceFile()

cuttlefish::anonymous_namespace{cached_zip_source.cc}::LazilyLoadedZipSourceFile::LazilyLoadedZipSourceFile ( std::unique_ptr< SeekableZipSource source,
SeekingZipSourceReader  reader 
)
inline

Member Function Documentation

◆ Read()

Result< size_t > cuttlefish::anonymous_namespace{cached_zip_source.cc}::LazilyLoadedZipSourceFile::Read ( char *  data,
size_t  size 
)
inlineoverridevirtual

◆ Seek()

Result< size_t > cuttlefish::anonymous_namespace{cached_zip_source.cc}::LazilyLoadedZipSourceFile::Seek ( size_t  offset)
inlineoverridevirtual

Member Data Documentation

◆ reader_

SeekingZipSourceReader cuttlefish::anonymous_namespace{cached_zip_source.cc}::LazilyLoadedZipSourceFile::reader_
private

◆ source_

std::unique_ptr<SeekableZipSource> cuttlefish::anonymous_namespace{cached_zip_source.cc}::LazilyLoadedZipSourceFile::source_
private

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