Adobe Systems, Inc.

RandomAccess2DLocatorConcept< LOC > Struct Template Reference
[2-Dimensional Locator]

2-dimensional locator over immutable values More...

#include <gil_concept.hpp>

List of all members.


Public Member Functions

void constraints ()

Public Attributes

LOC loc

Detailed Description

template<typename LOC>
struct RandomAccess2DLocatorConcept< LOC >

template <typename LOC>
concept RandomAccess2DLocatorConcept : RandomAccessNDLocatorConcept<LOC> {
    where num_dimensions==2;
    where Point2DConcept<point_t>;
    
    typename x_iterator = axis<0>::iterator;
    typename y_iterator = axis<1>::iterator;
    typename x_coord_t  = axis<0>::coord_t;
    typename y_coord_t  = axis<1>::coord_t;
    
    x_iterator&       LOC::x();
    x_iterator const& LOC::x() const;    
    y_iterator&       LOC::y();
    y_iterator const& LOC::y() const;    
    
    x_iterator LOC::x_at(const difference_type&) const;
    y_iterator LOC::y_at(const difference_type&) const;
    LOC xy_at(const difference_type&) const;
    
    // x/y versions of all methods that can take difference type
    x_iterator x_at(x_coord_t, y_coord_t) const;
    y_iterator y_at(x_coord_t, y_coord_t) const;
    LOC xy_at(x_coord_t, y_coord_t) const;
    reference operator()(x_coord_t, y_coord_t) const;
    cached_location_t cache_location(x_coord_t, y_coord_t) const;
};

Definition at line 1118 of file gil_concept.hpp.

Copyright © 2006 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google