OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ComputeAgg< RasterAggType::COUNT > Struct Template Reference

#include <GeoRasterTableFunctions.hpp>

Public Member Functions

template<typename Z , typename Z2 >
void operator() (const Z2 &input_z, Z &output_z, const Z2 input_sentinel) const
 

Detailed Description

template<>
struct ComputeAgg< RasterAggType::COUNT >

Definition at line 45 of file GeoRasterTableFunctions.hpp.

Member Function Documentation

template<typename Z , typename Z2 >
void ComputeAgg< RasterAggType::COUNT >::operator() ( const Z2 &  input_z,
Z &  output_z,
const Z2  input_sentinel 
) const
inline

Definition at line 47 of file GeoRasterTableFunctions.hpp.

47  {
48  if (input_z != input_sentinel) {
49  output_z = output_z == std::numeric_limits<Z>::lowest() ? 1 : output_z + 1;
50  }
51  }

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