Static Public Member Functions | List of all members
f2c::Parser Class Reference

Class to parse files of the OGC Standards to our custom format. More...

#include <parser.h>

Static Public Member Functions

static F2CCell importCellJson (const std::string &file)
 
static F2CField importFieldGml (const std::string &file, bool fail_silently=false)
 
static void importGml (const std::string &file, F2CFields &fields)
 
static int importJson (const std::string &file, F2CFields &fields)
 
static F2CStrips importStripsJson (const std::string &file)
 
static F2CSwaths importSwathsJson (const std::string &file)
 

Detailed Description

Class to parse files of the OGC Standards to our custom format.

Definition at line 20 of file parser.h.

Member Function Documentation

◆ importCellJson()

F2CCell f2c::Parser::importCellJson ( const std::string &  file)
static

Definition at line 119 of file parser.cpp.

◆ importFieldGml()

F2CField f2c::Parser::importFieldGml ( const std::string &  file,
bool  fail_silently = false 
)
static

Definition at line 21 of file parser.cpp.

◆ importGml()

void f2c::Parser::importGml ( const std::string &  file,
F2CFields fields 
)
static

Function to import file with gml extension.

Parameters
filePath to the imported file.
fieldsSet of fields saved on _file.

Definition at line 17 of file parser.cpp.

◆ importJson()

int f2c::Parser::importJson ( const std::string &  file,
F2CFields fields 
)
static

Function to import file with Json extension.

Parameters
filePath to the imported file.
fieldsSet of fields saved on _file.
Returns
return 0 if the file was parsed correctly. Otherwise, return a negative number.

Definition at line 107 of file parser.cpp.

◆ importStripsJson()

F2CStrips f2c::Parser::importStripsJson ( const std::string &  file)
static

Definition at line 141 of file parser.cpp.

◆ importSwathsJson()

F2CSwaths f2c::Parser::importSwathsJson ( const std::string &  file)
static

Definition at line 125 of file parser.cpp.


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


fields2cover
Author(s):
autogenerated on Fri Apr 25 2025 02:18:31