byteman
1.3 (Build #225)
Bitstream relocation and manipulation tool
|
#include <cstdint>
#include <string>
#include <iomanip>
#include <sstream>
Go to the source code of this file.
Namespaces | |
str | |
str::parse | |
Functions | |
std::string | str::parse::allStringWords (std::string s) |
Parses a string s , removes all integers and returns the rest. More... | |
std::string | str::parse::allStringWordsWithoutLastStringWord (std::string s) |
Parses a string s , removes all integers and the last string word. Returns the rest. More... | |
bool | str::parse::arrayOfUints (std::string s, int arrsize, uint32_t *arr) |
Removes all string words from a given string s and returns the parsed arrsize number of integers into arr . More... | |
std::string | str::parse::lastStringWord (std::string s) |
Parses a string s , removes all integers and returns the last of all string words. More... | |
template<typename ... Args> | |
bool | str::parse::multipleInts (std::string s, Args &... args) |
Parses string s for integer values, that are returned into args . More... | |
template<typename ... Rest> | |
bool | str::parse::multipleInts (std::stringstream &ss) |
template<typename ... Rest> | |
bool | str::parse::multipleInts (std::stringstream &ss, int &x, Rest &... args) |
Parses stringstream ss for integer values, that are returned into x , args . More... | |
template<typename ... Args> | |
bool | str::parse::multipleUints (std::string s, Args &... args) |
Parses string s for uint32_t values, that are returned into args . More... | |
template<typename ... Rest> | |
bool | str::parse::multipleUints (std::stringstream &ss) |
template<typename ... Rest> | |
bool | str::parse::multipleUints (std::stringstream &ss, uint32_t &x, Rest &... args) |
Parses stringstream ss for uint32_t values, that are returned into x , args . More... | |
bool | str::parse::nthInteger (std::string s, int n, int &x) |
Parses a string s , returns the n-th integer. More... | |
std::string | str::parse::nthStringWord (std::string s, int n) |
Parses a string s , returns the n-th string word that is not an integer. More... | |