byteman
1.3 (Build #225)
Bitstream relocation and manipulation tool
|
Namespaces | |
iff | |
parse | |
Functions | |
void | findAndReplace (std::string &str, std::string toFind, std::string toReplaceWith) |
std::string | findStringAndGetAllAfter (std::string checkedString, std::string searchString) |
Finds string searchString inside checkedString and returns all to the right inside checkedString . If can't be found, returns empty string. More... | |
std::string | removeExternalQuotes (std::string str) |
Removes double quotes from start and end of string str and returns the resulting string. More... | |
std::string | removeSpaces (std::string str) |
Removes all space chars of str returns the resulting string. More... | |
std::string | replace (std::string str, char oldChar, char newChar) |
Replaces all instances of oldChar in string str with newChar and returns the resulting string. More... | |
std::string | stringToLower (std::string str) |
Replaces all uppercase characters in str with lowercase and returns the resulting string. More... | |
std::string | stringToUpper (std::string str) |
Replaces all lowercase characters in str with uppercase and returns the resulting string. More... | |
The str::iff:: namespace holds some custom and/or shorter functions for string conditionals (searching/matching).
The str::parse:: namespace holds some custom and/or shorter functions for string parsing.
The str:: namespace holds some custom and/or shorter functions including string string parsing and string manipulation.
|
inline |
|
inline |
Finds string searchString
inside checkedString
and returns all to the right inside checkedString
. If can't be found, returns empty string.
Definition at line 33 of file str.h.
Referenced by byteman::parse().
|
inline |
Removes double quotes from start and end of string str
and returns the resulting string.
|
inline |
Removes all space chars of str
returns the resulting string.
Definition at line 47 of file str.h.
Referenced by XilinxSeries7::getDeviceByName(), XilinxUltraScale::getDeviceByName(), and XilinxUltraScalePlus::getDeviceByName().
|
inline |
Replaces all instances of oldChar
in string str
with newChar
and returns the resulting string.
Definition at line 41 of file str.h.
Referenced by XilinxSeries7::assemblerAsmTo(), XilinxUltraScale::assemblerAsmTo(), XilinxUltraScalePlus::assemblerAsmTo(), byteman::parse(), parseParams(), and byteman::parseParamsAndRemoveThemFromString().
|
inline |
Replaces all uppercase characters in str
with lowercase and returns the resulting string.
Definition at line 59 of file str.h.
Referenced by XilinxSeries7::getDeviceByName(), XilinxUltraScale::getDeviceByName(), XilinxUltraScalePlus::getDeviceByName(), byteman::parse(), byteman::parseTest(), and byteman::setArchitecture().