Created by the British Broadcasting Corporation.
#include <arrays.h>
Range type encapsulating a closed range of values [first,last]. Used to initialies OneDArrays.
dirac::Range::Range | ( | int | s, |
int | e | ||
) | [inline] |
Constructor taking a start and an end point for the range.
int dirac::Range::First | ( | ) | const [inline] |
References m_fst.
Referenced by dirac::OneDArray< T >::Init().
int dirac::Range::Last | ( | ) | const [inline] |
References m_lst.
Referenced by dirac::OneDArray< T >::Init().
int dirac::Range::m_fst [private] |
Referenced by First().
int dirac::Range::m_lst [private] |
Referenced by Last().
© 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.