Legion Runtime
 All Classes Namespaces Files Functions Variables Typedefs Macros Pages
Public Member Functions | List of all members
Legion::IndexIterator Class Reference

#include <legion.h>

Public Member Functions

 IndexIterator (const Domain &dom, ptr_t start=ptr_t())
 
 IndexIterator (Runtime *rt, Context ctx, IndexSpace space, ptr_t start=ptr_t())
 
 IndexIterator (Runtime *rt, Context ctx, LogicalRegion lr, ptr_t start=ptr_t())
 
 IndexIterator (Runtime *rt, IndexSpace space, ptr_t start=ptr_t())
 
 IndexIterator (const IndexIterator &rhs)
 
bool has_next (void) const
 
ptr_t next (void)
 
ptr_t next_span (size_t &act_count, size_t req_count=(size_t)-1LL)
 
IndexIteratoroperator= (const IndexIterator &rhs)
 

Detailed Description

Deprecated:
This is a helper class for iterating over the points within an index space or the index space of a given logical region. It should never be copied and will assert fail if a copy is made of it.

Member Function Documentation

bool Legion::IndexIterator::has_next ( void  ) const
inline

Check to see if the iterator has a next point

ptr_t Legion::IndexIterator::next ( void  )
inline

Get the current point in the iterator. Advances the iterator to the next point.

ptr_t Legion::IndexIterator::next_span ( size_t &  act_count,
size_t  req_count = (size_t)-1LL 
)
inline

Get the current point in the iterator and up to 'req_count' additional points in the index space. Returns the actual count of contiguous points in 'act_count'.


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