gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
#include <string.h>
#include <string>
#include <vector>
Go to the source code of this file.
Functions | |
void | SwapBytes (char *array, int size, int n) |
std::string | ExtractDoubleQuotedString (const char *str, int len) |
std::string | SanitizeTeXString (const char *in, int equation) |
std::string | FixWindowsPath (const std::string &in) |
std::string | FixRelativePath (const std::string &reference, const std::string &in) |
std::vector< std::string > | SplitFileName (const std::string &fileName) |
std::string | GetFileNameWithoutPath (const std::string &fileName) |
std::string | ConvertFileToString (const std::string &fileName) |
void | ReplaceSubStringInPlace (const std::string &olds, const std::string &news, std::string &str) |
std::string | ReplaceSubString (const std::string &olds, const std::string &news, const std::string &str) |
void | ConvertToHTML (std::string &in) |
bool | SplitOptionName (const std::string &fullName, std::string &category, std::string &name, int &index) |
std::vector< std::string > | SplitString (const std::string &msg, char separator, bool removeWhiteSpace=false) |
std::string | RemoveWhiteSpace (const std::string &s) |
bool | IsOnelabName (const std::string &name, std::string &cleanName) |
std::string ConvertFileToString | ( | const std::string & | fileName | ) |
Definition at line 119 of file StringUtils.cpp.
Referenced by initPView::operator()().
void ConvertToHTML | ( | std::string & | in | ) |
std::string ExtractDoubleQuotedString | ( | const char * | str, |
int | len | ||
) |
Definition at line 27 of file StringUtils.cpp.
Referenced by GModel::_readMSH2(), GModel::_readMSH3(), GModel::_readMSH4(), and PView::readMSH().
std::string FixRelativePath | ( | const std::string & | reference, |
const std::string & | in | ||
) |
Definition at line 77 of file StringUtils.cpp.
Referenced by drawContext::drawBackgroundImage(), drawContext::drawImage(), and ParseString().
std::string FixWindowsPath | ( | const std::string & | in | ) |
Definition at line 65 of file StringUtils.cpp.
std::string GetFileNameWithoutPath | ( | const std::string & | fileName | ) |
bool IsOnelabName | ( | const std::string & | name, |
std::string & | cleanName | ||
) |
Definition at line 225 of file StringUtils.cpp.
Referenced by GetOtherOption().
std::string RemoveWhiteSpace | ( | const std::string & | s | ) |
Definition at line 182 of file StringUtils.cpp.
Referenced by SplitString().
std::string ReplaceSubString | ( | const std::string & | olds, |
const std::string & | news, | ||
const std::string & | str | ||
) |
Definition at line 140 of file StringUtils.cpp.
Referenced by api(), and opt_general_build_info().
void ReplaceSubStringInPlace | ( | const std::string & | olds, |
const std::string & | news, | ||
std::string & | str | ||
) |
Definition at line 130 of file StringUtils.cpp.
Referenced by ConvertToHTML(), ReplaceSubString(), and scriptAddFieldOption().
std::string SanitizeTeXString | ( | const char * | in, |
int | equation | ||
) |
Definition at line 39 of file StringUtils.cpp.
Referenced by drawContext::drawString().
std::vector<std::string> SplitFileName | ( | const std::string & | fileName | ) |
Definition at line 93 of file StringUtils.cpp.
Referenced by addGmshPathToEnvironmentVar(), CreateOutputFile(), GMSH_BoundaryAnglesPlugin::execute(), FixRelativePath(), drawContext::generateTextureForImage(), GetDefaultFileName(), GetFileNameWithoutPath(), GuessFileFormatFromFileName(), HtmlFileName(), MergeFile(), print_pgf(), PluginManager::registerDefaultPlugins(), scriptAddCommand(), GModel::setFileName(), SystemCallExe(), TagFileName(), PView::write(), writeHTMLBody(), and PViewDataGModel::writeMSH().
bool SplitOptionName | ( | const std::string & | fullName, |
std::string & | category, | ||
std::string & | name, | ||
int & | index | ||
) |
Definition at line 156 of file StringUtils.cpp.
Referenced by GetOtherOption().
std::vector<std::string> SplitString | ( | const std::string & | msg, |
char | separator, | ||
bool | removeWhiteSpace = false |
||
) |
Definition at line 210 of file StringUtils.cpp.
Referenced by drawEntityLabel(), and opt_general_scripting_languages().
void SwapBytes | ( | char * | array, |
int | size, | ||
int | n | ||
) |
Definition at line 16 of file StringUtils.cpp.
Referenced by GModel::_readMSH2(), GModel::_readMSH3(), cVecRead(), dVecRead(), PViewDataGModel::readMSH(), readMSH4BoundingEntities(), readMSH4Elements(), readMSH4Entities(), readMSH4EntityInfo(), readMSH4GhostElements(), readMSH4Nodes(), readMSH4PeriodicNodes(), readMSH4Physicals(), GModel::readPLY(), GModel::readSTL(), GModel::readVTK(), MVertex::writeVTK(), MElement::writeVTK(), and GModel::writeVTK().