CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
compat::chunk_tables::FileChunk Class Reference

#include <compat.h>

Collaboration diagram for compat::chunk_tables::FileChunk:

Public Member Functions

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

Public Attributes

shash_v1::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

Definition at line 840 of file compat.h.

Constructor & Destructor Documentation

compat::chunk_tables::FileChunk::FileChunk ( )
inline

Definition at line 842 of file compat.h.

Here is the call graph for this function:

compat::chunk_tables::FileChunk::FileChunk ( const shash_v1::Any hash,
const off_t  offset,
const size_t  size 
)
inline

Definition at line 843 of file compat.h.

Here is the call graph for this function:

Member Function Documentation

const shash_v1::Any& compat::chunk_tables::FileChunk::content_hash ( ) const
inline

Definition at line 846 of file compat.h.

off_t compat::chunk_tables::FileChunk::offset ( ) const
inline

Definition at line 847 of file compat.h.

Referenced by compat::chunk_tables::Migrate().

Here is the caller graph for this function:

size_t compat::chunk_tables::FileChunk::size ( ) const
inline

Definition at line 848 of file compat.h.

Referenced by compat::chunk_tables::Migrate().

Here is the caller graph for this function:

Member Data Documentation

shash_v1::Any compat::chunk_tables::FileChunk::content_hash_

content hash of the compressed file chunk

Definition at line 851 of file compat.h.

Referenced by content_hash(), and compat::chunk_tables::Migrate().

off_t compat::chunk_tables::FileChunk::offset_

byte offset in the uncompressed input file

Definition at line 852 of file compat.h.

Referenced by offset().

size_t compat::chunk_tables::FileChunk::size_

uncompressed size of the data chunk

Definition at line 853 of file compat.h.

Referenced by size().


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