Pol  Revision:cb584c9
uop_t::file_t Class Reference

#include <uop.h>

+ Inheritance diagram for uop_t::file_t:

Public Member Functions

 file_t (kaitai::kstream *p__io, uop_t::block_body_t *p__parent=0, uop_t *p__root=0)
 
 ~file_t ()
 
kaitai::kstream * _io__raw_data () const
 
bool _is_null_data ()
 
uop_t::block_body_t_parent () const
 
std::string _raw_data () const
 
uop_t_root () const
 
uint32_t adler32 () const
 
uint32_t compressed_size () const
 
compression_type_t compression_type () const
 
data_header_v5_tdata ()
 
uint64_t dataaddr () const
 
uint32_t decompressed_size () const
 
uint32_t file_len () const
 
uint64_t filehash () const
 

Private Member Functions

void _read ()
 

Private Attributes

bool f_data
 
kaitai::kstream * m__io__raw_data
 
uop_t::block_body_tm__parent
 
std::string m__raw_data
 
uop_tm__root
 
uint32_t m_adler32
 
uint32_t m_compressed_size
 
compression_type_t m_compression_type
 
data_header_v5_tm_data
 
uint64_t m_dataaddr
 
uint32_t m_decompressed_size
 
uint32_t m_file_len
 
uint64_t m_filehash
 
bool n_data
 

Detailed Description

Definition at line 159 of file uop.h.

Constructor & Destructor Documentation

uop_t::file_t::file_t ( kaitai::kstream *  p__io,
uop_t::block_body_t p__parent = 0,
uop_t p__root = 0 
)

Definition at line 115 of file uop.cpp.

References _read(), f_data, m__parent, and m__root.

uop_t::file_t::~file_t ( )

Definition at line 133 of file uop.cpp.

References f_data, m__io__raw_data, m_data, and n_data.

Member Function Documentation

kaitai::kstream* uop_t::file_t::_io__raw_data ( ) const
inline

Definition at line 208 of file uop.h.

bool uop_t::file_t::_is_null_data ( )
inline

Definition at line 177 of file uop.h.

References data.

uop_t::block_body_t* uop_t::file_t::_parent ( ) const
inline

Definition at line 206 of file uop.h.

References uop_t::block_addr_t::m__parent.

std::string uop_t::file_t::_raw_data ( ) const
inline

Definition at line 207 of file uop.h.

void uop_t::file_t::_read ( )
private

Definition at line 123 of file uop.cpp.

References m_adler32, m_compressed_size, m_compression_type, m_dataaddr, m_decompressed_size, m_file_len, and m_filehash.

Referenced by file_t().

uop_t* uop_t::file_t::_root ( ) const
inline

Definition at line 205 of file uop.h.

References uop_t::block_addr_t::m__root.

uint32_t uop_t::file_t::adler32 ( ) const
inline

Definition at line 203 of file uop.h.

uint32_t uop_t::file_t::compressed_size ( ) const
inline

Definition at line 200 of file uop.h.

Referenced by data().

compression_type_t uop_t::file_t::compression_type ( ) const
inline

Definition at line 204 of file uop.h.

uop_t::data_header_v5_t * uop_t::file_t::data ( )
uint64_t uop_t::file_t::dataaddr ( ) const
inline

Definition at line 198 of file uop.h.

Referenced by data().

uint32_t uop_t::file_t::decompressed_size ( ) const
inline

Definition at line 201 of file uop.h.

uint32_t uop_t::file_t::file_len ( ) const
inline

Definition at line 199 of file uop.h.

Referenced by data().

uint64_t uop_t::file_t::filehash ( ) const
inline

Definition at line 202 of file uop.h.

Member Data Documentation

bool uop_t::file_t::f_data
private

Definition at line 172 of file uop.h.

Referenced by data(), file_t(), and ~file_t().

kaitai::kstream* uop_t::file_t::m__io__raw_data
private

Definition at line 195 of file uop.h.

Referenced by data(), and ~file_t().

uop_t::block_body_t* uop_t::file_t::m__parent
private

Definition at line 193 of file uop.h.

Referenced by file_t().

std::string uop_t::file_t::m__raw_data
private

Definition at line 194 of file uop.h.

Referenced by data().

uop_t* uop_t::file_t::m__root
private

Definition at line 192 of file uop.h.

Referenced by data(), and file_t().

uint32_t uop_t::file_t::m_adler32
private

Definition at line 190 of file uop.h.

Referenced by _read().

uint32_t uop_t::file_t::m_compressed_size
private

Definition at line 187 of file uop.h.

Referenced by _read().

compression_type_t uop_t::file_t::m_compression_type
private

Definition at line 191 of file uop.h.

Referenced by _read().

data_header_v5_t* uop_t::file_t::m_data
private

Definition at line 173 of file uop.h.

Referenced by data(), and ~file_t().

uint64_t uop_t::file_t::m_dataaddr
private

Definition at line 185 of file uop.h.

Referenced by _read().

uint32_t uop_t::file_t::m_decompressed_size
private

Definition at line 188 of file uop.h.

Referenced by _read().

uint32_t uop_t::file_t::m_file_len
private

Definition at line 186 of file uop.h.

Referenced by _read().

uint64_t uop_t::file_t::m_filehash
private

Definition at line 189 of file uop.h.

Referenced by _read().

bool uop_t::file_t::n_data
private

Definition at line 174 of file uop.h.

Referenced by data(), and ~file_t().


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