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

#include <ingestion_source.h>

Inheritance diagram for IngestionSource:
Collaboration diagram for IngestionSource:

Public Member Functions

virtual ~IngestionSource ()
 
virtual std::string GetPath () const =0
 
virtual bool IsRealFile () const =0
 
virtual bool Open ()=0
 
virtual ssize_t Read (void *buffer, size_t nbyte)=0
 
virtual bool Close ()=0
 
virtual bool GetSize (uint64_t *size)=0
 

Additional Inherited Members

- Private Member Functions inherited from SingleCopy
 SingleCopy ()
 

Detailed Description

This file is part of the CernVM File System.

Definition at line 38 of file ingestion_source.h.

Constructor & Destructor Documentation

virtual IngestionSource::~IngestionSource ( )
inlinevirtual

Definition at line 40 of file ingestion_source.h.

Member Function Documentation

virtual bool IngestionSource::Close ( )
pure virtual
virtual std::string IngestionSource::GetPath ( ) const
pure virtual
virtual bool IngestionSource::GetSize ( uint64_t *  size)
pure virtual

Implemented in TarIngestionSource, StringIngestionSource, MemoryIngestionSource, and FileIngestionSource.

Referenced by upload::S3Uploader::DoUpload().

Here is the caller graph for this function:

virtual bool IngestionSource::IsRealFile ( ) const
pure virtual
virtual bool IngestionSource::Open ( )
pure virtual
virtual ssize_t IngestionSource::Read ( void *  buffer,
size_t  nbyte 
)
pure virtual

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