9 if (
comment.find_first_of(
'#') != 0) {
17 if (
div == std::string::npos) {
29 if (std::isfinite(
i) && std::isfinite(
j)) {
39 if (
comment.find_first_of(
'#') != 0) {
47 if (
div == std::string::npos) {
59 if (std::isfinite(
i) && std::isfinite(
j)) {
69 if (
comment.find_first_of(
'#') != 0) {
77 if (
div == std::string::npos) {
92 catch(
const std::exception&) {
101 if (
comment.find_first_of(
'#') != 0) {
109 if (
div == std::string::npos) {
117 type.replace(0, type.size(),
first);
119 name.replace(0, name.size(),
second);
126 if (
comment.find_first_of(
'#') != 0) {
134 label.replace(0, label.size(),
first);
bool parseRangeComment(const std::string &comment, double &from, double &to)
bool parseLabelComment(const std::string &comment, std::string &label)
bool parseTypeNameComment(const std::string &comment, std::string &type, std::string &name)
int32_t strtol(const char *num)
double_t atof(const char *num)
std::string trim(const std::string &s)