CernVM-FS
2.12.0
|
#include <ingestion_source.h>
Public Member Functions | |
MemoryIngestionSource (const std::string &p, const unsigned char *d, unsigned s) | |
virtual | ~MemoryIngestionSource () |
virtual std::string | GetPath () const |
virtual bool | IsRealFile () const |
virtual bool | Open () |
virtual ssize_t | Read (void *buffer, size_t nbyte) |
virtual bool | Close () |
virtual bool | GetSize (uint64_t *size) |
Public Member Functions inherited from IngestionSource | |
virtual | ~IngestionSource () |
Private Attributes | |
std::string | path_ |
const unsigned char * | data_ |
unsigned | size_ |
unsigned | pos_ |
Wraps around existing memory without owning it.
Definition at line 116 of file ingestion_source.h.
|
inline |
Definition at line 118 of file ingestion_source.h.
|
inlinevirtual |
Definition at line 121 of file ingestion_source.h.
|
inlinevirtual |
Implements IngestionSource.
Definition at line 132 of file ingestion_source.h.
Referenced by StringIngestionSource::Close().
|
inlinevirtual |
Implements IngestionSource.
Definition at line 122 of file ingestion_source.h.
Referenced by StringIngestionSource::GetPath().
|
inlinevirtual |
Implements IngestionSource.
Definition at line 133 of file ingestion_source.h.
Referenced by StringIngestionSource::GetSize().
|
inlinevirtual |
Implements IngestionSource.
Definition at line 123 of file ingestion_source.h.
|
inlinevirtual |
Implements IngestionSource.
Definition at line 124 of file ingestion_source.h.
Referenced by StringIngestionSource::Open().
|
inlinevirtual |
Implements IngestionSource.
Definition at line 125 of file ingestion_source.h.
Referenced by StringIngestionSource::Read().
|
private |
Definition at line 137 of file ingestion_source.h.
Referenced by Read().
|
private |
Definition at line 136 of file ingestion_source.h.
Referenced by GetPath().
|
private |
Definition at line 139 of file ingestion_source.h.
Referenced by Read().
|
private |
Definition at line 138 of file ingestion_source.h.