Jpp 19.3.0
the software that should make you happy
|
#include "parser.h"
#include <exception>
#include <sstream>
#include <boost/algorithm/string.hpp>
#include <iostream>
Go to the source code of this file.
Functions | |
template<typename T > | |
std::optional< Waveform< T > > | parseWaveformSamples (const std::string &adf_waveform_line) |
template std::optional< Waveform< float > > | parseWaveformSamples (const std::string &adf_waveform_line) |
std::optional< DOMConfig > | parseDOMConfiguration (const std::string &dom_configuration_line) |
Parse a line that should contain the ADF configuration for a single DOM. | |
template std::optional< Waveform< double > > parseWaveformSamples | ( | const std::string & | adf_waveform_line | ) |
Definition at line 46 of file parser.cc.
template std::optional< Waveform< float > > parseWaveformSamples | ( | const std::string & | adf_waveform_line | ) |
std::optional< DOMConfig > parseDOMConfiguration | ( | const std::string & | dom_configuration_line | ) |
Parse a line that should contain the ADF configuration for a single DOM.
line | the DOM configuration for a single DOM, which should be of the form : |
DOMID N id_0 threshold_0 ... id_(N-1) threshold_(N-1) debug_write
where N is the number of (id,threshold) pairs to be found on the line (id = probe id, threshold = where to cut the signal)
write_to_debug_flag is an integer that indicate (if non zero) to write the acoustic data from this DOM should be written to a debug file
Definition at line 102 of file parser.cc.