traits
Description
Traits class to inspect properties of a Raster
.
Example of use
Definition
<pronto/raster/traits.h> (open in Github)
Template parameters
|Parameter|Description|Default| |———-|——–|———| |Raster|The raster type of which to inspect properties|n.a.|
Model of
N.A.
Type requirements
|Parameter|Requires| |———-|——–|———| |Raster|Model of Raster concept. Model of Subbable concept depending on use|
Public base classes
N.A.
Members
The following traits are supported.
trait | corresponds to |
traits<Raster>::sub_raster |
decltype(r.sub_raster(int(), int(), int(),int()) |
traits<Raster>::iterator |
decltype(std::begin(r)) |
traits<Raster>::const_iterator |
decltype(std::cbegin(r)) |
traits<Raster>::value_type |
std::iterator_traits<traits |
traits<Raster>::reference |
std::iterator_traits<traits |
New Members
Notes
#include <pronto/raster/traits.h>
The traits struct is used to introspect properties of a Raster
. The following traits are supported.
traits<Raster>::iterator;
traits<Raster>::const_iterator;
traits<Raster>::value_type;
traits<Raster>::reference;
traits<Raster>::sub_raster;