Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CHttpResponseRange Class Reference

#include <HttpRangeUtils.h>

Inheritance diagram for CHttpResponseRange:
CHttpRange

Public Member Functions

 CHttpResponseRange ()
 
 CHttpResponseRange (uint64_t firstPosition, uint64_t lastPosition)
 
 CHttpResponseRange (const void *data, uint64_t firstPosition, uint64_t lastPosition)
 
 CHttpResponseRange (const void *data, uint64_t length)
 
 ~CHttpResponseRange () override=default
 
bool operator== (const CHttpResponseRange &other) const
 
bool operator!= (const CHttpResponseRange &other) const
 
const voidGetData () const
 
void SetData (const void *data)
 
void SetData (const void *data, uint64_t length)
 
void SetData (const void *data, uint64_t firstPosition, uint64_t lastPosition)
 
bool IsValid () const override
 
- Public Member Functions inherited from CHttpRange
 CHttpRange ()=default
 
 CHttpRange (uint64_t firstPosition, uint64_t lastPosition)
 
virtual ~CHttpRange ()=default
 
bool operator< (const CHttpRange &other) const
 
bool operator== (const CHttpRange &other) const
 
bool operator!= (const CHttpRange &other) const
 
virtual uint64_t GetFirstPosition () const
 
virtual void SetFirstPosition (uint64_t firstPosition)
 
virtual uint64_t GetLastPosition () const
 
virtual void SetLastPosition (uint64_t lastPosition)
 
virtual uint64_t GetLength () const
 
virtual void SetLength (uint64_t length)
 

Protected Attributes

const voidm_data
 
- Protected Attributes inherited from CHttpRange
uint64_t m_first = 1
 
uint64_t m_last = 0
 

Constructor & Destructor Documentation

◆ CHttpResponseRange() [1/4]

CHttpResponseRange::CHttpResponseRange ( )

◆ CHttpResponseRange() [2/4]

CHttpResponseRange::CHttpResponseRange ( uint64_t firstPosition,
uint64_t lastPosition )

◆ CHttpResponseRange() [3/4]

CHttpResponseRange::CHttpResponseRange ( const void * data,
uint64_t firstPosition,
uint64_t lastPosition )

◆ CHttpResponseRange() [4/4]

CHttpResponseRange::CHttpResponseRange ( const void * data,
uint64_t length )

◆ ~CHttpResponseRange()

CHttpResponseRange::~CHttpResponseRange ( )
overridedefault

Member Function Documentation

◆ GetData()

const void * CHttpResponseRange::GetData ( ) const
inline

◆ IsValid()

bool CHttpResponseRange::IsValid ( ) const
overridevirtual

Reimplemented from CHttpRange.

◆ operator!=()

bool CHttpResponseRange::operator!= ( const CHttpResponseRange & other) const

◆ operator==()

bool CHttpResponseRange::operator== ( const CHttpResponseRange & other) const

◆ SetData() [1/3]

void CHttpResponseRange::SetData ( const void * data)
inline

◆ SetData() [2/3]

void CHttpResponseRange::SetData ( const void * data,
uint64_t firstPosition,
uint64_t lastPosition )

◆ SetData() [3/3]

void CHttpResponseRange::SetData ( const void * data,
uint64_t length )

Member Data Documentation

◆ m_data

const void* CHttpResponseRange::m_data
protected

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