Public Member Functions

nsPageQueue Class Reference

#include <nsOggCodecState.h>

Inheritance diagram for nsPageQueue:
Collaboration diagram for nsPageQueue:

List of all members.

Public Member Functions

 nsPageQueue ()
 ~nsPageQueue ()
PRBool IsEmpty ()
void Append (ogg_page *aPage)
ogg_pagePopFront ()
 Remove and return the first item in the container.
ogg_pagePeekFront ()
 Return topmost item without removing it.
void Erase ()
 Remove and delete all items from container.

Constructor & Destructor Documentation

nsPageQueue::nsPageQueue (  )  [inline]
nsPageQueue::~nsPageQueue (  )  [inline]

Member Function Documentation

void nsPageQueue::Append ( ogg_page aPage  ) 
void nsPageQueue::Erase (  )  [inline]

Remove and delete all items from container.

Deletes are handled by the deallocator nsDequeFunctor which is specified at deque construction.

Returns:
*this

Reimplemented from nsDeque.

PRBool nsPageQueue::IsEmpty (  )  [inline]
ogg_page* nsPageQueue::PeekFront (  )  [inline]

Return topmost item without removing it.

Returns:
the first item in container

Reimplemented from nsDeque.

ogg_page* nsPageQueue::PopFront (  )  [inline]

Remove and return the first item in the container.

Returns:
the item that was first item in container

Reimplemented from nsDeque.


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