#include <Copier.H>
Public Types | |
enum | local_from_to { LOCAL, FROM, TO } |
Public Member Functions | |
CopyIterator (const Copier &a_copier, local_from_to) | |
const MotionItem & | operator() () const |
const MotionItem & | operator[] (size_t index) const |
void | operator++ () |
bool | ok () const |
void | reset () |
size_t | size () |
Private Attributes | |
const Vector< MotionItem * > * | m_motionplanPtr |
unsigned int | m_current |
CopyIterator::CopyIterator | ( | const Copier & | a_copier, | |
local_from_to | type | |||
) | [inline] |
References MayDay::Error(), FROM, LOCAL, Copier::m_fromMotionPlan, Copier::m_localMotionPlan, m_motionplanPtr, Copier::m_toMotionPlan, and TO.
const MotionItem & CopyIterator::operator() | ( | ) | const [inline] |
References CH_assert, m_current, m_motionplanPtr, and size().
const MotionItem & CopyIterator::operator[] | ( | size_t | index | ) | const [inline] |
References CH_assert, m_motionplanPtr, and size().
void CopyIterator::operator++ | ( | ) | [inline] |
References m_current.
bool CopyIterator::ok | ( | ) | const [inline] |
References m_current, m_motionplanPtr, and Vector< T >::size().
void CopyIterator::reset | ( | ) | [inline] |
References m_current.
size_t CopyIterator::size | ( | ) | [inline] |
const Vector<MotionItem*>* CopyIterator::m_motionplanPtr [private] |
Referenced by CopyIterator(), ok(), operator()(), and operator[]().
unsigned int CopyIterator::m_current [private] |
Referenced by ok(), operator()(), operator++(), and reset().