Doxygen
conceptdef.h 文件参考
#include "definition.h"
#include "filedef.h"
+ conceptdef.h 的引用(Include)关系图:
+ 此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

类

class  ConceptDef
 
class  ConceptDefMutable
 
class  ConceptLinkedMap
 
class  ConceptLinkedRefMap
 

函数

ConceptDefMutable * createConceptDef (const QCString &fileName, int startLine, int startColumn, const QCString &name, const QCString &tagRef=QCString(), const QCString &tagFile=QCString())
 
ConceptDef * createConceptDefAlias (const Definition *newScope, const ConceptDef *cd)
 
ConceptDef * toConceptDef (Definition *d)
 
ConceptDef * toConceptDef (DefinitionMutable *d)
 
const ConceptDef * toConceptDef (const Definition *d)
 
ConceptDefMutable * toConceptDefMutable (Definition *d)
 
ConceptDefMutable * toConceptDefMutable (const Definition *d)
 
ConceptDef * getConcept (const QCString &key)
 
ConceptDefMutable * getConceptMutable (const QCString &key)
 
ConceptDef * getResolvedConcept (const Definition *scope, const QCString &name)
 

函数说明

◆ createConceptDef()

ConceptDefMutable* createConceptDef ( const QCString &  fileName,
int  startLine,
int  startColumn,
const QCString &  name,
const QCString &  tagRef = QCString(),
const QCString &  tagFile = QCString() 
)

在文件 conceptdef.cpp 第 84 行定义.

87 {
88  return new ConceptDefImpl(fileName,startLine,startColumn,name,tagRef,tagFile);
89 }

被这些函数引用 addConceptToContext().

◆ createConceptDefAlias()

ConceptDef* createConceptDefAlias ( const Definition *  newScope,
const ConceptDef *  cd 
)

在文件 conceptdef.cpp 第 139 行定义.

140 {
141  ConceptDef *acd = new ConceptDefAliasImpl(newScope,cd);
142  return acd;
143 }

◆ getConcept()

ConceptDef* getConcept ( const QCString &  key)

在文件 conceptdef.cpp 第 739 行定义.

740 {
741  if (n.isEmpty()) return 0;
742  return Doxygen::conceptLinkedMap->find(n);
743 }

引用了 Doxygen::conceptLinkedMap, LinkedMap< T, Hash, KeyEqual, Map >::find() , 以及 QCString::isEmpty().

被这些函数引用 getConceptMutable(), getResolvedConcept(), linkifyText() , 以及 resolveLink().

◆ getConceptMutable()

ConceptDefMutable* getConceptMutable ( const QCString &  key)
inline

在文件 conceptdef.h 第 86 行定义.

87 {
88  return toConceptDefMutable(getConcept(key));
89 }

引用了 getConcept() , 以及 toConceptDefMutable().

被这些函数引用 addConceptToContext().

◆ getResolvedConcept()

ConceptDef* getResolvedConcept ( const Definition *  scope,
const QCString &  name 
)

在文件 conceptdef.cpp 第 745 行定义.

746 {
747  ConceptDef *cd=0;
748  while (d && d!=Doxygen::globalScope)
749  {
750  cd = getConcept(d->name()+"::"+name);
751  if (cd) return cd;
752  d = d->getOuterScope();
753  }
754  cd = getConcept(name);
755  return cd;
756 }

引用了 getConcept(), Definition::getOuterScope(), Doxygen::globalScope , 以及 Definition::name().

◆ toConceptDef() [1/3]

const ConceptDef* toConceptDef ( const Definition *  d)

在文件 conceptdef.cpp 第 701 行定义.

702 {
703  if (d && (typeid(*d)==typeid(ConceptDefImpl) || typeid(*d)==typeid(ConceptDefAliasImpl)))
704  {
705  return static_cast<const ConceptDef*>(d);
706  }
707  else
708  {
709  return 0;
710  }
711 }

◆ toConceptDef() [2/3]

ConceptDef* toConceptDef ( Definition *  d)

在文件 conceptdef.cpp 第 676 行定义.

677 {
678  if (d && (typeid(*d)==typeid(ConceptDefImpl) || typeid(*d)==typeid(ConceptDefAliasImpl)))
679  {
680  return static_cast<ConceptDef*>(d);
681  }
682  else
683  {
684  return 0;
685  }
686 }

被这些函数引用 NamespaceDefImpl::addInnerCompound() , 以及 ConceptDefAliasImpl::getCdAlias().

◆ toConceptDef() [3/3]

ConceptDef* toConceptDef ( DefinitionMutable *  d)

在文件 conceptdef.cpp 第 688 行定义.

689 {
690  Definition *d = toDefinition(md);
691  if (d && typeid(*d)==typeid(ConceptDefImpl))
692  {
693  return static_cast<ConceptDef*>(d);
694  }
695  else
696  {
697  return 0;
698  }
699 }

引用了 toDefinition().

◆ toConceptDefMutable() [1/2]

ConceptDefMutable* toConceptDefMutable ( const Definition *  d)

在文件 conceptdef.cpp 第 725 行定义.

726 {
727  if (d && typeid(*d)==typeid(ConceptDefImpl))
728  {
729  return const_cast<ConceptDefMutable*>(static_cast<const ConceptDefMutable*>(d));
730  }
731  else
732  {
733  return 0;
734  }
735 }

◆ toConceptDefMutable() [2/2]

ConceptDefMutable* toConceptDefMutable ( Definition *  d)

在文件 conceptdef.cpp 第 713 行定义.

714 {
715  if (d && typeid(*d)==typeid(ConceptDefImpl))
716  {
717  return static_cast<ConceptDefMutable*>(d);
718  }
719  else
720  {
721  return 0;
722  }
723 }

被这些函数引用 addConceptToContext(), addConceptToGroups(), findSectionsInDocumentation(), generateConceptDocs(), generateNamespaceConceptDocs(), getConceptMutable() , 以及 writeTagFile().

toDefinition
Definition * toDefinition(DefinitionMutable *dm)
Definition: definition.cpp:1950
ConceptDefMutable
Definition: conceptdef.h:42
ConceptDef
Definition: conceptdef.h:22
Definition
The common base class of all entity definitions found in the sources.
Definition: definition.h:76
Doxygen::conceptLinkedMap
static ConceptLinkedMap * conceptLinkedMap
Definition: doxygen.h:80
getConcept
ConceptDef * getConcept(const QCString &key)
Definition: conceptdef.cpp:739
toConceptDefMutable
ConceptDefMutable * toConceptDefMutable(Definition *d)
Definition: conceptdef.cpp:713
Doxygen::globalScope
static NamespaceDefMutable * globalScope
Definition: doxygen.h:102
ConceptDefImpl
Definition: conceptdef.cpp:31
LinkedMap::find
const T * find(const std::string &key) const
Find an object given the key.
Definition: linkedmap.h:60
getConcept
ConceptDef * getConcept(const QCString &n)
Definition: conceptdef.cpp:739
Definition::getOuterScope
virtual Definition * getOuterScope() const =0
ConceptDefAliasImpl
Definition: conceptdef.cpp:93