Alamo
Namespaces | Functions
String.H File Reference

Go to the source code of this file.

Namespaces

namespace  Util
 
namespace  Util::String
 

Functions

AMREX_FORCE_INLINE int Util::String::ReplaceAll (std::string &str, const std::string before, const std::string after)
 
AMREX_FORCE_INLINE int Util::String::ReplaceAll (std::string &str, const char before, const std::string after)
 
AMREX_FORCE_INLINE std::string Util::String::Wrap (std::string text, unsigned per_line)
 
AMREX_FORCE_INLINE std::string Util::String::Join (const std::vector< std::string > &vec, char separator='_')
 
AMREX_FORCE_INLINE std::string Util::String::Join (const Set::Vector &vec, char separator=' ')
 
AMREX_FORCE_INLINE std::string Util::String::Join (const Set::Matrix &vec, char separator=' ')
 
AMREX_FORCE_INLINE std::vector< std::string > Util::String::Split (std::string &str, const char delim=' ')
 
AMREX_FORCE_INLINE bool Util::String::Contains (std::string &str, const std::string find)
 
template<class T >
AMREX_FORCE_INLINE T Util::String::Parse (std::string)
 
template<>
AMREX_FORCE_INLINE std::complex< int > Util::String::Parse (std::string input)