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

#include <file_chunk.h>

Collaboration diagram for FileChunk:

Public Member Functions

 FileChunk ()
 
 FileChunk (const shash::Any &hash, const off_t offset, const size_t size)
 
const shash::Anycontent_hash () const
 
off_t offset () const
 
size_t size () const
 

Protected Attributes

shash::Any content_hash_
 content hash of the compressed file chunk More...
 
off_t offset_
 byte offset in the uncompressed input file More...
 
size_t size_
 uncompressed size of the data chunk More...
 

Detailed Description

This file is part of the CernVM File System.

This class implements a data wrapper for single dentries in CVMFS Additionally to the normal file meta data it manages some bookkeeping data like the associated catalog. Describes a FileChunk as generated from the FileProcessor in collaboration with the ChunkGenerator.

Definition at line 31 of file file_chunk.h.

Constructor & Destructor Documentation

FileChunk::FileChunk ( )
inline

Definition at line 33 of file file_chunk.h.

FileChunk::FileChunk ( const shash::Any hash,
const off_t  offset,
const size_t  size 
)
inline

Definition at line 34 of file file_chunk.h.

Member Function Documentation

const shash::Any& FileChunk::content_hash ( ) const
inline

Member Data Documentation

shash::Any FileChunk::content_hash_
protected

content hash of the compressed file chunk

Definition at line 46 of file file_chunk.h.

Referenced by content_hash().

off_t FileChunk::offset_
protected

byte offset in the uncompressed input file

Definition at line 47 of file file_chunk.h.

Referenced by offset().

size_t FileChunk::size_
protected

uncompressed size of the data chunk

Definition at line 48 of file file_chunk.h.

Referenced by size().


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