OpenDaVINCI  4.16.0
odcore::wrapper::Zip::ZipDecompressedData Class Reference

#include <ZipDecompressedData.h>

Inheritance diagram for odcore::wrapper::Zip::ZipDecompressedData:
Inheritance graph

Public Member Functions

virtual ~ZipDecompressedData ()
 
virtual vector< string > getListOfEntries ()
 
virtual std::shared_ptr< istream > getInputStreamFor (const string &entry)
 

Friends

struct CompressionFactoryWorker< CompressionLibraryZIP >
 

Detailed Description

This class implements an abstract object containing the decompressed contents of a compressed archive.

DecompressedData.

Constructor & Destructor Documentation

odcore::wrapper::Zip::ZipDecompressedData::~ZipDecompressedData ( )
virtual

Member Function Documentation

std::shared_ptr< istream > odcore::wrapper::Zip::ZipDecompressedData::getInputStreamFor ( const string &  entry)
virtual

This method returns an input stream for one specific entry. The look up for the specified entry is done case insensitively.

Returns
Input stream or NULL if the specified file could not be found.

Implements odcore::wrapper::DecompressedData.

vector< string > odcore::wrapper::Zip::ZipDecompressedData::getListOfEntries ( )
virtual

This method returns a list of all entries.

Returns
List of all entries.

Implements odcore::wrapper::DecompressedData.

Friends And Related Function Documentation