Dirac - A Video Codec

Created by the British Broadcasting Corporation.


dirac::Range Class Reference

Range type. More...

#include <arrays.h>

Public Member Functions

 Range (int s, int e)
 Constructor.
int First () const
 Returns the start of the range.
int Last () const
 Returns the end point of the range.

Private Attributes

int m_fst
int m_lst

Detailed Description

Range type encapsulating a closed range of values [first,last]. Used to initialies OneDArrays.

Constructor & Destructor Documentation

◆ Range()

dirac::Range::Range ( int s,
int e )
inline

Constructor taking a start and an end point for the range.

References m_fst, and m_lst.

Member Function Documentation

◆ First()

int dirac::Range::First ( ) const
inline

References m_fst.

Referenced by dirac::OneDArray< T >::Init().

◆ Last()

int dirac::Range::Last ( ) const
inline

References m_lst.

Referenced by dirac::OneDArray< T >::Init().

Member Data Documentation

◆ m_fst

int dirac::Range::m_fst
private

Referenced by First(), and Range().

◆ m_lst

int dirac::Range::m_lst
private

Referenced by Last(), and Range().


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

© 2004 British Broadcasting Corporation. Dirac code licensed under the Mozilla Public License (MPL) Version 1.1.
HTML documentation generated by Dimitri van Heesch's excellent Doxygen tool.