Follow this link to skip to the main content

2d_array_iterator.h File Reference

#include "claraty/share.h"
#include <stddef.h>
#include <iterator>

Include dependency graph for 2d_array_iterator.h:

Go to the source code of this file.

Namespaces

namespace  claraty

Classes

class  claraty::N_2D_Array_Iterator< T >
class  claraty::N_2D_Array_const_Iterator< T >


Detailed Description

This header provides iterator and const_iterator classes for the Array_2D hierarchy. These classes have to exist to support subarrays. They're heavier than simply using pointers, but allow one to use Array_2D's without caring whether or not the underlying memory is contiguous (i.e. without worrying about subarrays).

The constructors are private; these can only be built by Array_2D's themselves (and copied from other iterators) -- this is so that we can change the implementation without messing everyone up.


Designer(s): Clay Kunz
Author(s): Clay Kunz
Date: January 9, 2002

Software License:
http://claraty.jpl.nasa.gov/license/open_src/ or file: license/open_src.txt

© 2006, Jet Propulsion Laboratory, California Institute of Technology
© 2006, NASA Ames Research Center

Revision
1.4

Definition in file 2d_array_iterator.h.