Skip to main content

The pagedef.h File Reference

Included Headers

#include "definition.h"

Classes Index

classPageDef

A model of a page symbol. More...

classPageLinkedMap
classPageLinkedRefMap

Functions Index

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

Functions

createPageDef()

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

Declaration at line 59 of file pagedef.h, definition at line 80 of file pagedef.cpp.

80std::unique_ptr<PageDef> createPageDef(const QCString &f,int l,const QCString &n,const QCString &d,const QCString &t)
81{
82 return std::make_unique<PageDefImpl>(f,l,n,d,t);
83}

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

toPageDef()

PageDef * toPageDef (Definition * d)

Declaration at line 63 of file pagedef.h, definition at line 490 of file pagedef.cpp.

491{
492 if (d==nullptr) return nullptr;
493 if (d && typeid(*d)==typeid(PageDefImpl))
494 {
495 return static_cast<PageDef*>(d);
496 }
497 else
498 {
499 return nullptr;
500 }
501}

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

toPageDef()

const PageDef * toPageDef (const Definition * d)

Declaration at line 64 of file pagedef.h, definition at line 503 of file pagedef.cpp.

504{
505 if (d==nullptr) return nullptr;
506 if (d && typeid(*d)==typeid(PageDefImpl))
507 {
508 return static_cast<const PageDef*>(d);
509 }
510 else
511 {
512 return nullptr;
513 }
514}

Generated via doxygen2docusaurus by Doxygen 1.14.0.