Doxygen
Loading...
Searching...
No Matches
dir.cpp File Reference
#include "filesystem.hpp"
#include "dir.h"
#include <utility>
+ Include dependency graph for dir.cpp:

Go to the source code of this file.

Classes

struct  DirEntry::Private
 
struct  DirIterator::Private
 
struct  Dir::Private
 

Macros

#define NOMINMAX
 
#define WIN32_LEAN_AND_MEAN
 

Functions

bool operator== (const DirIterator &it1, const DirIterator &it2)
 
bool operator!= (const DirIterator &it1, const DirIterator &it2)
 
DirIterator begin (DirIterator it)
 
DirIterator end (const DirIterator &)
 
static void correctPath (std::string &s)
 

Macro Definition Documentation

◆ NOMINMAX

#define NOMINMAX

Definition at line 16 of file dir.cpp.

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

Definition at line 17 of file dir.cpp.

Function Documentation

◆ begin()

◆ correctPath()

static void correctPath ( std::string & s)
static

Definition at line 244 of file dir.cpp.

245{
246 std::replace( s.begin(), s.end(), '\\', '/' );
247}

Referenced by Dir::absPath(), Dir::cleanDirPath(), Dir::currentDirPath(), and Dir::filePath().

◆ end()

DirIterator end ( const DirIterator & )
noexcept

Definition at line 175 of file dir.cpp.

176{
177 return DirIterator();
178}

Referenced by DocGroup::addDocs(), addMembersToMemberGroup(), addToIndices(), buildDefineList(), buildDirectories(), DocParser::checkArgumentName(), DocGroup::close(), convertCharEntitiesToUTF8(), DotGroupCollaboration::Edge::Edge(), endScope(), externalRef(), DefinitionImpl::externalReference(), extractCanonicalType(), extractClassNameFromType(), extractDirection(), extractFromParens(), filterTitle(), findAndRemoveWord(), findClassRelation(), Markdown::Private::findEndOfLine(), findTableColumns(), MemberLists::get(), getTemplateArgumentsInName(), DocPara::handleDoxyConfig(), DocPara::handleIncludeOperator(), ExampleList::inSort(), Markdown::Private::isAtxHeader(), Markdown::Private::isBlockCommand(), isFencedCodeBlock(), isLinkRef(), Markdown::Private::isSpecialCommand(), isTableBlock(), vhdl::parser::VhdlParserTokenManager::jjKindsForStateVector(), linkifyText(), HtmlAttribList::mergeAttribute(), normalizeNonTemplateArgumentsInString(), DocGroup::open(), VhdlDocGen::parseFuncProto(), parseInput(), VhdlDocGen::prepareComment(), Markdown::Private::processBlocks(), Markdown::Private::processCodeSpan(), processConcatOperators(), Preprocessor::processFile(), Markdown::Private::processInline(), Markdown::Private::processQuotations(), QCString::quoted(), removeAnonymousScopes(), replaceColorMarkers(), replaceNamespaceAliasesRec(), resolveModuleProcedures(), searchInputFiles(), split(), QCString::stripLeadingAndTrailingEmptyLines(), QCString::stripWhiteSpace(), stripWhiteSpace(), substEnvVarsInString(), substituteTemplateArgumentsInString(), substituteTemplatesInString(), Markdown::Private::writeBlockQuote(), Markdown::Private::writeCodeBlock(), writeMarkerList(), and Markdown::Private::writeTableBlock().

◆ operator!=()

bool operator!= ( const DirIterator & it1,
const DirIterator & it2 )

Definition at line 165 of file dir.cpp.

166{
167 return it1.p->it!=it2.p->it;
168}
std::unique_ptr< Private > p
Definition dir.h:70

◆ operator==()

bool operator== ( const DirIterator & it1,
const DirIterator & it2 )

Definition at line 160 of file dir.cpp.

161{
162 return it1.p->it == it2.p->it;
163}