MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
Public Member Functions | Protected Attributes
MP4::Descriptor Class Reference

#include <mp4_generic.h>

Inheritance diagram for MP4::Descriptor:
MP4::DCDescriptor MP4::DCDescriptor MP4::DSDescriptor MP4::DSDescriptor MP4::ESDescriptor MP4::ESDescriptor MP4::SLCDescriptor MP4::SLCDescriptor

Public Member Functions

 Descriptor ()
 
 Descriptor ()
 
 Descriptor (const char *pointer, const unsigned long length, const bool master=false)
 
 Descriptor (const char *pointer, const unsigned long length, const bool master=false)
 
char * getData ()
 Returns pointer to start of internal data. More...
 
char * getData ()
 Returns pointer to start of internal data. More...
 
unsigned long getDataSize ()
 Get internal size of descriptor. More...
 
unsigned long getDataSize ()
 Get internal size of descriptor. More...
 
unsigned long getFullSize ()
 Get external size of descriptor. More...
 
unsigned long getFullSize ()
 Get external size of descriptor. More...
 
char getTag ()
 Get type of descriptor. More...
 
char getTag ()
 Get type of descriptor. More...
 
void resize (unsigned long t)
 Resize descriptor. More...
 
void resize (unsigned long t)
 Resize descriptor. More...
 
void setTag (char t)
 Set type of descriptor. More...
 
void setTag (char t)
 Set type of descriptor. More...
 
std::string toPrettyString (uint32_t indent=0)
 put it into a pretty string More...
 
std::string toPrettyString (uint32_t indent=0)
 put it into a pretty string More...
 

Protected Attributes

char * data
 Pointer to data in memory. More...
 
bool master
 
unsigned long size
 Length of data. More...
 

Constructor & Destructor Documentation

MP4::Descriptor::Descriptor ( )
MP4::Descriptor::Descriptor ( const char *  pointer,
const unsigned long  length,
const bool  master = false 
)
MP4::Descriptor::Descriptor ( )
MP4::Descriptor::Descriptor ( const char *  pointer,
const unsigned long  length,
const bool  master = false 
)

Member Function Documentation

char * MP4::Descriptor::getData ( )

Returns pointer to start of internal data.

char* MP4::Descriptor::getData ( )

Returns pointer to start of internal data.

unsigned long MP4::Descriptor::getDataSize ( )

Get internal size of descriptor.

unsigned long MP4::Descriptor::getDataSize ( )

Get internal size of descriptor.

unsigned long MP4::Descriptor::getFullSize ( )

Get external size of descriptor.

unsigned long MP4::Descriptor::getFullSize ( )

Get external size of descriptor.

char MP4::Descriptor::getTag ( )

Get type of descriptor.

char MP4::Descriptor::getTag ( )

Get type of descriptor.

void MP4::Descriptor::resize ( unsigned long  t)

Resize descriptor.

void MP4::Descriptor::resize ( unsigned long  t)

Resize descriptor.

void MP4::Descriptor::setTag ( char  t)

Set type of descriptor.

void MP4::Descriptor::setTag ( char  t)

Set type of descriptor.

std::string MP4::Descriptor::toPrettyString ( uint32_t  indent = 0)

put it into a pretty string

std::string MP4::Descriptor::toPrettyString ( uint32_t  indent = 0)

put it into a pretty string

Field Documentation

char * MP4::Descriptor::data
protected

Pointer to data in memory.

bool MP4::Descriptor::master
protected
unsigned long MP4::Descriptor::size
protected

Length of data.


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