xbmc
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CHttpRanges Class Referencefinal

Public Member Functions

 CHttpRanges (const HttpRanges &httpRanges)
 
const HttpRanges & Get () const
 
bool Get (size_t index, CHttpRange &range) const
 
bool GetFirst (CHttpRange &range) const
 
bool GetLast (CHttpRange &range) const
 
size_t Size () const
 
bool IsEmpty () const
 
bool GetFirstPosition (uint64_t &position) const
 
bool GetLastPosition (uint64_t &position) const
 
uint64_t GetLength () const
 
bool GetTotalRange (CHttpRange &range) const
 
void Add (const CHttpRange &range)
 
void Remove (size_t index)
 
void Clear ()
 
HttpRanges::const_iterator Begin () const
 
HttpRanges::const_iterator End () const
 
bool Parse (const std::string &header)
 
bool Parse (const std::string &header, uint64_t totalLength)
 

Protected Member Functions

void SortAndCleanup ()
 

Protected Attributes

HttpRanges m_ranges
 

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