Loading...
Searching...
No Matches
Namespaces | Functions
stringUtils.hpp File Reference
#include <algorithm>
#include <array>
#include <functional>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include "stringUtils.tpp"
Include dependency graph for stringUtils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  bitpit::utils
 Namespace for generic utility functions.
 
namespace  bitpit::utils::string
 Namespace for string utility functions.
 

Functions

template<class T , size_t n>
void bitpit::utils::string::convertString (std::string input, std::array< T, n > &output)
 
template<class T >
void bitpit::utils::string::convertString (std::string input, std::vector< T > &output)
 
template<class T >
void bitpit::utils::string::convertString (std::string input, T &output)
 
bool bitpit::utils::string::getAfterKeyword (const std::string &line, const std::string &key, char del, std::string &result)
 
bool bitpit::utils::string::keywordInString (const std::string &line, const std::string &key)
 
std::string bitpit::utils::string::lfill (int nchars, const std::string &s, char c)
 
std::string & bitpit::utils::string::ltrim (std::string &s)
 
std::string bitpit::utils::string::rfill (int nchars, const std::string &s, char c)
 
std::string & bitpit::utils::string::rtrim (std::string &s)
 
std::string & bitpit::utils::string::trim (std::string &s)
 
std::string bitpit::utils::string::zeroPadNumber (int nchars, int num)
 
--- layout: doxygen_footer ---