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

浏览源代码.

class  ConceptDef
 
class  ConceptDefMutable
 
class  ConceptLinkedMap
 
class  ConceptLinkedRefMap
 

函数

ConceptDefMutablecreateConceptDef (const QCString &fileName, int startLine, int startColumn, const QCString &name, const QCString &tagRef=QCString(), const QCString &tagFile=QCString())
 
ConceptDefcreateConceptDefAlias (const Definition *newScope, const ConceptDef *cd)
 
ConceptDeftoConceptDef (Definition *d)
 
ConceptDeftoConceptDef (DefinitionMutable *d)
 
const ConceptDeftoConceptDef (const Definition *d)
 
ConceptDefMutabletoConceptDefMutable (Definition *d)
 
ConceptDefMutabletoConceptDefMutable (const Definition *d)
 
ConceptDefgetConcept (const QCString &key)
 
ConceptDefMutablegetConceptMutable (const QCString &key)
 
ConceptDefgetResolvedConcept (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.cpp84 行定义.

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

被这些函数引用 addConceptToContext().

◆ createConceptDefAlias()

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

在文件 conceptdef.cpp139 行定义.

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

◆ getConcept()

ConceptDef* getConcept ( const QCString key)

在文件 conceptdef.cpp739 行定义.

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.h86 行定义.

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

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

被这些函数引用 addConceptToContext().

◆ getResolvedConcept()

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

在文件 conceptdef.cpp745 行定义.

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.cpp701 行定义.

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.cpp676 行定义.

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.cpp688 行定义.

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.cpp725 行定义.

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.cpp713 行定义.

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