NGen
Loading...
Searching...
No Matches
utils::FeatureDescriptor Struct Reference

One feature's output schema, supplied to a manager at construction. More...

#include <CatchmentOutputsMgr.hpp>

+ Collaboration diagram for utils::FeatureDescriptor:

Public Member Functions

 FeatureDescriptor (std::string formulation_id, std::string catchment_id, std::vector< OutputField > fields)
 
 FeatureDescriptor (std::string catchment_id, std::vector< OutputField > fields)
 Register under the default formulation id (single-formulation case).
 

Public Attributes

std::string formulation_id
 
std::string catchment_id
 
std::vector< OutputFieldfields
 output fields, in the order values are supplied
 

Detailed Description

One feature's output schema, supplied to a manager at construction.

A backend uses the full set of these to lay out its sink before any data arrives (e.g. open files and write their headers). One per (formulation, feature).

Constructor & Destructor Documentation

◆ FeatureDescriptor() [1/2]

utils::FeatureDescriptor::FeatureDescriptor ( std::string formulation_id,
std::string catchment_id,
std::vector< OutputField > fields )
inline

◆ FeatureDescriptor() [2/2]

utils::FeatureDescriptor::FeatureDescriptor ( std::string catchment_id,
std::vector< OutputField > fields )
inline

Register under the default formulation id (single-formulation case).

Member Data Documentation

◆ catchment_id

std::string utils::FeatureDescriptor::catchment_id

◆ fields

std::vector<OutputField> utils::FeatureDescriptor::fields

output fields, in the order values are supplied

Referenced by utils::CatchmentCsvOutputMgr::add_feature().

◆ formulation_id

std::string utils::FeatureDescriptor::formulation_id

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