All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4SoundLoaders::VorbisLoader::CompressedData Struct Reference

#include <C4SoundLoaders.h>

Public Member Functions

 CompressedData (BYTE *data, size_t data_length)
 CompressedData ()=default
void SetOwnedData (BYTE *data, size_t data_length)
 ~CompressedData ()
void clear ()

Public Attributes

BYTEdata {nullptr}
size_t data_length {0}
size_t data_pos {0}
bool is_data_owned {false}

Detailed Description

Definition at line 69 of file C4SoundLoaders.h.

Constructor & Destructor Documentation

C4SoundLoaders::VorbisLoader::CompressedData::CompressedData ( BYTE data,
size_t  data_length 
C4SoundLoaders::VorbisLoader::CompressedData::CompressedData ( )
C4SoundLoaders::VorbisLoader::CompressedData::~CompressedData ( )

Definition at line 81 of file C4SoundLoaders.h.

References clear().

Here is the call graph for this function:

Member Function Documentation

void C4SoundLoaders::VorbisLoader::CompressedData::clear ( )

Definition at line 82 of file C4SoundLoaders.h.

References data, and is_data_owned.

Referenced by SetOwnedData(), and ~CompressedData().

Here is the caller graph for this function:

void C4SoundLoaders::VorbisLoader::CompressedData::SetOwnedData ( BYTE data,
size_t  data_length 

Definition at line 78 of file C4SoundLoaders.h.

References clear(), data, data_length, data_pos, and is_data_owned.

Here is the call graph for this function:

Member Data Documentation

BYTE* C4SoundLoaders::VorbisLoader::CompressedData::data {nullptr}
size_t C4SoundLoaders::VorbisLoader::CompressedData::data_length {0}
size_t C4SoundLoaders::VorbisLoader::CompressedData::data_pos {0}
bool C4SoundLoaders::VorbisLoader::CompressedData::is_data_owned {false}

Definition at line 75 of file C4SoundLoaders.h.

Referenced by clear(), and SetOwnedData().

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