Functions | |
std::vector< std::string > | Split (std::string str, char delim=',') |
Split a string into parts based on a particular character delimiter. Also Strips whitespace from parts. More... | |
std::string | Strip (std::string str) |
Strip the whitespace off the beginning and end of a string. More... | |
std::string | Combine (std::vector< std::string > strs, char delim=',') |
Combine a vector of strings with a specified delimiter. The opposite of Split. More... | |
std::string muq::Utilities::StringUtilities::Combine | ( | std::vector< std::string > | strs, |
char | delim = ',' |
||
) |
Combine a vector of strings with a specified delimiter. The opposite of Split.
Definition at line 31 of file StringUtilities.cpp.
Referenced by muq::Approximation::BasisExpansion::ToHDF5().
std::vector< std::string > muq::Utilities::StringUtilities::Split | ( | std::string | str, |
char | delim = ',' |
||
) |
Split a string into parts based on a particular character delimiter. Also Strips whitespace from parts.
Definition at line 5 of file StringUtilities.cpp.
References Strip().
Referenced by muq::Modeling::CwiseUnaryOperator< T1, T2, T3 >::CreateName(), muq::SamplingAlgorithms::DRKernel::CreateProposals(), muq::SamplingAlgorithms::DRKernel::CreateScales(), muq::SamplingAlgorithms::ParallelTempering::ExtractKernels(), muq::SamplingAlgorithms::ParallelTempering::ExtractTemps(), muq::Approximation::BasisExpansion::FromHDF5(), muq::SamplingAlgorithms::MixtureProposal::GetProposals(), and muq::SamplingAlgorithms::MixtureProposal::GetWeights().
std::string muq::Utilities::StringUtilities::Strip | ( | std::string | str | ) |
Strip the whitespace off the beginning and end of a string.
Definition at line 42 of file StringUtilities.cpp.
Referenced by Split().