CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TarIngestionSource Class Reference

#include <ingestion_source.h>

Inheritance diagram for TarIngestionSource:
Collaboration diagram for TarIngestionSource:

Public Member Functions

 TarIngestionSource (const std::string &path, struct archive *archive, struct archive_entry *entry, Signal *read_archive_signal)
 
std::string GetPath () const
 
virtual bool IsRealFile () const
 
bool Open ()
 
ssize_t Read (void *external_buffer, size_t nbytes)
 
bool Close ()
 
bool GetSize (uint64_t *size)
 
- Public Member Functions inherited from IngestionSource
virtual ~IngestionSource ()
 

Private Attributes

std::string path_
 
struct archive * archive_
 
uint64_t size_
 
Signalread_archive_signal_
 

Detailed Description

Definition at line 172 of file ingestion_source.h.

Constructor & Destructor Documentation

TarIngestionSource::TarIngestionSource ( const std::string &  path,
struct archive *  archive,
struct archive_entry *  entry,
Signal read_archive_signal 
)
inline

Definition at line 174 of file ingestion_source.h.

Here is the call graph for this function:

Member Function Documentation

bool TarIngestionSource::Close ( )
inlinevirtual

Implements IngestionSource.

Definition at line 203 of file ingestion_source.h.

Here is the call graph for this function:

std::string TarIngestionSource::GetPath ( ) const
inlinevirtual

Implements IngestionSource.

Definition at line 184 of file ingestion_source.h.

bool TarIngestionSource::GetSize ( uint64_t *  size)
inlinevirtual

Implements IngestionSource.

Definition at line 208 of file ingestion_source.h.

virtual bool TarIngestionSource::IsRealFile ( ) const
inlinevirtual

Implements IngestionSource.

Definition at line 185 of file ingestion_source.h.

bool TarIngestionSource::Open ( )
inlinevirtual

Implements IngestionSource.

Definition at line 187 of file ingestion_source.h.

Here is the call graph for this function:

ssize_t TarIngestionSource::Read ( void *  external_buffer,
size_t  nbytes 
)
inlinevirtual

Implements IngestionSource.

Definition at line 192 of file ingestion_source.h.

Here is the call graph for this function:

Member Data Documentation

struct archive* TarIngestionSource::archive_
private

Definition at line 215 of file ingestion_source.h.

Referenced by Read().

std::string TarIngestionSource::path_
private

Definition at line 214 of file ingestion_source.h.

Referenced by GetPath(), and Read().

Signal* TarIngestionSource::read_archive_signal_
private

Definition at line 217 of file ingestion_source.h.

Referenced by Close(), and TarIngestionSource().

uint64_t TarIngestionSource::size_
private

Definition at line 216 of file ingestion_source.h.

Referenced by GetSize(), Open(), and TarIngestionSource().


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