bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
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.
 

Detailed Description

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

Definition at line 129 of file StareFunctions.h.

Constructor & Destructor Documentation

◆ stare_matches()

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

Definition at line 137 of file StareFunctions.h.

Member Function Documentation

◆ add()

void functions::stare_matches::add ( libdap::dods_int32 row,
libdap::dods_int32 col,
STARE_ArrayIndexSpatialValue si,
STARE_ArrayIndexSpatialValue ti )
inline

Definition at line 144 of file StareFunctions.h.

Friends And Related Symbol 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 87 of file StareFunctions.cc.

Member Data Documentation

◆ col_indices

std::vector<libdap::dods_int32> functions::stare_matches::col_indices

Definition at line 131 of file StareFunctions.h.

◆ row_indices

std::vector<libdap::dods_int32> functions::stare_matches::row_indices

Definition at line 130 of file StareFunctions.h.

◆ stare_indices

std::vector<STARE_ArrayIndexSpatialValue> functions::stare_matches::stare_indices

Definition at line 133 of file StareFunctions.h.

◆ target_indices

std::vector<STARE_ArrayIndexSpatialValue> functions::stare_matches::target_indices

Definition at line 134 of file StareFunctions.h.


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