#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 10 of file ScopedVector.h.
| typedef std::vector<T*>::const_iterator MosesTuning::ScopedVector< T >::const_iterator | 
Definition at line 14 of file ScopedVector.h.
| typedef std::vector<T*>::iterator MosesTuning::ScopedVector< T >::iterator | 
Definition at line 13 of file ScopedVector.h.
| MosesTuning::ScopedVector< T >::ScopedVector | ( | ) |  [inline] | 
        
Definition at line 16 of file ScopedVector.h.
| virtual MosesTuning::ScopedVector< T >::~ScopedVector | ( | ) |  [inline, virtual] | 
        
Definition at line 17 of file ScopedVector.h.
| const_iterator MosesTuning::ScopedVector< T >::begin | ( | ) |  const [inline] | 
        
Definition at line 50 of file ScopedVector.h.
| iterator MosesTuning::ScopedVector< T >::begin | ( | ) |  [inline] | 
        
Definition at line 47 of file ScopedVector.h.
Referenced by MosesTuning::InterpolatedScorer::calculateScore(), MosesTuning::InterpolatedScorer::getReferenceLength(), MosesTuning::InterpolatedScorer::NumberOfScores(), MosesTuning::InterpolatedScorer::score(), MosesTuning::InterpolatedScorer::setScoreData(), and MosesTuning::InterpolatedScorer::useAlignment().

| bool MosesTuning::ScopedVector< T >::empty | ( | ) |  const [inline] | 
        
Definition at line 21 of file ScopedVector.h.
| const_iterator MosesTuning::ScopedVector< T >::end | ( | ) |  const [inline] | 
        
Definition at line 57 of file ScopedVector.h.
| iterator MosesTuning::ScopedVector< T >::end | ( | ) |  [inline] | 
        
Definition at line 54 of file ScopedVector.h.
Referenced by MosesTuning::InterpolatedScorer::calculateScore(), MosesTuning::InterpolatedScorer::getReferenceLength(), MosesTuning::InterpolatedScorer::NumberOfScores(), MosesTuning::InterpolatedScorer::score(), MosesTuning::InterpolatedScorer::setScoreData(), and MosesTuning::InterpolatedScorer::useAlignment().

| const std::vector<T*>& MosesTuning::ScopedVector< T >::get | ( | ) |  const [inline] | 
        
Definition at line 64 of file ScopedVector.h.
| std::vector<T*>& MosesTuning::ScopedVector< T >::get | ( | ) |  [inline] | 
        
Definition at line 61 of file ScopedVector.h.
Referenced by MosesTuning::BleuScorer::GetReferences().

| const std::vector<T*>* MosesTuning::ScopedVector< T >::operator-> | ( | ) |  const [inline] | 
        
Definition at line 71 of file ScopedVector.h.
| std::vector<T*>* MosesTuning::ScopedVector< T >::operator-> | ( | ) |  [inline] | 
        
Definition at line 68 of file ScopedVector.h.
| const T* MosesTuning::ScopedVector< T >::operator[] | ( | std::size_t | i | ) |  const [inline] | 
        
Definition at line 78 of file ScopedVector.h.
| T*& MosesTuning::ScopedVector< T >::operator[] | ( | std::size_t | i | ) |  [inline] | 
        
Definition at line 75 of file ScopedVector.h.
| void MosesTuning::ScopedVector< T >::push_back | ( | T * | e | ) |  [inline] | 
        
Definition at line 25 of file ScopedVector.h.
Referenced by MosesTuning::InterpolatedScorer::setScoreData().

| void MosesTuning::ScopedVector< T >::reserve | ( | std::size_t | capacity | ) |  [inline] | 
        
Definition at line 36 of file ScopedVector.h.
| void MosesTuning::ScopedVector< T >::reset | ( | ) |  [inline] | 
        
Definition at line 29 of file ScopedVector.h.
Referenced by MosesTuning::ScopedVector< ScopedVector< Reference > >::~ScopedVector().

| void MosesTuning::ScopedVector< T >::resize | ( | std::size_t | size | ) |  [inline] | 
        
Definition at line 39 of file ScopedVector.h.
| std::size_t MosesTuning::ScopedVector< T >::size | ( | ) |  const [inline] | 
        
Definition at line 43 of file ScopedVector.h.
 1.5.9