|
Doxygen
|
Functions | |
| int | system (const QCString &command, const QCString &args, bool commandHasConsole=true) |
| uint32_t | pid () |
| QCString | getenv (const QCString &variable) |
| void | setenv (const QCString &variable, const QCString &value) |
| void | unsetenv (const QCString &variable) |
| FILE * | fopen (const QCString &fileName, const QCString &mode) |
| int | fclose (FILE *f) |
| void | unlink (const QCString &fileName) |
| QCString | pathSeparator () |
| QCString | pathListSeparator () |
| const char * | ghostScriptCommand () |
| const char * | commandExtension () |
| bool | fileSystemIsCaseSensitive () |
| FILE * | popen (const QCString &name, const QCString &type) |
| int | pclose (FILE *stream) |
| double | getSysElapsedTime () |
| bool | isAbsolutePath (const QCString &fileName) |
| void | correctPath (const StringVector &list) |
| Correct a possible wrong PATH variable. | |
| void | setShortDir () |
| const char * | strnstr (const char *haystack, const char *needle, size_t haystack_len) |
| const char * | devNull () |
| bool | checkForExecutable (const QCString &fileName) |
| size_t | recodeUtf8StringToW (const QCString &inputStr, uint16_t **buf) |
| std::ofstream | openOutputStream (const QCString &name, bool append=false) |
| std::ifstream | openInputStream (const QCString &name, bool binary=false, bool openAtEnd=false) |
| bool Portable::checkForExecutable | ( | const QCString & | fileName | ) |
Definition at line 423 of file portable.cpp.
References ExistsOnPath().
Referenced by generateFormula().
| const char * Portable::commandExtension | ( | ) |
Definition at line 461 of file portable.cpp.
Referenced by computeVerifiedDotPath(), and writeDiaGraphFromFile().
| void Portable::correctPath | ( | const StringVector & | extraPaths | ) |
Correct a possible wrong PATH variable.
This routine was inspired by the cause for bug 766059 was that in the Windows path there were forward slashes.
Definition at line 516 of file portable.cpp.
References QCString::data(), getenv(), QCString::isEmpty(), setenv(), and substitute().
Referenced by parseInput().
| const char * Portable::devNull | ( | ) |
Definition at line 614 of file portable.cpp.
Referenced by createDVIFile(), createSVGFromPDFviaInkscape(), and determineInkscapeVersion().
| int Portable::fclose | ( | FILE * | f | ) |
Definition at line 369 of file portable.cpp.
Referenced by OutputGenerator::endPlainFile(), finishWarnExit(), and initWarningFormat().
| bool Portable::fileSystemIsCaseSensitive | ( | ) |
Definition at line 470 of file portable.cpp.
Referenced by findFileDef(), getCaseSenseNames(), and getFilterFromList().
Definition at line 349 of file portable.cpp.
References QCString::data(), and recodeUtf8StringToW().
Referenced by checkPngResult(), FilterCache::getFileContentsPipe(), initWarningFormat(), DotRunner::run(), and OutputGenerator::startPlainFile().
Definition at line 321 of file portable.cpp.
References QCString::data(), environmentLoaded, loadEnvironment(), proc_env, and QCString::str().
Referenced by correctPath(), ExistsOnPath(), getCurrentDateTime(), initDoxygen(), parseInput(), setDotFontPath(), and substEnvVarsInString().
| double Portable::getSysElapsedTime | ( | ) |
Definition at line 97 of file portable.cpp.
References SysTimeKeeper::elapsedTime(), and SysTimeKeeper::instance().
Referenced by generateOutput().
| const char * Portable::ghostScriptCommand | ( | ) |
Definition at line 437 of file portable.cpp.
References ExistsOnPath().
Referenced by createCroppedEPS(), createCroppedPDF(), createEPSbboxFile(), createPNG(), and writeMakeBat().
| bool Portable::isAbsolutePath | ( | const QCString & | fileName | ) |
Definition at line 497 of file portable.cpp.
References QCString::data(), and QCString::length().
Referenced by findFile(), generateOutput(), Markdown::Private::processLink(), and readTextFileByName().
| std::ifstream Portable::openInputStream | ( | const QCString & | name, |
| bool | binary = false, | ||
| bool | openAtEnd = false ) |
Definition at line 659 of file portable.cpp.
References QCString::str().
Referenced by convertMapFile(), DotFilePatcher::convertMapFile(), determineInkscapeVersion(), finishWarnExit(), CitationManager::generatePage(), FormulaManager::initFromRepository(), CitationManager::insertCrossReferencesForBibFile(), Htags::loadFilemap(), preProcessFile(), DotRunner::readBoundingBox(), FilterCache::readFragmentFromFile(), readInputFile(), readSVGSize(), resetPDFSize(), DotFilePatcher::run(), sameMd5Signature(), testRTFOutput(), and updateEPSBoundingBox().
| std::ofstream Portable::openOutputStream | ( | const QCString & | name, |
| bool | append = false ) |
Definition at line 648 of file portable.cpp.
References QCString::str().
Referenced by Qhp::addContentsItem(), ResourceMgr::copyResourceAs(), FormulaManager::createFormulasTexFile(), FormulaManager::createLatexFile(), PerlModGenerator::createOutputFile(), HtmlHelp::Private::createProjectFile(), dumpSymbolMap(), EclipseHelp::finalize(), generateDEF(), generateJSNavTree(), generateJSTreeFiles(), CitationManager::generatePage(), generateXML(), generateXMLForClass(), generateXMLForConcept(), generateXMLForDir(), generateXMLForFile(), generateXMLForGroup(), generateXMLForModule(), generateXMLForNamespace(), generateXMLForPage(), generateXMLForRequirement(), generateXMLForRequirements(), HtmlGenerator::init(), Crawlmap::initialize(), DocSets::initialize(), EclipseHelp::initialize(), HtmlHelp::initialize(), Qhp::initialize(), Sitemap::initialize(), openOutputFile(), DotGraph::prepareDotFile(), RTFGenerator::preProcessFileInplace(), resetPDFSize(), DotFilePatcher::run(), runPlantumlContent(), ManGenerator::startDoxyAnchor(), updateEPSBoundingBox(), SearchIndex::write(), SearchIndexExternal::write(), ResourceMgr::writeCategory(), writeCombineScript(), HtmlGenerator::writeExternalSearchPage(), ClassDiagram::writeFigure(), writeFileContents(), FlowChart::writeFlowChart(), writeJavascriptSearchData(), writeJavaScriptSearchIndex(), writeJavasScriptSearchDataPage(), writeLatexMakefile(), writeMakeBat(), HtmlGenerator::writeSearchData(), HtmlGenerator::writeSearchPage(), and writeTagFile().
| QCString Portable::pathListSeparator | ( | ) |
Definition at line 383 of file portable.cpp.
Referenced by ExistsOnPath(), parseInput(), runPlantumlContent(), and setDotFontPath().
| QCString Portable::pathSeparator | ( | ) |
Definition at line 374 of file portable.cpp.
Referenced by ExistsOnPath(), findFilePath(), readTextFileByName(), writeDiaGraphFromFile(), and writeMscGraphFromFile().
| int Portable::pclose | ( | FILE * | stream | ) |
Definition at line 488 of file portable.cpp.
Referenced by FileDefImpl::acquireFileVersion(), FilterCache::getFileContentsPipe(), readInputFile(), runQHelpGenerator(), and stackTrace().
| uint32_t Portable::pid | ( | ) |
Definition at line 248 of file portable.cpp.
References pid().
Referenced by initWarningFormat(), parseInput(), pid(), and system().
Definition at line 479 of file portable.cpp.
References QCString::data().
Referenced by FileDefImpl::acquireFileVersion(), FilterCache::getFileContentsPipe(), readInputFile(), runQHelpGenerator(), and stackTrace().
| size_t Portable::recodeUtf8StringToW | ( | const QCString & | inputStr, |
| uint16_t ** | buf ) |
Definition at line 623 of file portable.cpp.
References QCString::data(), QCString::isEmpty(), QCString::length(), portable_iconv(), portable_iconv_close(), and portable_iconv_open().
Definition at line 286 of file portable.cpp.
References QCString::data(), environmentLoaded, QCString::isEmpty(), loadEnvironment(), proc_env, setenv(), and QCString::str().
Referenced by correctPath(), initDoxygen(), parseInput(), setDotFontPath(), setenv(), and unsetDotFontPath().
| void Portable::setShortDir | ( | ) |
Definition at line 553 of file portable.cpp.
References Dir::currentDirPath(), and Dir::setCurrent().
Referenced by runHtmlHelpCompiler().
| const char * Portable::strnstr | ( | const char * | haystack, |
| const char * | needle, | ||
| size_t | haystack_len ) |
Definition at line 600 of file portable.cpp.
References portable_memmem().
Referenced by Markdown::Private::addStrEscapeUtf8Nbsp().
| int Portable::system | ( | const QCString & | command, |
| const QCString & | args, | ||
| bool | commandHasConsole = true ) |
taken from the system() manpage on my Linux box
Definition at line 105 of file portable.cpp.
References QCString::at(), QCString::data(), environ, Debug::ExtCmd, FALSE, QCString::find(), QCString::isEmpty(), pid(), Debug::print(), recodeUtf8StringToW(), QCString::stripWhiteSpace(), and substitute().
Referenced by createCroppedEPS(), createCroppedPDF(), createDVIFile(), createEPSbboxFile(), createPNG(), createPostscriptFile(), FlowChart::createSVG(), createSVGFromPDF(), createSVGFromPDFviaInkscape(), determineInkscapeVersion(), do_mscgen_generate(), Htags::execute(), DocParser::findAndCopyImage(), CitationManager::generatePage(), DotRunner::run(), runHtmlHelpCompiler(), runPlantumlContent(), runQHelpGenerator(), writeDiaGraphFromFile(), ClassDiagram::writeFigure(), and writeMscGraphFromFile().
| void Portable::unlink | ( | const QCString & | fileName | ) |
Definition at line 544 of file portable.cpp.
References QCString::data(), and unlink().
Referenced by finishWarnExit(), RTFGenerator::preProcessFileInplace(), DotRunner::run(), and unlink().
| void Portable::unsetenv | ( | const QCString & | variable | ) |
Definition at line 301 of file portable.cpp.
References QCString::data(), QCString::find(), QCString::isEmpty(), proc_env, QCString::str(), and unsetenv().
Referenced by setDotFontPath(), unsetDotFontPath(), and unsetenv().