Grok 20.3.2
grk::AsocBox Struct Reference

Association box (defined in ITU 15444-2 Annex M 11.1 ). More...

#include <FileFormatJP2Family.h>

Inheritance diagram for grk::AsocBox:
grk::Box grk::Buffer< uint8_t, AllocatorVanilla > grk::AllocatorVanilla< T >

Public Member Functions

 ~AsocBox () override
void dealloc () override
Public Member Functions inherited from grk::Box
 Box ()
Public Member Functions inherited from grk::Buffer< uint8_t, AllocatorVanilla >
 Buffer (uint8_t *buffer, size_t off, size_t length, bool ownsData)
 Buffer (uint8_t *buffer, size_t length)
 Buffer ()
 Buffer (uint8_t *buffer, size_t length, bool ownsData)
virtual ~Buffer ()
 Buffer (const Buffer &rhs)
Bufferoperator= (const Buffer &rhs)
Bufferoperator= (const Buffer *rhs)
bool canRead (void)
uint8_t read (void)
bool write (uint8_t val)
bool write (uint8_t *b, size_t size)
virtual bool alloc (size_t length)
void attach (uint8_t *buffer)
void transfer (uint8_t **buffer)
size_t remainingLength (void) const
bool increment_offset (std::ptrdiff_t off)
uint8_t * currPtr (void) const
uint8_t * currPtr (size_t required_length) const
bool owns_data ()
void set_owns_data (bool owns)
size_t num_elts () const
size_t * num_elts_ptr ()
void set_num_elts (size_t elts)
size_t offset () const
void set_offset (size_t off)
uint8_t * buf () const
uint8_t ** ptr_to_buf ()
void set_buf (uint8_t *buf, size_t elts)
Public Member Functions inherited from grk::AllocatorVanilla< T >
T * alloc (size_t elements)
void dealloc (T *buf)

Public Attributes

std::string label
std::vector< AsocBox * > children
Public Attributes inherited from grk::Box
uint64_t length
uint32_t type
uint64_t byteCount

Additional Inherited Members

Protected Attributes inherited from grk::Buffer< uint8_t, AllocatorVanilla >
uint8_t * buf_
size_t offset_
size_t num_elts_
bool owns_data_

Detailed Description

Association box (defined in ITU 15444-2 Annex M 11.1 ).

Constructor & Destructor Documentation

◆ ~AsocBox()

grk::AsocBox::~AsocBox ( )
inlineoverride

References dealloc().

Member Function Documentation

◆ dealloc()

void grk::AsocBox::dealloc ( )
inlineoverridevirtual

Member Data Documentation

◆ children

◆ label


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