|
Doxygen
|
Class representing a directory in the file system 更多...
#include <dir.h>
类 | |
| struct | Private |
Public 成员函数 | |
| Dir () | |
| Dir (const std::string &path) | |
| Dir (const Dir &d) | |
| Dir & | operator= (const Dir &d) |
| ~Dir () | |
| void | setPath (const std::string &path) |
| std::string | path () const |
| DirIterator | iterator () const |
| bool | isEmpty (const std::string subdir) const |
| bool | exists () const |
| std::string | filePath (const std::string &path, bool acceptsAbsPath=true) const |
| bool | exists (const std::string &path, bool acceptsAbsPath=true) const |
| bool | mkdir (const std::string &path, bool acceptsAbsPath=true) const |
| bool | rmdir (const std::string &path, bool acceptsAbsPath=true) const |
| bool | remove (const std::string &path, bool acceptsAbsPath=true) const |
| bool | rename (const std::string &orgName, const std::string &newName, bool acceptsAbsPath=true) const |
| bool | copy (const std::string &src, const std::string &dest, bool acceptsAbsPath=true) const |
| std::string | absPath () const |
| bool | isRelative () const |
静态 Public 成员函数 | |
| static bool | isRelativePath (const std::string &path) |
| static std::string | currentDirPath () |
| static bool | setCurrent (const std::string &path) |
| static std::string | cleanDirPath (const std::string &path) |
Private 属性 | |
| std::unique_ptr< Private > | p |
| Dir::Dir | ( | ) |
| Dir::Dir | ( | const std::string & | path | ) |
| Dir::Dir | ( | const Dir & | d | ) |
| std::string Dir::absPath | ( | ) | const |
|
static |
| bool Dir::copy | ( | const std::string & | src, |
| const std::string & | dest, | ||
| bool | acceptsAbsPath = true |
||
| ) | const |
引用了 filePath().
|
static |
| bool Dir::exists | ( | ) | const |
引用了 FileInfo::exists(), FileInfo::isDir() , 以及 p.
被这些函数引用 clearSubDirs(), PerlModGenerator::createOutputDir(), createOutputDirectory(), createSubDirs(), Htags::execute(), generateDEF(), FormulaManager::generateImages(), generateOutput(), CitationManager::generatePage(), generateTemplateFiles(), RTFGenerator::init(), ManGenerator::init(), HtmlGenerator::init(), LatexGenerator::init(), DocbookGenerator::init(), mkdir(), TemplateNodeCreator< TemplateNodeBlock >::mkpath(), parseInput(), DotGraph::prepareDotFile(), RTFGenerator::preProcessFileInplace(), writeDotGraphFromFile(), writeDotImageMapFromFile() , 以及 DotGfxHierarchyTable::writeGraph().
| bool Dir::exists | ( | const std::string & | path, |
| bool | acceptsAbsPath = true |
||
| ) | const |
| std::string Dir::filePath | ( | const std::string & | path, |
| bool | acceptsAbsPath = true |
||
| ) | const |
引用了 correctPath(), isRelativePath(), p , 以及 path().
| bool Dir::isEmpty | ( | const std::string | subdir | ) | const |
引用了 path().
被这些函数引用 clearSubDirs().
| bool Dir::isRelative | ( | ) | const |
引用了 isRelativePath() , 以及 p.
|
static |
引用了 path().
被这些函数引用 filePath() , 以及 isRelative().
| DirIterator Dir::iterator | ( | ) | const |
| bool Dir::mkdir | ( | const std::string & | path, |
| bool | acceptsAbsPath = true |
||
| ) | const |
引用了 exists(), filePath() , 以及 path().
被这些函数引用 PerlModGenerator::createOutputDir(), createOutputDirectory(), createSubDirs(), generateDEF(), generateOutput(), CitationManager::generatePage(), generateTemplateFiles(), RTFGenerator::init(), ManGenerator::init(), HtmlGenerator::init(), LatexGenerator::init(), DocbookGenerator::init(), TemplateNodeCreator< TemplateNodeBlock >::mkpath() , 以及 parseInput().
| std::string Dir::path | ( | ) | const |
引用了 p.
被这些函数引用 cleanDirPath(), Dir(), exists(), filePath(), isEmpty(), isRelativePath(), mkdir(), DotGraph::prepareDotFile(), remove(), rmdir(), setCurrent() , 以及 setPath().
| bool Dir::remove | ( | const std::string & | path, |
| bool | acceptsAbsPath = true |
||
| ) | const |
引用了 filePath() , 以及 path().
被这些函数引用 determineInkscapeVersion(), exitDoxygen(), DocParser::findAndCopyImage(), FormulaManager::generateImages(), generateOutput(), CitationManager::generatePage(), getMscImageMapFromFile(), openOutputFile(), preProcessFile(), RTFGenerator::preProcessFileInplace(), resetPDFSize(), rmdir(), DotFilePatcher::run(), stopDoxygen(), HtmlDocVisitor::visit(), LatexDocVisitor::visit(), DocbookDocVisitor::visit(), RTFDocVisitor::visit() , 以及 writeDotImageMapFromFile().
| bool Dir::rename | ( | const std::string & | orgName, |
| const std::string & | newName, | ||
| bool | acceptsAbsPath = true |
||
| ) | const |
引用了 filePath().
被这些函数引用 openOutputFile(), RTFGenerator::preProcessFileInplace(), resetPDFSize() , 以及 DotFilePatcher::run().
| bool Dir::rmdir | ( | const std::string & | path, |
| bool | acceptsAbsPath = true |
||
| ) | const |
被这些函数引用 clearSubDirs() , 以及 CitationManager::generatePage().
|
static |
| void Dir::setPath | ( | const std::string & | path | ) |
|
private |
被这些函数引用 absPath(), Dir(), exists(), filePath(), isRelative(), iterator(), operator=(), path() , 以及 setPath().