#include <ChartTrellisPathList.h>
Public Types | |
typedef CollType::iterator | iterator |
typedef CollType::const_iterator | const_iterator |
Public Member Functions | |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
void | clear () |
virtual | ~ChartTrellisPathList () |
std::size_t | GetSize () const |
void | Add (boost::shared_ptr< const ChartTrellisPath > trellisPath) |
add a new entry into collection | |
Protected Types | |
typedef std::vector < boost::shared_ptr< const ChartTrellisPath > > | CollType |
Protected Attributes | |
CollType | m_collection |
Definition at line 32 of file ChartTrellisPathList.h.
typedef std::vector<boost::shared_ptr<const ChartTrellisPath> > Moses::ChartTrellisPathList::CollType [protected] |
Definition at line 35 of file ChartTrellisPathList.h.
typedef CollType::const_iterator Moses::ChartTrellisPathList::const_iterator |
Definition at line 41 of file ChartTrellisPathList.h.
typedef CollType::iterator Moses::ChartTrellisPathList::iterator |
Definition at line 40 of file ChartTrellisPathList.h.
virtual Moses::ChartTrellisPathList::~ChartTrellisPathList | ( | ) | [inline, virtual] |
Definition at line 59 of file ChartTrellisPathList.h.
void Moses::ChartTrellisPathList::Add | ( | boost::shared_ptr< const ChartTrellisPath > | trellisPath | ) | [inline] |
add a new entry into collection
Definition at line 66 of file ChartTrellisPathList.h.
References m_collection.
Referenced by Moses::ChartManager::CalcNBest().
const_iterator Moses::ChartTrellisPathList::begin | ( | ) | const [inline] |
iterator Moses::ChartTrellisPathList::begin | ( | ) | [inline] |
Definition at line 43 of file ChartTrellisPathList.h.
References m_collection.
Referenced by MosesChartCmd::IOWrapper::OutputNBestList().
void Moses::ChartTrellisPathList::clear | ( | ) | [inline] |
const_iterator Moses::ChartTrellisPathList::end | ( | ) | const [inline] |
iterator Moses::ChartTrellisPathList::end | ( | ) | [inline] |
Definition at line 46 of file ChartTrellisPathList.h.
References m_collection.
Referenced by MosesChartCmd::IOWrapper::OutputNBestList().
std::size_t Moses::ChartTrellisPathList::GetSize | ( | ) | const [inline] |
Definition at line 61 of file ChartTrellisPathList.h.
References m_collection.
Referenced by Moses::ChartManager::CalcNBest().
CollType Moses::ChartTrellisPathList::m_collection [protected] |