Chromium Embedded Framework (CEF) 148.0.4+ga59e378+chromium-148.0.7778.40
CefZipArchive::File Class Referenceabstract

Class representing a file in the archive. More...

#include "include/wrapper/cef_zip_archive.h"

Inheritance diagram for CefZipArchive::File:
CefBaseRefCounted

Public Member Functions

virtual const unsigned char * GetData () const =0
 Returns the read-only data contained in the file.
 
virtual size_t GetDataSize () const =0
 Returns the size of the data in the file.
 
virtual CefRefPtr< CefStreamReaderGetStreamReader () const =0
 Returns a CefStreamReader object for streaming the contents of the file.
 
- Public Member Functions inherited from CefBaseRefCounted
virtual void AddRef () const =0
 Called to increment the reference count for the object.
 
virtual bool Release () const =0
 Called to decrement the reference count for the object.
 
virtual bool HasOneRef () const =0
 Returns true if the reference count is 1.
 
virtual bool HasAtLeastOneRef () const =0
 Returns true if the reference count is at least 1.
 

Additional Inherited Members

- Protected Member Functions inherited from CefBaseRefCounted
virtual ~CefBaseRefCounted ()
 

Detailed Description

Class representing a file in the archive.

Accessing the file data from multiple threads is safe provided a reference to the File object is kept.

Member Function Documentation

◆ GetData()

virtual const unsigned char * CefZipArchive::File::GetData ( ) const
pure virtual

Returns the read-only data contained in the file.

◆ GetDataSize()

virtual size_t CefZipArchive::File::GetDataSize ( ) const
pure virtual

Returns the size of the data in the file.

◆ GetStreamReader()

virtual CefRefPtr< CefStreamReader > CefZipArchive::File::GetStreamReader ( ) const
pure virtual

Returns a CefStreamReader object for streaming the contents of the file.


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