Doxygen
Loading...
Searching...
No Matches
dir.cpp File Reference
#include <utility>
#include "dir.h"
#include "fileinfo.h"
#include "filesystem.hpp"
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()

void correctPath ( std::string & s)
static

Definition at line 245 of file dir.cpp.

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

References correctPath().

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

◆ end()

DirIterator end ( const DirIterator & )
noexcept

Definition at line 176 of file dir.cpp.

177{
178 return DirIterator();
179}
DirIterator()
Definition dir.cpp:97

Referenced by DocGroup::addDocs(), addMembersToMemberGroup(), addToIndices(), buildDefineList(), buildDirectories(), DocParser::checkArgumentName(), DocGroup::close(), HtmlEntityMapper::convertCharEntitiesToUTF8(), DotGroupCollaboration::Edge::Edge(), endScope(), externalRef(), DefinitionImpl::externalReference(), extractCanonicalType(), extractClassNameFromType(), extractDirection(), extractFromParens(), filterTitle(), 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(), removeAnonymousScopes(), replaceColorMarkers(), replaceNamespaceAliasesRec(), resolveModuleProcedures(), searchInputFiles(), split(), stripKeyword(), stripWhiteSpace(), substEnvVarsInString(), substituteTemplateArgumentsInString(), substituteTemplatesInString(), Markdown::Private::writeBlockQuote(), Markdown::Private::writeCodeBlock(), writeMarkerList(), writeMarkerList(), and Markdown::Private::writeTableBlock().

◆ operator!=()

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

Definition at line 166 of file dir.cpp.

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

Referenced by operator!=(), operator!=(), and operator!=().

◆ operator==()

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

Definition at line 161 of file dir.cpp.

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

Referenced by TypeSpecifier::operator!=, operator==(), operator==(), and operator==().