Grok 20.3.2
grk::UUIDBox Struct Reference

#include <FileFormatJP2Family.h>

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

Public Member Functions

 UUIDBox ()
 UUIDBox (const uint8_t myuuid[16], uint8_t *buf, size_t size)
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)
virtual void dealloc ()
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

uint8_t uuid [16]
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_

Constructor & Destructor Documentation

◆ UUIDBox() [1/2]

grk::UUIDBox::UUIDBox ( )
inline

References uuid.

◆ UUIDBox() [2/2]

grk::UUIDBox::UUIDBox ( const uint8_t myuuid[16],
uint8_t * buf,
size_t size )
inline

Member Data Documentation

◆ uuid

uint8_t grk::UUIDBox::uuid[16]

Referenced by UUIDBox(), and UUIDBox().


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