bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
functions::StareCountFunction Class Reference
Inheritance diagram for functions::StareCountFunction:
Inheritance graph
Collaboration diagram for functions::StareCountFunction:
Collaboration graph

Static Public Member Functions

static libdap::BaseType * stare_count_dap4_function (libdap::D4RValueList *args, libdap::DMR &dmr)
 Count the number of STARE indices in the arg that overlap the indices of this dataset.
 

Friends

class StareFunctionsTest
 

Detailed Description

Definition at line 179 of file StareFunctions.h.

Constructor & Destructor Documentation

◆ StareCountFunction()

functions::StareCountFunction::StareCountFunction ( )
inline

Definition at line 185 of file StareFunctions.h.

Member Function Documentation

◆ stare_count_dap4_function()

BaseType * functions::StareCountFunction::stare_count_dap4_function ( libdap::D4RValueList * args,
libdap::DMR & dmr )
static

Count the number of STARE indices in the arg that overlap the indices of this dataset.

This function counts the number of 'target' indices (those that are passed into the function) that are contained (oe which contain) the SARE indices of the dataset.

In a URL, this will look like: stare_count($UInt64(4 : 3440016633681149966, ...))

Note
Hyrax also supports POST for data access requests so that very long lists of function arguments may be passed into function like this one. Also note that the notation '$UInt64(<n>:<value 0>,<value 1>,...

)' can be written '$UInt64(0:<value 0>,<value 1>,...

)' with only minor performance cost.

Parameters
argsA single vector of Unsigned 64-bit integer STARE Indices.
dmrThe DMR for the given dataset. The dataset name is read from this object.
Returns
The number of indices given that also appear in the dataset, as a DAP Int32 value

Definition at line 317 of file StareFunctions.cc.

Friends And Related Symbol Documentation

◆ StareFunctionsTest

friend class StareFunctionsTest
friend

Definition at line 183 of file StareFunctions.h.


The documentation for this class was generated from the following files: