OpenDaVINCI  4.16.0
odcore::wrapper::DecompressedData Class Referenceabstract

#include <DecompressedData.h>

Inheritance diagram for odcore::wrapper::DecompressedData:
Inheritance graph

Public Member Functions

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

Detailed Description

This interface encapsulates all methods necessary to access the contents of compressed data.

CompressionFactory

Constructor & Destructor Documentation

odcore::wrapper::DecompressedData::~DecompressedData ( )
virtual

Member Function Documentation

virtual std::shared_ptr<istream> odcore::wrapper::DecompressedData::getInputStreamFor ( const string &  entry)
pure 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.

Implemented in odcore::wrapper::Zip::ZipDecompressedData.

virtual vector<string> odcore::wrapper::DecompressedData::getListOfEntries ( )
pure virtual

This method returns a list of all entries.

Returns
List of all entries.

Implemented in odcore::wrapper::Zip::ZipDecompressedData.