#include <ScopedVector.h>
Public Types | |
typedef std::vector< T * > ::iterator | iterator |
typedef std::vector< T * > ::const_iterator | const_iterator |
Public Member Functions | |
ScopedVector () | |
virtual | ~ScopedVector () |
bool | empty () const |
void | push_back (T *e) |
void | reset () |
void | reserve (std::size_t capacity) |
void | resize (std::size_t size) |
std::size_t | size () const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
std::vector< T * > & | get () |
const std::vector< T * > & | get () const |
std::vector< T * > * | operator-> () |
const std::vector< T * > * | operator-> () const |
T *& | operator[] (std::size_t i) |
const T * | operator[] (std::size_t i) const |
Definition at line 7 of file ScopedVector.h.
typedef std::vector<T*>::const_iterator ScopedVector< T >::const_iterator |
Definition at line 10 of file ScopedVector.h.
typedef std::vector<T*>::iterator ScopedVector< T >::iterator |
Definition at line 9 of file ScopedVector.h.
ScopedVector< T >::ScopedVector | ( | ) | [inline] |
Definition at line 12 of file ScopedVector.h.
virtual ScopedVector< T >::~ScopedVector | ( | ) | [inline, virtual] |
Definition at line 13 of file ScopedVector.h.
const_iterator ScopedVector< T >::begin | ( | ) | const [inline] |
Definition at line 32 of file ScopedVector.h.
iterator ScopedVector< T >::begin | ( | ) | [inline] |
Definition at line 31 of file ScopedVector.h.
Referenced by InterpolatedScorer::NumberOfScores(), InterpolatedScorer::score(), and InterpolatedScorer::setScoreData().
bool ScopedVector< T >::empty | ( | ) | const [inline] |
Definition at line 15 of file ScopedVector.h.
const_iterator ScopedVector< T >::end | ( | ) | const [inline] |
Definition at line 35 of file ScopedVector.h.
iterator ScopedVector< T >::end | ( | ) | [inline] |
Definition at line 34 of file ScopedVector.h.
Referenced by InterpolatedScorer::NumberOfScores(), InterpolatedScorer::score(), and InterpolatedScorer::setScoreData().
const std::vector<T*>& ScopedVector< T >::get | ( | ) | const [inline] |
Definition at line 38 of file ScopedVector.h.
std::vector<T*>& ScopedVector< T >::get | ( | ) | [inline] |
Definition at line 37 of file ScopedVector.h.
Referenced by BleuScorer::GetReferences().
const std::vector<T*>* ScopedVector< T >::operator-> | ( | ) | const [inline] |
Definition at line 41 of file ScopedVector.h.
std::vector<T*>* ScopedVector< T >::operator-> | ( | ) | [inline] |
Definition at line 40 of file ScopedVector.h.
const T* ScopedVector< T >::operator[] | ( | std::size_t | i | ) | const [inline] |
Definition at line 44 of file ScopedVector.h.
T*& ScopedVector< T >::operator[] | ( | std::size_t | i | ) | [inline] |
Definition at line 43 of file ScopedVector.h.
void ScopedVector< T >::push_back | ( | T * | e | ) | [inline] |
Definition at line 17 of file ScopedVector.h.
Referenced by InterpolatedScorer::setScoreData().
void ScopedVector< T >::reserve | ( | std::size_t | capacity | ) | [inline] |
Definition at line 26 of file ScopedVector.h.
void ScopedVector< T >::reset | ( | ) | [inline] |
Definition at line 19 of file ScopedVector.h.
Referenced by ScopedVector< Reference >::~ScopedVector().
void ScopedVector< T >::resize | ( | std::size_t | size | ) | [inline] |
Definition at line 27 of file ScopedVector.h.
std::size_t ScopedVector< T >::size | ( | ) | const [inline] |
Definition at line 29 of file ScopedVector.h.