Chombo + EB + MF  3.2
Public Types | Public Member Functions | Private Attributes | List of all members
CopyIterator Class Reference

#include <Copier.H>

Public Types

enum  local_from_to { LOCAL, FROM, TO }
 

Public Member Functions

 CopyIterator (const Copier &a_copier, local_from_to)
 
const MotionItemoperator() () const
 
const MotionItemoperator[] (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
 

Member Enumeration Documentation

◆ local_from_to

Enumerator
LOCAL 
FROM 
TO 

Constructor & Destructor Documentation

◆ CopyIterator()

CopyIterator::CopyIterator ( const Copier a_copier,
local_from_to  type 
)
inline

Member Function Documentation

◆ operator()()

const MotionItem & CopyIterator::operator() ( ) const
inline

◆ operator[]()

const MotionItem & CopyIterator::operator[] ( size_t  index) const
inline

References CH_assert, m_motionplanPtr, and size().

◆ operator++()

void CopyIterator::operator++ ( )
inline

References m_current.

◆ ok()

bool CopyIterator::ok ( ) const
inline

◆ reset()

void CopyIterator::reset ( )
inline

References m_current.

◆ size()

size_t CopyIterator::size ( )
inline

Member Data Documentation

◆ m_motionplanPtr

const Vector<MotionItem*>* CopyIterator::m_motionplanPtr
private

◆ m_current

unsigned int CopyIterator::m_current
private

Referenced by ok(), operator()(), operator++(), and reset().


The documentation for this class was generated from the following file: