bes  Updated for version 3.20.10
functions::stare_matches Struct Reference

Hold the result from the subset helper function as a collection of vectors. More...

#include <StareFunctions.h>

Collaboration diagram for functions::stare_matches:
Collaboration graph

Public Member Functions

void add (libdap::dods_int32 row, libdap::dods_int32 col, STARE_ArrayIndexSpatialValue si, STARE_ArrayIndexSpatialValue ti)
 
 stare_matches (std::vector< libdap::dods_int32 > row, std::vector< libdap::dods_int32 > col, std::vector< STARE_ArrayIndexSpatialValue > si, std::vector< STARE_ArrayIndexSpatialValue > ti)
 

Public Attributes

std::vector< libdap::dods_int32 > col_indices
 
std::vector< libdap::dods_int32 > row_indices
 
std::vector< STARE_ArrayIndexSpatialValue > stare_indices
 
std::vector< STARE_ArrayIndexSpatialValue > target_indices
 

Friends

std::ostream & operator<< (std::ostream &out, const stare_matches &m)
 Write a collection of STARE Matches to an ostream. More...
 

Detailed Description

Hold the result from the subset helper function as a collection of vectors.

Definition at line 63 of file StareFunctions.h.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
const stare_matches m 
)
friend

Write a collection of STARE Matches to an ostream.

STARE matches is not a vector of stare_match objects. It's a self-contained collection of vectors that holds a collection of STARE matches in a way that can be dumped into libdap::Array instances easily and efficiently.

Parameters
outThe ostream
mThe STARE Matches
Returns
A reference to the ostream

Definition at line 90 of file StareFunctions.cc.


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