Doxygen
Loading...
Searching...
No Matches
pagedef.h File Reference
#include "definition.h"
+ Include dependency graph for pagedef.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PageDef
 A model of a page symbol. More...
 
class  PageLinkedMap
 
class  PageLinkedRefMap
 

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(), 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(), SearchTerm::makeTitle(), DefinitionImpl::navigationPathAsString(), DefinitionImpl::pathFragment(), SearchIndex::setCurrentDoc(), SearchIndexExternal::setCurrentDoc(), validatingParseDoc(), and writeJavasScriptSearchDataPage().