25#ifndef __NUMBER_OF_PEAKS_H__
26#define __NUMBER_OF_PEAKS_H__
32#include "boost/type_traits/remove_cv.hpp"
33#include "boost/variant/get.hpp"
34#include "boost/variant/variant.hpp"
35#include "boost/smart_ptr.hpp"
43 static const std::string
name;
46 if (args.size() != 1) {
48 "numberOfPeaks expects 1 arguments, " + std::to_string(args.size()) +
" given");
56 std::size_t nPeaks = 0;
59 sim_peaks->parseFile();
60 nPeaks = sim_peaks->getNumberOfPeaks();
67 return boost::make_tuple(nPeaks, is_valid);
Inform & endl(Inform &inf)
boost::tuple< double, bool > Result_t
std::vector< argument_t > arguments_t
static const std::string name
Expressions::Result_t operator()(client::function::arguments_t args)
boost::tuple< std::string > argument_types
std::string sim_filename_
virtual const char * what() const