Doxygen
Loading...
Searching...
No Matches
pagedef.cpp File Reference
#include "pagedef.h"
#include "groupdef.h"
#include "docparser.h"
#include "config.h"
#include "util.h"
#include "outputlist.h"
#include "doxygen.h"
#include "language.h"
#include "namespacedef.h"
#include "reflist.h"
#include "definitionimpl.h"
#include "indexlist.h"
+ Include dependency graph for pagedef.cpp:

Go to the source code of this file.

Classes

class  PageDefImpl
 

Functions

std::unique_ptr< PageDefcreatePageDef (const QCString &f, int l, const QCString &n, const QCString &d, const QCString &t)
 
PageDeftoPageDef (Definition *d)
 
const PageDeftoPageDef (const Definition *d)
 

Function Documentation

◆ createPageDef()

std::unique_ptr< PageDef > createPageDef ( const QCString & f,
int l,
const QCString & n,
const QCString & d,
const QCString & t )

Definition at line 79 of file pagedef.cpp.

80{
81 return std::make_unique<PageDefImpl>(f,l,n,d,t);
82}

Referenced by addRelatedPage(), PageDef::addSectionsToIndex(), buildExampleList(), and findMainPage().

◆ toPageDef() [1/2]

const PageDef * toPageDef ( const Definition * d)

Definition at line 480 of file pagedef.cpp.

481{
482 if (d==nullptr) return nullptr;
483 if (d && typeid(*d)==typeid(PageDefImpl))
484 {
485 return static_cast<const PageDef*>(d);
486 }
487 else
488 {
489 return nullptr;
490 }
491}
A model of a page symbol.
Definition pagedef.h:26

◆ toPageDef() [2/2]

PageDef * toPageDef ( Definition * d)

Definition at line 467 of file pagedef.cpp.

468{
469 if (d==nullptr) return nullptr;
470 if (d && typeid(*d)==typeid(PageDefImpl))
471 {
472 return static_cast<PageDef*>(d);
473 }
474 else
475 {
476 return nullptr;
477 }
478}

Referenced by PageDefImpl::addInnerCompound(), PageDef::addSectionsToIndex(), SearchTerm::makeTitle(), DefinitionImpl::navigationPathAsString(), DefinitionImpl::pathFragment(), SearchIndex::setCurrentDoc(), SearchIndexExternal::setCurrentDoc(), validatingParseDoc(), and writeJavasScriptSearchDataPage().