CppEphem
|
Functions | |
template<typename T > | |
std::string | join (const std::vector< T > &values, const char &delim) |
Method for joining a vector of values based on some delimiter into a string. More... | |
std::string | join_angle (const std::vector< double > &values, const char &delim) |
Method for splitting a string based on some delimiter into a vector of strings. More... | |
std::vector< std::string > | split (const std::string &s, const char &delim) |
Method for splitting a string based on some delimiter into a vector of strings. More... | |
void | split (const std::string &s, const char &delim, std::vector< std::string > *elems) |
Method for splitting a string based on some delimiter into a vector of strings. More... | |
std::string CppEphem::StrOpt::join | ( | const std::vector< T > & | values, |
const char & | delim | ||
) |
Method for joining a vector of values based on some delimiter into a string.
[in] | values | Vector of values to be joined |
[in] | delim | Delimiter to use between values |
Definition at line 240 of file CENamespace.cpp.
std::string CppEphem::StrOpt::join_angle | ( | const std::vector< double > & | values, |
const char & | delim | ||
) |
Method for splitting a string based on some delimiter into a vector of strings.
Definition at line 267 of file CENamespace.cpp.
std::vector< std::string > CppEphem::StrOpt::split | ( | const std::string & | s, |
const char & | delim | ||
) |
Method for splitting a string based on some delimiter into a vector of strings.
Definition at line 224 of file CENamespace.cpp.
void CppEphem::StrOpt::split | ( | const std::string & | s, |
const char & | delim, | ||
std::vector< std::string > * | elems | ||
) |
Method for splitting a string based on some delimiter into a vector of strings.
[in] | s | |
[in] | delim | |
[out] | elems |
Definition at line 209 of file CENamespace.cpp.