UFO
StringUtils.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2018-2019 UCAR
3  *
4  * This software is licensed under the terms of the Apache Licence Version 2.0
5  * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6  */
7 
8 #ifndef UFO_UTILS_STRINGUTILS_H_
9 #define UFO_UTILS_STRINGUTILS_H_
10 
11 #include <set>
12 #include <string>
13 
14 namespace ufo {
15  void splitVarGroup(const std::string &, std::string &, std::string &);
16  void splitInstSat(const std::string &, std::string &, std::string &);
17  bool isFloat(const std::string &);
18  bool readFloat(const std::string &, float &);
19 } // namespace ufo
20 
21 #endif // UFO_UTILS_STRINGUTILS_H_
Definition: RunCRTM.h:27
bool readFloat(const std::string &str, float &num)
Definition: StringUtils.cc:73
void splitInstSat(const std::string &instsat, std::string &inst, std::string &sat)
Definition: StringUtils.cc:51
void splitVarGroup(const std::string &vargrp, std::string &var, std::string &grp)
Definition: StringUtils.cc:27
bool isFloat(const std::string &str)
Definition: StringUtils.cc:64