#include "Internals.hpp"
#include "moab/Range.hpp"
#include "moab/Core.hpp"
#include <vector>
#include <algorithm>
Go to the source code of this file.
|
template<typename T > |
ErrorCode | step_iterator (T &curr, const T &end, int num_steps, bool &at_end) |
|
template<typename T > |
ErrorCode | step_iterator (typename std::vector< T >::const_iterator &curr, const typename std::vector< T >::const_iterator &end, int num_steps, bool &at_end) |
|
ErrorCode | step_iterator (Range::const_iterator &curr, const Range::const_iterator &end, int num_steps, bool &at_end) |
|
◆ IS_BUILDING_MB
◆ MBListIter
◆ MBRangeIter
◆ step_iterator() [1/3]
ErrorCode step_iterator |
( |
Range::const_iterator & |
curr, |
|
|
const Range::const_iterator & |
end, |
|
|
int |
num_steps, |
|
|
bool & |
at_end |
|
) |
| |
|
inline |
Definition at line 104 of file MBIter.hpp.
109 if( 0 > num_steps )
return MB_FAILURE;
111 at_end = ( end - curr <= num_steps );
References MB_SUCCESS.
◆ step_iterator() [2/3]
template<typename T >
ErrorCode step_iterator |
( |
T & |
curr, |
|
|
const T & |
end, |
|
|
int |
num_steps, |
|
|
bool & |
at_end |
|
) |
| |
|
inline |
◆ step_iterator() [3/3]
template<typename T >
ErrorCode step_iterator |
( |
typename std::vector< T >::const_iterator & |
curr, |
|
|
const typename std::vector< T >::const_iterator & |
end, |
|
|
int |
num_steps, |
|
|
bool & |
at_end |
|
) |
| |
|
inline |
Definition at line 87 of file MBIter.hpp.
92 if( 0 > num_steps )
return MB_FAILURE;
94 assert( curr <= end );
95 at_end = ( end - curr <= num_steps );
References MB_SUCCESS.