|
TECA
The Toolkit for Extreme Climate Analysis
|
#include "teca_common.h"#include <cstdlib>#include <cstring>#include <cerrno>#include <string>#include <vector>#include <set>Go to the source code of this file.
Namespaces | |
| teca_string_util | |
| Codes for dealing with string processing. | |
Macros | |
| #define | DECLARE_SCANF_TT(_CPP_T, _FMT_STR) |
| #define | DECLARE_STR_CONVERSION_I(_CPP_T, _FUNC) |
| #define | DECLARE_STR_CONVERSION_F(_CPP_T, _FUNC) |
Functions | |
| int | teca_string_util::extract_string (const char *istr, std::string &field) |
| int | teca_string_util::tokenize (char *istr, char delim, int n_cols, char **ostr) |
| template<typename container_t = std::vector<char*>> | |
| int | teca_string_util::tokenize (char *istr, char delim, container_t &ostr) |
| int | teca_string_util::skip_pad (char *&buf) |
| int | teca_string_util::is_comment (char *buf) |
| return 0 if the first non-pad character is # More... | |
| template<typename val_t > | |
| int | teca_string_util::extract_value (char *l, val_t &val) |
| void | teca_string_util::remove_post_fix (std::set< std::string > &names, std::string post_fix) |
| std::string | teca_string_util::emptystr (const std::string &in) |
| When passed the string "" return empty string otherwise return the passed string. More... | |
| #define DECLARE_SCANF_TT | ( | _CPP_T, | |
| _FMT_STR | |||
| ) |
| #define DECLARE_STR_CONVERSION_F | ( | _CPP_T, | |
| _FUNC | |||
| ) |
| #define DECLARE_STR_CONVERSION_I | ( | _CPP_T, | |
| _FUNC | |||
| ) |