digiKam
heif::BoxHeader Class Reference
+ Inheritance diagram for heif::BoxHeader:

Public Member Functions

 BoxHeader ()
 
virtual std::string dump (Indent &) const
 
uint64_t get_box_size () const
 
uint32_t get_flags () const
 
uint32_t get_header_size () const
 
uint32_t get_short_type () const
 
std::vector< uint8_t > get_type () const
 
std::string get_type_string () const
 
uint8_t get_version () const
 
bool is_full_box_header () const
 
Error parse (BitstreamRange &range)
 
Error parse_full_box_header (BitstreamRange &range)
 
Error prepend_header (StreamWriter &, size_t box_start) const
 
size_t reserve_box_header_space (StreamWriter &writer) const
 
void set_flags (uint32_t flags)
 
void set_is_full_box (bool flag=true)
 
void set_short_type (uint32_t type)
 
void set_version (uint8_t version)
 
virtual ~BoxHeader ()
 

Static Public Attributes

constexpr static uint64_t size_until_end_of_file = 0
 

Constructor & Destructor Documentation

◆ BoxHeader()

heif::BoxHeader::BoxHeader ( )

◆ ~BoxHeader()

virtual heif::BoxHeader::~BoxHeader ( )
inlinevirtual

Member Function Documentation

◆ dump()

◆ get_box_size()

uint64_t heif::BoxHeader::get_box_size ( ) const
inline

◆ get_flags()

uint32_t heif::BoxHeader::get_flags ( ) const
inline

◆ get_header_size()

uint32_t heif::BoxHeader::get_header_size ( ) const
inline

◆ get_short_type()

uint32_t heif::BoxHeader::get_short_type ( ) const
inline

◆ get_type()

std::vector<uint8_t> heif::BoxHeader::get_type ( ) const

◆ get_type_string()

std::string heif::BoxHeader::get_type_string ( ) const

◆ get_version()

uint8_t heif::BoxHeader::get_version ( ) const
inline

◆ is_full_box_header()

bool heif::BoxHeader::is_full_box_header ( ) const
inline

◆ parse()

Error heif::BoxHeader::parse ( BitstreamRange range)

◆ parse_full_box_header()

Error heif::BoxHeader::parse_full_box_header ( BitstreamRange range)

◆ prepend_header()

Error heif::BoxHeader::prepend_header ( StreamWriter ,
size_t  box_start 
) const

◆ reserve_box_header_space()

size_t heif::BoxHeader::reserve_box_header_space ( StreamWriter writer) const

◆ set_flags()

void heif::BoxHeader::set_flags ( uint32_t  flags)
inline

◆ set_is_full_box()

◆ set_short_type()

◆ set_version()

void heif::BoxHeader::set_version ( uint8_t  version)
inline

Member Data Documentation

◆ size_until_end_of_file

constexpr static uint64_t heif::BoxHeader::size_until_end_of_file = 0
staticconstexpr

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