MeteoIODoc 20241222.207bde49
mio::iCSV::fieldsSection Struct Reference

Detailed Description

Stores Information on the FIELDS section of a iCSV file.

#include <iCSVHelper.h>

Public Member Functions

size_t getFieldIndex (const std::string &fieldname) const
 
std::vector< std::string > getOtherFields (const std::string &key)
 
std::map< std::string, std::vector< std::string > > toMap () const
 

Public Attributes

std::vector< std::string > fields = {}
 
std::vector< double > units_multipliers = {}
 
std::vector< double > units_offsets = {}
 
std::vector< std::string > units = {}
 
std::vector< std::string > long_name = {}
 
std::vector< std::string > standard_name = {}
 
std::map< std::string, std::vector< std::string > > other_fields = {}
 

Member Function Documentation

◆ getFieldIndex()

size_t mio::iCSV::fieldsSection::getFieldIndex ( const std::string &  fieldname) const
inline

◆ getOtherFields()

std::vector< std::string > mio::iCSV::fieldsSection::getOtherFields ( const std::string &  key)
inline

◆ toMap()

std::map< std::string, std::vector< std::string > > mio::iCSV::fieldsSection::toMap ( ) const
inline

Member Data Documentation

◆ fields

std::vector<std::string> mio::iCSV::fieldsSection::fields = {}

◆ long_name

std::vector<std::string> mio::iCSV::fieldsSection::long_name = {}

◆ other_fields

std::map<std::string, std::vector<std::string> > mio::iCSV::fieldsSection::other_fields = {}

◆ standard_name

std::vector<std::string> mio::iCSV::fieldsSection::standard_name = {}

◆ units

std::vector<std::string> mio::iCSV::fieldsSection::units = {}

◆ units_multipliers

std::vector<double> mio::iCSV::fieldsSection::units_multipliers = {}

◆ units_offsets

std::vector<double> mio::iCSV::fieldsSection::units_offsets = {}

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