Doxygen
DirDefImpl类 参考
+ 类 DirDefImpl 继承关系图:
+ DirDefImpl 的协作图:

Public 成员函数

 DirDefImpl (const QCString &path)
 
virtual ~DirDefImpl ()
 
virtual DefType definitionType () const
 
virtual CodeSymbolType codeSymbolType () const
 
virtual QCString getOutputFileBase () const
 
virtual QCString anchor () const
 
virtual bool isLinkableInProject () const
 
virtual bool isLinkable () const
 
virtual QCString displayName (bool=TRUE) const
 
virtual const QCString shortName () const
 
virtual void addSubDir (DirDef *subdir)
 
virtual const FileListgetFiles () const
 
virtual void addFile (const FileDef *fd)
 
virtual const DirListsubDirs () const
 
virtual bool hasSubdirs () const
 
virtual int level () const
 
virtual DirDefparent () const
 
virtual int dirCount () const
 
virtual const UsedDirLinkedMapusedDirs () const
 
virtual bool isParentOf (const DirDef *dir) const
 
virtual bool depGraphIsTrivial () const
 
virtual QCString shortTitle () const
 
virtual bool hasDetailedDescription () const
 
virtual void writeDocumentation (OutputList &ol)
 
virtual void writeTagFile (TextStream &t)
 
virtual void setDiskName (const QCString &name)
 
virtual void sort ()
 
virtual void setParent (DirDef *parent)
 
virtual void setDirCount (int count)
 
virtual void setLevel ()
 
virtual void addUsesDependency (const DirDef *usedDir, const FileDef *srcFd, const FileDef *dstFd, bool srcDirect, bool dstDirect)
 Add as "uses" dependency between this dir and dir, that was caused by a dependency on file fd. 更多...
 
virtual void computeDependencies ()
 Computes the dependencies between directories 更多...
 
- Public 成员函数 继承自 DefinitionMixin< DirDef >
 DefinitionMixin (const QCString &defFileName, int defLine, int defColumn, const QCString &name, const char *b=0, const char *d=0, bool isSymbol=TRUE)
 
virtual ~DefinitionMixin ()
 
virtual bool isAlias () const
 
virtual QCString name () const
 
virtual bool isAnonymous () const
 
virtual QCString localName () const
 
virtual QCString qualifiedName () const
 
virtual QCString symbolName () const
 
virtual QCString getSourceFileBase () const
 
virtual QCString getSourceAnchor () const
 
virtual QCString documentation () const
 
virtual int docLine () const
 
virtual QCString docFile () const
 
virtual QCString briefDescription (bool abbreviate=FALSE) const
 
virtual QCString briefDescriptionAsTooltip () const
 
virtual int briefLine () const
 
virtual QCString inbodyDocumentation () const
 
virtual QCString inbodyFile () const
 
virtual int inbodyLine () const
 
virtual QCString briefFile () const
 
virtual QCString getDefFileName () const
 
virtual QCString getDefFileExtension () const
 
virtual int getDefLine () const
 
virtual int getDefColumn () const
 
virtual bool hasDocumentation () const
 
virtual bool hasUserDocumentation () const
 
virtual bool isVisibleInProject () const
 
virtual bool isVisible () const
 
virtual bool isHidden () const
 
virtual bool isArtificial () const
 
virtual QCString getReference () const
 
virtual bool isReference () const
 
virtual QCString externalReference (const QCString &relPath) const
 
virtual int getStartDefLine () const
 
virtual int getStartBodyLine () const
 
virtual int getEndBodyLine () const
 
virtual const FileDefgetBodyDef () const
 
virtual SrcLangExt getLanguage () const
 
virtual const GroupListpartOfGroups () const
 
virtual bool isLinkableViaGroup () const
 
virtual const RefItemVectorxrefListItems () const
 
virtual const DefinitionfindInnerCompound (const QCString &name) const
 
virtual DefinitiongetOuterScope () const
 
virtual const MemberVectorgetReferencesMembers () const
 
virtual const MemberVectorgetReferencedByMembers () const
 
virtual bool hasSections () const
 
virtual bool hasSources () const
 
virtual bool hasBriefDescription () const
 
virtual QCString id () const
 
virtual const SectionRefsgetSectionRefs () const
 
virtual void setName (const QCString &name)
 
virtual void setId (const QCString &name)
 
virtual void setDefFile (const QCString &df, int defLine, int defColumn)
 
virtual void setDocumentation (const QCString &doc, const QCString &docFile, int docLine, bool stripWhiteSpace=TRUE)
 
virtual void setBriefDescription (const QCString &brief, const QCString &briefFile, int briefLine)
 
virtual void setInbodyDocumentation (const QCString &doc, const QCString &docFile, int docLine)
 
virtual void setReference (const QCString &r)
 
virtual void addSectionsToDefinition (const std::vector< const SectionInfo * > &anchorList)
 
virtual void setBodySegment (int defLine, int bls, int ble)
 
virtual void setBodyDef (const FileDef *fd)
 
virtual void addSourceReferencedBy (const MemberDef *md)
 
virtual void addSourceReferences (const MemberDef *md)
 
virtual void setRefItems (const RefItemVector &sli)
 
virtual void mergeRefItems (Definition *def)
 
virtual void mergeReferences (const Definition *other)
 
virtual void mergeReferencedBy (const Definition *other)
 
virtual void addInnerCompound (const Definition *def)
 
virtual void setOuterScope (Definition *def)
 
virtual void setHidden (bool b)
 
virtual void setArtificial (bool b)
 
virtual void setLanguage (SrcLangExt lang)
 
virtual void writeSourceDef (OutputList &ol, const QCString &scopeName) const
 
virtual void writeInlineCode (OutputList &ol, const QCString &scopeName) const
 
virtual bool hasSourceRefs () const
 
virtual bool hasSourceReffedBy () const
 
virtual void writeSourceRefs (OutputList &ol, const QCString &scopeName) const
 
virtual void writeSourceReffedBy (OutputList &ol, const QCString &scopeName) const
 
virtual void makePartOfGroup (const GroupDef *gd)
 
virtual void writeNavigationPath (OutputList &ol) const
 
virtual QCString navigationPathAsString () const
 
virtual void writeQuickMemberLinks (OutputList &ol, const MemberDef *md) const
 
virtual void writeSummaryLinks (OutputList &ol) const
 
virtual QCString pathFragment () const
 
virtual void writeDocAnchorsToTagFile (TextStream &fs) const
 
virtual void setLocalName (const QCString &name)
 
virtual void addSectionsToIndex ()
 
virtual void writeToc (OutputList &ol, const LocalToc &lt) const
 
virtual void computeTooltip ()
 
virtual void _setSymbolName (const QCString &name)
 
virtual QCString _symbolName () const
 
- Public 成员函数 继承自 DirDef
virtual ~DirDef ()
 
- Public 成员函数 继承自 DefinitionMutable
virtual bool hasSourceRefs () const =0
 
virtual bool hasSourceReffedBy () const =0
 
virtual ~DefinitionMutable ()=default
 
- Public 成员函数 继承自 Definition
virtual bool isAlias () const =0
 
virtual QCString name () const =0
 
virtual bool isAnonymous () const =0
 
virtual QCString localName () const =0
 
virtual QCString qualifiedName () const =0
 
virtual QCString symbolName () const =0
 
virtual QCString getSourceFileBase () const =0
 
virtual QCString getSourceAnchor () const =0
 
virtual QCString documentation () const =0
 
virtual int docLine () const =0
 
virtual QCString docFile () const =0
 
virtual QCString briefDescriptionAsTooltip () const =0
 
virtual int briefLine () const =0
 
virtual QCString inbodyDocumentation () const =0
 
virtual QCString inbodyFile () const =0
 
virtual int inbodyLine () const =0
 
virtual QCString briefFile () const =0
 
virtual QCString getDefFileName () const =0
 
virtual QCString getDefFileExtension () const =0
 
virtual int getDefLine () const =0
 
virtual int getDefColumn () const =0
 
virtual bool hasDocumentation () const =0
 
virtual bool hasUserDocumentation () const =0
 
virtual bool isVisibleInProject () const =0
 
virtual bool isVisible () const =0
 
virtual bool isHidden () const =0
 
virtual bool isArtificial () const =0
 
virtual QCString getReference () const =0
 
virtual bool isReference () const =0
 
virtual int getStartDefLine () const =0
 
virtual int getStartBodyLine () const =0
 
virtual int getEndBodyLine () const =0
 
virtual const FileDefgetBodyDef () const =0
 
virtual SrcLangExt getLanguage () const =0
 Returns the programming language this definition was written in. 更多...
 
virtual const GroupListpartOfGroups () const =0
 
virtual bool isLinkableViaGroup () const =0
 
virtual const RefItemVectorxrefListItems () const =0
 
virtual DefinitiongetOuterScope () const =0
 
virtual const MemberVectorgetReferencesMembers () const =0
 
virtual const MemberVectorgetReferencedByMembers () const =0
 
virtual bool hasSections () const =0
 
virtual bool hasSources () const =0
 
virtual bool hasBriefDescription () const =0
 returns TRUE if this class has a brief description 更多...
 
virtual QCString id () const =0
 
virtual const SectionRefsgetSectionRefs () const =0
 returns the section dictionary, only of importance for pagedef 更多...
 
virtual QCString navigationPathAsString () const =0
 
virtual QCString pathFragment () const =0
 
virtual QCString _symbolName () const =0
 
virtual ~Definition ()=default
 

静态 Public 成员函数

static DirDefmergeDirectoryInTree (const QCString &path)
 

Private 成员函数

void writeDetailedDescription (OutputList &ol, const QCString &title)
 
void writeBriefDescription (OutputList &ol)
 
void writeDirectoryGraph (OutputList &ol)
 
void writeSubDirList (OutputList &ol)
 
void writeFileList (OutputList &ol)
 
void startMemberDeclarations (OutputList &ol)
 
void endMemberDeclarations (OutputList &ol)
 

静态 Private 成员函数

static DirDefcreateNewDir (const QCString &path)
 
static bool matchPath (const QCString &path, const StringVector &l)
 

Private 属性

DirList m_subdirs
 
QCString m_dispName
 
QCString m_shortName
 
QCString m_diskName
 
FileList m_fileList
 
int m_dirCount = -1
 
int m_level
 
DirDefm_parent
 
UsedDirLinkedMap m_usedDirs
 

额外继承的成员函数

- Public 类型 继承自 Definition
enum  DefType {
  TypeClass = 0, TypeFile = 1, TypeNamespace = 2, TypeMember = 3,
  TypeGroup = 4, TypePackage = 5, TypePage = 6, TypeDir = 7,
  TypeConcept = 8
}
 
- Protected 成员函数 继承自 DefinitionMixin< DirDef >
 DefinitionMixin (const DefinitionMixin &def)=default
 

详细描述

在文件 dirdef.cpp37 行定义.

构造及析构函数说明

◆ DirDefImpl()

DirDefImpl::DirDefImpl ( const QCString path)

在文件 dirdef.cpp111 行定义.

111  : DefinitionMixin(path,1,1,path)
112 {
113  bool fullPathNames = Config_getBool(FULL_PATH_NAMES);
114  // get display name (stripping the paths mentioned in STRIP_FROM_PATH)
115  // get short name (last part of path)
116  m_shortName = path;
117  m_diskName = path;
118  if (m_shortName.at(m_shortName.length()-1)=='/')
119  { // strip trailing /
121  }
122  int pi=m_shortName.findRev('/');
123  if (pi!=-1)
124  { // remove everything till the last /
125  m_shortName = m_shortName.mid(pi+1);
126  }
128  m_dispName = fullPathNames ? stripFromPath(path) : m_shortName;
129  if (m_dispName.length()>0 && m_dispName.at(m_dispName.length()-1)=='/')
130  { // strip trailing /
132  }
133 
134  m_level=-1;
135  m_parent=0;
136 }

◆ ~DirDefImpl()

DirDefImpl::~DirDefImpl ( )
virtual

在文件 dirdef.cpp138 行定义.

139 {
140 }

成员函数说明

◆ addFile()

void DirDefImpl::addFile ( const FileDef fd)
virtual

实现了 DirDef.

在文件 dirdef.cpp169 行定义.

170 {
171  m_fileList.push_back(fd);
172  const_cast<FileDef*>(fd)->setDirDef(this);
173 }

引用了 m_fileList.

◆ addSubDir()

void DirDefImpl::addSubDir ( DirDef subdir)
virtual

实现了 DirDef.

在文件 dirdef.cpp152 行定义.

153 {
154  m_subdirs.push_back(subdir);
155  subdir->setOuterScope(this);
156  subdir->setParent(this);
157 }

引用了 m_subdirs, DefinitionMutable::setOuterScope() , 以及 DirDef::setParent().

◆ addUsesDependency()

void DirDefImpl::addUsesDependency ( const DirDef dir,
const FileDef srcFd,
const FileDef dstFd,
bool  srcDirect,
bool  dstDirect 
)
virtual

Add as "uses" dependency between this dir and dir, that was caused by a dependency on file fd.

srcDirect and dstDirect indicate if it is a direct dependencies (true) or if the dependencies was indirect (e.g. a parent dir that has a child dir that has the dependencies)

实现了 DirDef.

在文件 dirdef.cpp638 行定义.

640 {
641  if (this==dir) return; // do not add self-dependencies
642  //static int count=0;
643  //printf(" %d add dependency %s->%s due to %s->%s\n",
644  // count++,qPrint(shortName()),
645  // qPrint(dir->shortName()),
646  // qPrint(srcFd->name()),
647  // qPrint(dstFd->name()));
648 
649  // levels match => add direct dependency
650  bool added=FALSE;
651  UsedDir *usedDir = m_usedDirs.find(dir->getOutputFileBase());
652  if (usedDir) // dir dependency already present
653  {
654  const FilePair *usedPair = usedDir->findFilePair(FilePair::key(srcFd,dstFd));
655  if (usedPair==0) // new file dependency
656  {
657  //printf(" => new file\n");
658  usedDir->addFileDep(srcFd,dstFd, srcDirect, dstDirect);
659  added=TRUE;
660  }
661  else
662  {
663  // dir & file dependency already added
664  }
665  }
666  else // new directory dependency
667  {
668  //printf(" => new file\n");
669  auto newUsedDir = std::make_unique<UsedDir>(dir);
670  newUsedDir->addFileDep(srcFd,dstFd, srcDirect, dstDirect);
671  usedDir = m_usedDirs.add(dir->getOutputFileBase(),std::move(newUsedDir));
672  added=TRUE;
673  }
674  if (added)
675  {
676  if (dir->parent())
677  {
678  // add relation to parent of used dir
679  addUsesDependency(dir->parent(),
680  srcFd,
681  dstFd,
682  srcDirect,
683  false); // indirect dependency on dest dir
684  }
685  if (parent())
686  {
687  // add relation for the parent of this dir as well
688  parent()->addUsesDependency(dir,
689  srcFd,
690  dstFd,
691  false, // indirect dependency from source dir
692  dstDirect);
693  }
694  }
695 }

引用了 LinkedMap< T, Hash, KeyEqual, Map >::add(), UsedDir::addFileDep(), DirDef::addUsesDependency(), FALSE, LinkedMap< T, Hash, KeyEqual, Map >::find(), UsedDir::findFilePair(), DirDef::getOutputFileBase(), FilePair::key(), m_usedDirs, parent(), DirDef::parent() , 以及 TRUE.

被这些函数引用 computeDependencies().

◆ anchor()

virtual QCString DirDefImpl::anchor ( ) const
inlinevirtual

Returns the anchor within a page where this item can be found

实现了 DirDef.

在文件 dirdef.cpp59 行定义.

59 { return m_usedDirs; }

引用了 m_usedDirs.

◆ codeSymbolType()

virtual CodeSymbolType DirDefImpl::codeSymbolType ( ) const
inlinevirtual

Used for syntax highlighting symbol class

实现了 Definition.

在文件 dirdef.cpp57 行定义.

57 { return m_parent; }

引用了 m_parent.

◆ computeDependencies()

void DirDefImpl::computeDependencies ( )
virtual

Computes the dependencies between directories

实现了 DirDef.

在文件 dirdef.cpp699 行定义.

700 {
701  for (const auto &fd : m_fileList)
702  {
703  //printf(" File %s\n",qPrint(fd->name()));
704  //printf("** dir=%s file=%s\n",qPrint(shortName()),qPrint(fd->name()));
705  for (const auto &ii : fd->includeFileList())
706  {
707  //printf(" > %s\n",qPrint(ii->includeName));
708  //printf(" #include %s\n",qPrint(ii->includeName));
709  if (ii.fileDef && ii.fileDef->isLinkable()) // linkable file
710  {
711  DirDef *usedDir = ii.fileDef->getDirDef();
712  if (usedDir)
713  {
714  // add dependency: thisDir->usedDir
715  //static int count=0;
716  //printf(" %d: add dependency %s->%s\n",count++,qPrint(name()),qPrint(usedDir->name()));
717  addUsesDependency(usedDir,fd,ii.fileDef,true,true);
718  }
719  }
720  }
721  }
722 
723  std::sort(m_usedDirs.begin(),m_usedDirs.end(),
724  [](const auto &u1,const auto &u2)
725  { return qstricmp(u1->dir()->getOutputFileBase(),u2->dir()->getOutputFileBase())<0; });
726 
727  for (const auto& usedDirectory : m_usedDirs)
728  {
729  usedDirectory->sort();
730  }
731 }

引用了 addUsesDependency(), LinkedMap< T, Hash, KeyEqual, Map >::begin(), LinkedMap< T, Hash, KeyEqual, Map >::end(), m_fileList , 以及 m_usedDirs.

◆ createNewDir()

DirDef * DirDefImpl::createNewDir ( const QCString path)
staticprivate

在文件 dirdef.cpp786 行定义.

787 {
788  ASSERT(path!=0);
789  DirDef *dir = Doxygen::dirLinkedMap->find(path);
790  if (dir==0) // new dir
791  {
792  dir = Doxygen::dirLinkedMap->add(path,
793  std::unique_ptr<DirDef>(
794  createDirDef(path)));
795  //printf("Adding new dir %s\n",path);
796  //printf("createNewDir %s short=%s\n",path,qPrint(dir->shortName()));
797  }
798  return dir;
799 }

引用了 LinkedMap< T, Hash, KeyEqual, Map >::add(), ASSERT, createDirDef(), Doxygen::dirLinkedMap , 以及 LinkedMap< T, Hash, KeyEqual, Map >::find().

被这些函数引用 mergeDirectoryInTree().

◆ definitionType()

virtual DefType DirDefImpl::definitionType ( ) const
inlinevirtual

Use this for dynamic inspection of the type of the derived class

实现了 DirDef.

在文件 dirdef.cpp56 行定义.

56 { return m_level; }

引用了 m_level.

◆ depGraphIsTrivial()

bool DirDefImpl::depGraphIsTrivial ( ) const
virtual

实现了 DirDef.

在文件 dirdef.cpp743 行定义.

744 {
745  return m_usedDirs.empty();
746 }

引用了 LinkedMap< T, Hash, KeyEqual, Map >::empty() , 以及 m_usedDirs.

◆ dirCount()

virtual int DirDefImpl::dirCount ( ) const
inlinevirtual

实现了 DirDef.

在文件 dirdef.cpp71 行定义.

75 :
76  static DirDef *mergeDirectoryInTree(const QCString &path);

◆ displayName()

virtual QCString DirDefImpl::displayName ( bool  includeScope = TRUE) const
inlinevirtual

Returns the name of the definition as it appears in the output

实现了 DirDef.

在文件 dirdef.cpp62 行定义.

66 { m_diskName = name; }

被这些函数引用 writeDirectoryGraph() , 以及 writeTagFile().

◆ endMemberDeclarations()

void DirDefImpl::endMemberDeclarations ( OutputList ol)
private

在文件 dirdef.cpp448 行定义.

449 {
450  ol.endMemberSections();
451 }

引用了 OutputList::endMemberSections().

被这些函数引用 writeDocumentation().

◆ getFiles()

virtual const FileList& DirDefImpl::getFiles ( ) const
inlinevirtual

实现了 DirDef.

在文件 dirdef.cpp65 行定义.

66 { m_diskName = name; }

◆ getOutputFileBase()

QCString DirDefImpl::getOutputFileBase ( ) const
virtual

Returns the base file name (without extension) of this definition. as it is referenced to/written to disk.

实现了 DirDef.

在文件 dirdef.cpp213 行定义.

214 {
215  //printf("DirDefImpl::getOutputFileBase() %s->dir_%s\n",
216  // qPrint(m_diskName),qPrint(encodeDirName(m_diskName)));
217  return "dir_"+encodeDirName(m_diskName);
218 }

引用了 encodeDirName() , 以及 m_diskName.

被这些函数引用 writeDocumentation() , 以及 writeTagFile().

◆ hasDetailedDescription()

bool DirDefImpl::hasDetailedDescription ( ) const
virtual

实现了 DirDef.

在文件 dirdef.cpp458 行定义.

459 {
460  static bool repeatBrief = Config_getBool(REPEAT_BRIEF);
461  return (!briefDescription().isEmpty() && repeatBrief) || !documentation().isEmpty();
462 }

引用了 DefinitionMixin< DirDef >::briefDescription(), Config_getBool, DefinitionMixin< DirDef >::documentation() , 以及 QCString::isEmpty().

◆ hasSubdirs()

virtual bool DirDefImpl::hasSubdirs ( ) const
inlinevirtual

实现了 DirDef.

在文件 dirdef.cpp68 行定义.

75 :
76  static DirDef *mergeDirectoryInTree(const QCString &path);

◆ isLinkable()

bool DirDefImpl::isLinkable ( ) const
virtual

Returns TRUE iff it is possible to link to this item. This can be a link to another project imported via a tag file.

实现了 DirDef.

在文件 dirdef.cpp147 行定义.

148 {
149  return isReference() || isLinkableInProject();
150 }

引用了 isLinkableInProject() , 以及 DefinitionMixin< DirDef >::isReference().

◆ isLinkableInProject()

bool DirDefImpl::isLinkableInProject ( ) const
virtual

Returns TRUE iff it is possible to link to this item within this project.

实现了 DirDef.

在文件 dirdef.cpp142 行定义.

143 {
144  return !isReference();
145 }

引用了 DefinitionMixin< DirDef >::isReference().

被这些函数引用 isLinkable().

◆ isParentOf()

bool DirDefImpl::isParentOf ( const DirDef dir) const
virtual

实现了 DirDef.

在文件 dirdef.cpp733 行定义.

734 {
735  if (dir->parent()==this) // this is a parent of dir
736  return TRUE;
737  else if (dir->parent()) // repeat for the parent of dir
738  return isParentOf(dir->parent());
739  else
740  return FALSE;
741 }

引用了 FALSE, DirDef::parent() , 以及 TRUE.

◆ level()

virtual int DirDefImpl::level ( ) const
inlinevirtual

实现了 DirDef.

在文件 dirdef.cpp69 行定义.

75 :
76  static DirDef *mergeDirectoryInTree(const QCString &path);

◆ matchPath()

bool DirDefImpl::matchPath ( const QCString path,
const StringVector l 
)
staticprivate

在文件 dirdef.cpp801 行定义.

802 {
803  for (const auto &s : l)
804  {
805  std::string prefix = s.substr(0,path.length());
806  if (qstricmp(prefix.c_str(),path)==0) // case insensitive compare
807  {
808  return TRUE;
809  }
810  }
811  return FALSE;
812 }

引用了 FALSE, QCString::length(), qstricmp() , 以及 TRUE.

被这些函数引用 mergeDirectoryInTree().

◆ mergeDirectoryInTree()

DirDef * DirDefImpl::mergeDirectoryInTree ( const QCString path)
static

strip part of path if it matches one of the paths in the Config_getList(STRIP_FROM_PATH) list

在文件 dirdef.cpp817 行定义.

818 {
819  //printf("DirDefImpl::mergeDirectoryInTree(%s)\n",qPrint(path));
820  int p=0,i=0;
821  DirDef *dir=0;
822  while ((i=path.find('/',p))!=-1)
823  {
824  QCString part=path.left(i+1);
825  if (!matchPath(part,Config_getList(STRIP_FROM_PATH)) && (part!="/" && part!="//"))
826  {
827  dir=createNewDir(part);
828  }
829  p=i+1;
830  }
831  return dir;
832 }

引用了 Config_getList, createNewDir(), QCString::find(), QCString::left() , 以及 matchPath().

被这些函数引用 buildDirectories().

◆ parent()

virtual DirDef* DirDefImpl::parent ( ) const
inlinevirtual

实现了 DirDef.

在文件 dirdef.cpp70 行定义.

75 :
76  static DirDef *mergeDirectoryInTree(const QCString &path);

被这些函数引用 addUsesDependency() , 以及 setLevel().

◆ setDirCount()

void DirDefImpl::setDirCount ( int  count)
virtual

实现了 DirDef.

在文件 dirdef.cpp164 行定义.

165 {
166  m_dirCount=count;
167 }

引用了 m_dirCount.

◆ setDiskName()

virtual void DirDefImpl::setDiskName ( const QCString name)
inlinevirtual

实现了 DirDef.

在文件 dirdef.cpp79 行定义.

103 {

◆ setLevel()

void DirDefImpl::setLevel ( )
virtual

实现了 DirDef.

在文件 dirdef.cpp616 行定义.

617 {
618  if (m_level==-1) // level not set before
619  {
620  DirDef *p = parent();
621  if (p)
622  {
623  p->setLevel();
624  m_level = p->level()+1;
625  }
626  else
627  {
628  m_level = 0;
629  }
630  }
631 }

引用了 DirDef::level(), m_level, parent() , 以及 DirDef::setLevel().

◆ setParent()

void DirDefImpl::setParent ( DirDef parent)
virtual

实现了 DirDef.

在文件 dirdef.cpp159 行定义.

160 {
161  m_parent=p;
162 }

引用了 m_parent.

◆ shortName()

virtual const QCString DirDefImpl::shortName ( ) const
inlinevirtual

实现了 DirDef.

在文件 dirdef.cpp63 行定义.

66 { m_diskName = name; }

被这些函数引用 writeDirectoryGraph().

◆ shortTitle()

QCString DirDefImpl::shortTitle ( ) const
virtual

实现了 DirDef.

在文件 dirdef.cpp453 行定义.

454 {
456 }

引用了 m_shortName, theTranslator , 以及 Translator::trDirReference().

被这些函数引用 writeDocumentation().

◆ sort()

void DirDefImpl::sort ( )
virtual

实现了 DirDef.

在文件 dirdef.cpp175 行定义.

176 {
177  std::sort(m_subdirs.begin(), m_subdirs.end(), compareDirDefs);
178  std::sort(m_fileList.begin(), m_fileList.end(), compareFileDefs);
179 }

引用了 compareDirDefs(), compareFileDefs(), m_fileList , 以及 m_subdirs.

◆ startMemberDeclarations()

void DirDefImpl::startMemberDeclarations ( OutputList ol)
private

在文件 dirdef.cpp443 行定义.

444 {
445  ol.startMemberSections();
446 }

引用了 OutputList::startMemberSections().

被这些函数引用 writeDocumentation().

◆ subDirs()

virtual const DirList& DirDefImpl::subDirs ( ) const
inlinevirtual

实现了 DirDef.

在文件 dirdef.cpp67 行定义.

75 :
76  static DirDef *mergeDirectoryInTree(const QCString &path);

◆ usedDirs()

virtual const UsedDirLinkedMap& DirDefImpl::usedDirs ( ) const
inlinevirtual

实现了 DirDef.

在文件 dirdef.cpp72 行定义.

75 :
76  static DirDef *mergeDirectoryInTree(const QCString &path);

◆ writeBriefDescription()

void DirDefImpl::writeBriefDescription ( OutputList ol)
private

在文件 dirdef.cpp267 行定义.

268 {
269  if (hasBriefDescription())
270  {
271  std::unique_ptr<IDocParser> parser { createDocParser() };
272  std::unique_ptr<DocRoot> rootNode { validatingParseDoc(
273  *parser.get(), briefFile(),briefLine(),this,0,briefDescription(),TRUE,FALSE,
274  QCString(),FALSE,FALSE,Config_getBool(MARKDOWN_SUPPORT)) };
275  if (rootNode && !rootNode->isEmpty())
276  {
277  ol.startParagraph();
278  ol.pushGeneratorState();
280  ol.writeString(" - ");
281  ol.popGeneratorState();
282  ol.writeDoc(rootNode.get(),this,0);
283  ol.pushGeneratorState();
285  ol.writeString(" \n");
287 
288  if (Config_getBool(REPEAT_BRIEF) ||
289  !documentation().isEmpty()
290  )
291  {
293  ol.startTextLink(QCString(),"details");
295  ol.endTextLink();
296  }
297  ol.popGeneratorState();
298 
299  ol.endParagraph();
300  }
301  }
302  ol.writeSynopsis();
303 }

引用了 DefinitionMixin< DirDef >::briefDescription(), DefinitionMixin< DirDef >::briefFile(), DefinitionMixin< DirDef >::briefLine(), Config_getBool, createDocParser(), OutputList::disable(), OutputList::disableAllBut(), DefinitionMixin< DirDef >::documentation(), OutputList::enable(), OutputList::endParagraph(), OutputList::endTextLink(), FALSE, DefinitionMixin< DirDef >::hasBriefDescription(), OutputGenerator::Html, OutputGenerator::Man, OutputList::parseText(), OutputList::popGeneratorState(), OutputList::pushGeneratorState(), OutputGenerator::RTF, OutputList::startParagraph(), OutputList::startTextLink(), theTranslator, Translator::trMore(), TRUE, validatingParseDoc(), OutputList::writeDoc(), OutputList::writeString() , 以及 OutputList::writeSynopsis().

被这些函数引用 writeDocumentation().

◆ writeDetailedDescription()

void DirDefImpl::writeDetailedDescription ( OutputList ol,
const QCString title 
)
private

在文件 dirdef.cpp220 行定义.

221 {
222  if ((!briefDescription().isEmpty() && Config_getBool(REPEAT_BRIEF)) ||
223  !documentation().isEmpty())
224  {
225  ol.pushGeneratorState();
227  ol.writeRuler();
228  ol.popGeneratorState();
229  ol.pushGeneratorState();
231  ol.writeAnchor(QCString(),"details");
232  ol.popGeneratorState();
233  ol.startGroupHeader();
234  ol.parseText(title);
235  ol.endGroupHeader();
236 
237  // repeat brief description
238  if (!briefDescription().isEmpty() && Config_getBool(REPEAT_BRIEF))
239  {
241  QCString(),FALSE,FALSE,Config_getBool(MARKDOWN_SUPPORT));
242  }
243  // separator between brief and details
244  if (!briefDescription().isEmpty() && Config_getBool(REPEAT_BRIEF) &&
245  !documentation().isEmpty())
246  {
247  ol.pushGeneratorState();
250  // ol.newParagraph(); // FIXME:PARA
251  ol.enableAll();
254  ol.writeString("\n\n");
255  ol.popGeneratorState();
256  }
257 
258  // write documentation
259  if (!documentation().isEmpty())
260  {
261  ol.generateDoc(docFile(),docLine(),this,0,documentation()+"\n",TRUE,FALSE,
262  QCString(),FALSE,FALSE,Config_getBool(MARKDOWN_SUPPORT));
263  }
264  }
265 }

引用了 DefinitionMixin< DirDef >::briefDescription(), DefinitionMixin< DirDef >::briefFile(), DefinitionMixin< DirDef >::briefLine(), Config_getBool, OutputList::disable(), OutputList::disableAllBut(), DefinitionMixin< DirDef >::docFile(), DefinitionMixin< DirDef >::docLine(), DefinitionMixin< DirDef >::documentation(), OutputList::enable(), OutputList::enableAll(), OutputList::endGroupHeader(), FALSE, OutputList::generateDoc(), OutputGenerator::Html, OutputGenerator::Latex, OutputGenerator::Man, OutputList::parseText(), OutputList::popGeneratorState(), OutputList::pushGeneratorState(), OutputGenerator::RTF, OutputList::startGroupHeader(), TRUE, OutputList::writeAnchor(), OutputList::writeRuler() , 以及 OutputList::writeString().

被这些函数引用 writeDocumentation().

◆ writeDirectoryGraph()

void DirDefImpl::writeDirectoryGraph ( OutputList ol)
private

在文件 dirdef.cpp305 行定义.

306 {
307  // write graph dependency graph
308  if (Config_getBool(DIRECTORY_GRAPH) && Config_getBool(HAVE_DOT))
309  {
310  DotDirDeps dirDep(this);
311  if (!dirDep.isTrivial())
312  {
313  msg("Generating dependency graph for directory %s\n",qPrint(displayName()));
315  //ol.startParagraph();
316  ol.startDirDepGraph();
318  ol.endDirDepGraph(dirDep);
319  //ol.endParagraph();
320  ol.enableAll();
321  }
322  }
323 }

引用了 Config_getBool, OutputList::disable(), displayName(), OutputList::enableAll(), OutputList::endDirDepGraph(), DotDirDeps::isTrivial(), OutputGenerator::Man, msg(), OutputList::parseText(), qPrint(), shortName(), OutputList::startDirDepGraph(), theTranslator , 以及 Translator::trDirDepGraph().

被这些函数引用 writeDocumentation().

◆ writeDocumentation()

void DirDefImpl::writeDocumentation ( OutputList ol)
virtual

实现了 DirDef.

在文件 dirdef.cpp501 行定义.

502 {
503  static bool generateTreeView = Config_getBool(GENERATE_TREEVIEW);
504  ol.pushGeneratorState();
505 
507  startFile(ol,getOutputFileBase(),name(),title,HLI_Files,!generateTreeView);
508 
509  if (!generateTreeView)
510  {
511  // write navigation path
513  ol.endQuickIndices();
514  }
515 
517  ol.pushGeneratorState();
519  ol.parseText(shortTitle());
520  ol.enableAll();
522  ol.parseText(title);
523  ol.popGeneratorState();
524  endTitle(ol,getOutputFileBase(),title);
525  ol.startContents();
526 
527  //---------------------------------------- start flexible part -------------------------------
528 
529  SrcLangExt lang = getLanguage();
530  for (const auto &lde : LayoutDocManager::instance().docEntries(LayoutDocManager::Directory))
531  {
532  switch (lde->kind())
533  {
536  break;
539  break;
542  break;
544  writeSubDirList(ol);
545  break;
547  writeFileList(ol);
548  break;
551  break;
553  {
554  const LayoutDocEntrySection *ls = (const LayoutDocEntrySection*)lde.get();
555  writeDetailedDescription(ol,ls->title(lang));
556  }
557  break;
601  err("Internal inconsistency: member %d should not be part of "
602  "LayoutDocManager::Directory entry list\n",lde->kind());
603  break;
604  }
605  }
606 
607  //---------------------------------------- end flexible part -------------------------------
608 
609  ol.endContents();
610 
611  endFileWithNavPath(this,ol);
612 
613  ol.popGeneratorState();
614 }

引用了 LayoutDocEntry::AuthorSection, LayoutDocEntry::BriefDesc, LayoutDocEntry::ClassAllMembersLink, LayoutDocEntry::ClassCollaborationGraph, LayoutDocEntry::ClassIncludes, LayoutDocEntry::ClassInheritanceGraph, LayoutDocEntry::ClassInlineClasses, LayoutDocEntry::ClassNestedClasses, LayoutDocEntry::ClassUsedFiles, LayoutDocEntry::ConceptDefinition, Config_getBool, LayoutDocEntry::DetailedDesc, LayoutDocManager::Directory, LayoutDocEntry::DirFiles, LayoutDocEntry::DirGraph, LayoutDocEntry::DirSubDirs, OutputList::disable(), OutputList::disableAllBut(), OutputList::enableAll(), OutputList::endContents(), endFileWithNavPath(), endMemberDeclarations(), OutputList::endQuickIndices(), endTitle(), err(), LayoutDocEntry::FileClasses, LayoutDocEntry::FileConcepts, LayoutDocEntry::FileConstantGroups, LayoutDocEntry::FileExceptions, LayoutDocEntry::FileIncludedByGraph, LayoutDocEntry::FileIncludeGraph, LayoutDocEntry::FileIncludes, LayoutDocEntry::FileInlineClasses, LayoutDocEntry::FileInterfaces, LayoutDocEntry::FileNamespaces, LayoutDocEntry::FileSourceLink, LayoutDocEntry::FileStructs, DefinitionMixin< DirDef >::getLanguage(), getOutputFileBase(), LayoutDocEntry::GroupClasses, LayoutDocEntry::GroupConcepts, LayoutDocEntry::GroupDirs, LayoutDocEntry::GroupFiles, LayoutDocEntry::GroupGraph, LayoutDocEntry::GroupInlineClasses, LayoutDocEntry::GroupNamespaces, LayoutDocEntry::GroupNestedGroups, LayoutDocEntry::GroupPageDocs, HLI_Files, OutputGenerator::Html, LayoutDocManager::instance(), m_dispName, LayoutDocEntry::MemberDecl, LayoutDocEntry::MemberDeclEnd, LayoutDocEntry::MemberDeclStart, LayoutDocEntry::MemberDef, LayoutDocEntry::MemberDefEnd, LayoutDocEntry::MemberDefStart, LayoutDocEntry::MemberGroups, DefinitionMixin< DirDef >::name(), LayoutDocEntry::NamespaceClasses, LayoutDocEntry::NamespaceConcepts, LayoutDocEntry::NamespaceExceptions, LayoutDocEntry::NamespaceInlineClasses, LayoutDocEntry::NamespaceInterfaces, LayoutDocEntry::NamespaceNestedConstantGroups, LayoutDocEntry::NamespaceNestedNamespaces, LayoutDocEntry::NamespaceStructs, OutputList::parseText(), OutputList::popGeneratorState(), OutputList::pushGeneratorState(), shortTitle(), OutputList::startContents(), startFile(), startMemberDeclarations(), startTitle(), theTranslator, LayoutDocEntrySection::title(), Translator::trDirReference(), writeBriefDescription(), writeDetailedDescription(), writeDirectoryGraph(), writeFileList(), DefinitionMixin< DirDef >::writeNavigationPath() , 以及 writeSubDirList().

◆ writeFileList()

void DirDefImpl::writeFileList ( OutputList ol)
private

在文件 dirdef.cpp374 行定义.

375 {
376  int numFiles = 0;
377  for (const auto &fd : m_fileList)
378  {
379  if (fd->hasDocumentation())
380  {
381  numFiles++;
382  }
383  }
384 
385  // write file list
386  if (numFiles>0)
387  {
388  ol.startMemberHeader("files");
390  ol.endMemberHeader();
391  ol.startMemberList();
392  for (const auto &fd : m_fileList)
393  {
394  if (fd->hasDocumentation())
395  {
397  ol.startMemberItem(fd->anchor(),0);
399  ol.insertMemberAlign();
400  if (fd->isLinkable())
401  {
402  ol.writeObjectLink(fd->getReference(),fd->getOutputFileBase(),QCString(),fd->name());
403  }
404  else
405  {
406  ol.startBold();
407  ol.docify(fd->name());
408  ol.endBold();
409  }
410  if (fd->generateSourceFile())
411  {
412  ol.pushGeneratorState();
414  ol.docify(" ");
415  ol.startTextLink(fd->includeName(),QCString());
416  ol.docify("[");
418  ol.docify("]");
419  ol.endTextLink();
420  ol.popGeneratorState();
421  }
422  ol.endMemberItem();
423  if (!fd->briefDescription().isEmpty() && Config_getBool(BRIEF_MEMBER_DESC))
424  {
425  ol.startMemberDescription(fd->getOutputFileBase());
426  ol.generateDoc(briefFile(),briefLine(),fd,0,fd->briefDescription(),
427  FALSE, // indexWords
428  FALSE, // isExample
429  QCString(), // exampleName
430  TRUE, // single line
431  TRUE, // link from index
432  Config_getBool(MARKDOWN_SUPPORT)
433  );
435  }
436  ol.endMemberDeclaration(fd->anchor(),QCString());
437  }
438  }
439  ol.endMemberList();
440  }
441 }

引用了 DefinitionMixin< DirDef >::briefFile(), DefinitionMixin< DirDef >::briefLine(), Config_getBool, OutputList::disableAllBut(), OutputList::docify(), OutputList::endBold(), OutputList::endMemberDeclaration(), OutputList::endMemberDescription(), OutputList::endMemberHeader(), OutputList::endMemberItem(), OutputList::endMemberList(), OutputList::endTextLink(), FALSE, OutputList::generateDoc(), OutputGenerator::Html, OutputList::insertMemberAlign(), m_fileList, OutputList::parseText(), OutputList::popGeneratorState(), OutputList::pushGeneratorState(), OutputList::startBold(), OutputList::startMemberDeclaration(), OutputList::startMemberDescription(), OutputList::startMemberHeader(), OutputList::startMemberItem(), OutputList::startMemberList(), OutputList::startTextLink(), theTranslator, Translator::trCode(), Translator::trFile(), TRUE , 以及 OutputList::writeObjectLink().

被这些函数引用 writeDocumentation().

◆ writeSubDirList()

void DirDefImpl::writeSubDirList ( OutputList ol)
private

在文件 dirdef.cpp325 行定义.

326 {
327  int numSubdirs = 0;
328  for(const auto dd : m_subdirs)
329  {
330  if (dd->hasDocumentation() || !dd->getFiles().empty())
331  {
332  numSubdirs++;
333  }
334  }
335 
336  // write subdir list
337  if (numSubdirs>0)
338  {
339  ol.startMemberHeader("subdirs");
341  ol.endMemberHeader();
342  ol.startMemberList();
343  for(const auto dd : m_subdirs)
344  {
345  if (dd->hasDocumentation() || dd->getFiles().empty())
346  {
348  ol.startMemberItem(dd->anchor(),0);
350  ol.insertMemberAlign();
351  ol.writeObjectLink(dd->getReference(),dd->getOutputFileBase(),QCString(),dd->shortName());
352  ol.endMemberItem();
353  if (!dd->briefDescription().isEmpty() && Config_getBool(BRIEF_MEMBER_DESC))
354  {
355  ol.startMemberDescription(dd->getOutputFileBase());
356  ol.generateDoc(briefFile(),briefLine(),dd,0,dd->briefDescription(),
357  FALSE, // indexWords
358  FALSE, // isExample
359  QCString(), // exampleName
360  TRUE, // single line
361  TRUE, // link from index
362  Config_getBool(MARKDOWN_SUPPORT)
363  );
365  }
366  ol.endMemberDeclaration(dd->anchor(),QCString());
367  }
368  }
369 
370  ol.endMemberList();
371  }
372 }

引用了 DefinitionMixin< DirDef >::briefFile(), DefinitionMixin< DirDef >::briefLine(), Config_getBool, OutputList::endMemberDeclaration(), OutputList::endMemberDescription(), OutputList::endMemberHeader(), OutputList::endMemberItem(), OutputList::endMemberList(), FALSE, OutputList::generateDoc(), OutputList::insertMemberAlign(), m_subdirs, OutputList::parseText(), OutputList::startMemberDeclaration(), OutputList::startMemberDescription(), OutputList::startMemberHeader(), OutputList::startMemberItem(), OutputList::startMemberList(), theTranslator, Translator::trDir(), TRUE , 以及 OutputList::writeObjectLink().

被这些函数引用 writeDocumentation().

◆ writeTagFile()

void DirDefImpl::writeTagFile ( TextStream t)
virtual

实现了 DirDef.

在文件 dirdef.cpp464 行定义.

465 {
466  tagFile << " <compound kind=\"dir\">\n";
467  tagFile << " <name>" << convertToXML(displayName()) << "</name>\n";
468  tagFile << " <path>" << convertToXML(name()) << "</path>\n";
469  tagFile << " <filename>" << addHtmlExtensionIfMissing(getOutputFileBase()) << "</filename>\n";
470  for (const auto &lde : LayoutDocManager::instance().docEntries(LayoutDocManager::Directory))
471  {
472  switch (lde->kind())
473  {
475  {
476  if (m_subdirs.size()>0)
477  {
478  for(const auto dd : m_subdirs)
479  {
480  tagFile << " <dir>" << convertToXML(dd->displayName()) << "</dir>\n";
481  }
482  }
483  }
484  break;
486  {
487  for (const auto &fd : m_fileList)
488  {
489  tagFile << " <file>" << convertToXML(fd->name()) << "</file>\n";
490  }
491  }
492  break;
493  default:
494  break;
495  }
496  }
497  writeDocAnchorsToTagFile(tagFile);
498  tagFile << " </compound>\n";
499 }

引用了 addHtmlExtensionIfMissing(), convertToXML(), LayoutDocManager::Directory, LayoutDocEntry::DirFiles, LayoutDocEntry::DirSubDirs, displayName(), getOutputFileBase(), LayoutDocManager::instance(), m_fileList, m_subdirs, DefinitionMixin< DirDef >::name() , 以及 DefinitionMixin< DirDef >::writeDocAnchorsToTagFile().

类成员变量说明

◆ m_dirCount

int DirDefImpl::m_dirCount = -1
private

在文件 dirdef.cpp109 行定义.

被这些函数引用 setDirCount().

◆ m_diskName

QCString DirDefImpl::m_diskName
private

在文件 dirdef.cpp107 行定义.

被这些函数引用 getOutputFileBase().

◆ m_dispName

QCString DirDefImpl::m_dispName
private

在文件 dirdef.cpp105 行定义.

被这些函数引用 writeDocumentation().

◆ m_fileList

FileList DirDefImpl::m_fileList
private

在文件 dirdef.cpp108 行定义.

被这些函数引用 addFile(), computeDependencies(), sort(), writeFileList() , 以及 writeTagFile().

◆ m_level

int DirDefImpl::m_level
private

在文件 dirdef.cpp110 行定义.

被这些函数引用 definitionType() , 以及 setLevel().

◆ m_parent

DirDef* DirDefImpl::m_parent
private

在文件 dirdef.cpp111 行定义.

被这些函数引用 codeSymbolType() , 以及 setParent().

◆ m_shortName

QCString DirDefImpl::m_shortName
private

在文件 dirdef.cpp106 行定义.

被这些函数引用 shortTitle().

◆ m_subdirs

DirList DirDefImpl::m_subdirs
private

在文件 dirdef.cpp104 行定义.

被这些函数引用 addSubDir(), sort(), writeSubDirList() , 以及 writeTagFile().

◆ m_usedDirs

UsedDirLinkedMap DirDefImpl::m_usedDirs
private

在文件 dirdef.cpp112 行定义.

被这些函数引用 addUsesDependency(), anchor(), computeDependencies() , 以及 depGraphIsTrivial().


该类的文档由以下文件生成:
DefinitionMixin< DirDef >::briefFile
virtual QCString briefFile() const
Definition: definitionimpl.h:171
LayoutDocEntry::GroupPageDocs
@ GroupPageDocs
Definition: layout.h:65
OutputList::endDirDepGraph
void endDirDepGraph(DotDirDeps &g)
Definition: outputlist.h:401
OutputList::disableAllBut
void disableAllBut(OutputGenerator::OutputType o)
Definition: outputlist.cpp:76
DefinitionMixin< DirDef >::isReference
virtual bool isReference() const
Definition: definitionimpl.h:183
OutputList::startMemberDescription
void startMemberDescription(const QCString &anchor, const QCString &inheritId=QCString(), bool typ=false)
Definition: outputlist.h:306
startTitle
void startTitle(OutputList &ol, const QCString &fileName, const DefinitionMutable *def)
Definition: index.cpp:219
FilePair::key
static QCString key(const FileDef *srcFd, const FileDef *dstFd)
Definition: dirdef.cpp:836
DirDefImpl::isParentOf
virtual bool isParentOf(const DirDef *dir) const
Definition: dirdef.cpp:733
DirDefImpl::writeFileList
void writeFileList(OutputList &ol)
Definition: dirdef.cpp:374
OutputList::endGroupHeader
void endGroupHeader(int extraLevels=0)
Definition: outputlist.h:171
OutputList::startMemberList
void startMemberList()
Definition: outputlist.h:197
LayoutDocEntry::NamespaceNestedNamespaces
@ NamespaceNestedNamespaces
Definition: layout.h:52
LayoutDocManager::Directory
@ Directory
Definition: layout.h:203
Translator::trDirDepGraph
virtual QCString trDirDepGraph(const QCString &name)=0
endTitle
void endTitle(OutputList &ol, const QCString &fileName, const QCString &name)
Definition: index.cpp:228
DirDefImpl::m_level
int m_level
Definition: dirdef.cpp:110
OutputList::endMemberDeclaration
void endMemberDeclaration(const QCString &anchor, const QCString &inheritId)
Definition: outputlist.h:312
DotDirDeps
Representation of an directory dependency graph
Definition: dotdirdeps.h:25
LayoutDocEntry::GroupConcepts
@ GroupConcepts
Definition: layout.h:63
DirDefImpl::writeBriefDescription
void writeBriefDescription(OutputList &ol)
Definition: dirdef.cpp:267
LayoutDocEntry::GroupFiles
@ GroupFiles
Definition: layout.h:64
LayoutDocEntry::NamespaceInlineClasses
@ NamespaceInlineClasses
Definition: layout.h:54
LayoutDocEntry::MemberDef
@ MemberDef
Definition: layout.h:38
LayoutDocEntry::FileClasses
@ FileClasses
Definition: layout.h:57
OutputList::docify
void docify(const QCString &s)
Definition: outputlist.h:137
UsedDir::addFileDep
void addFileDep(const FileDef *srcFd, const FileDef *dstFd, bool srcDirect, bool dstDirect)
Take up dependency between files.
Definition: dirdef.cpp:760
LayoutDocEntry::ConceptDefinition
@ ConceptDefinition
Definition: layout.h:49
DefinitionMixin< DirDef >::writeDocAnchorsToTagFile
virtual void writeDocAnchorsToTagFile(TextStream &fs) const
Definition: definitionimpl.h:268
QCString::length
uint length() const
Returns the length of the string, not counting the 0-terminator.
Definition: qcstring.h:147
encodeDirName
static QCString encodeDirName(const QCString &anchor)
Definition: dirdef.cpp:181
OutputList::endMemberDescription
void endMemberDescription()
Definition: outputlist.h:308
DirDef
A model of a directory symbol.
Definition: dirdef.h:110
QCString::findRev
int findRev(char c, int index=-1, bool cs=TRUE) const
Definition: qcstring.cpp:86
DefinitionMixin< DirDef >::docFile
virtual QCString docFile() const
Definition: definitionimpl.h:164
QCString::isEmpty
bool isEmpty() const
Returns TRUE iff the string is empty
Definition: qcstring.h:144
DirDefImpl::getOutputFileBase
virtual QCString getOutputFileBase() const
Definition: dirdef.cpp:213
OutputList::startBold
void startBold()
Definition: outputlist.h:302
DirDefImpl::m_usedDirs
UsedDirLinkedMap m_usedDirs
Definition: dirdef.cpp:112
OutputList::startMemberSections
void startMemberSections()
Definition: outputlist.h:177
OutputList::writeString
void writeString(const QCString &text)
Definition: outputlist.h:111
LinkedMap::empty
bool empty() const
Definition: linkedmap.h:222
Translator::trDirReference
virtual QCString trDirReference(const QCString &dirName)=0
OutputList::insertMemberAlign
void insertMemberAlign(bool templ=FALSE)
Definition: outputlist.h:233
LayoutDocEntry::ClassInheritanceGraph
@ ClassInheritanceGraph
Definition: layout.h:44
SrcLangExt
SrcLangExt
Language as given by extension
Definition: types.h:41
LayoutDocEntry::MemberDeclStart
@ MemberDeclStart
Definition: layout.h:37
LinkedMap::add
T * add(const char *k, Args &&... args)
Adds a new object to the ordered vector if it was not added already.
Definition: linkedmap.h:103
LayoutDocEntry::NamespaceClasses
@ NamespaceClasses
Definition: layout.h:53
LayoutDocEntry::GroupClasses
@ GroupClasses
Definition: layout.h:63
DefinitionMixin< DirDef >::getLanguage
virtual SrcLangExt getLanguage() const
Definition: definitionimpl.h:189
err
void err(const char *fmt,...)
Definition: message.cpp:203
QCString::at
char & at(size_t i)
Returns a reference to the character at index i.
Definition: qcstring.h:477
DefinitionMixin< DirDef >::name
virtual QCString name() const
Definition: definitionimpl.h:155
Doxygen::dirLinkedMap
static DirLinkedMap * dirLinkedMap
Definition: doxygen.h:109
QCString::find
int find(char c, int index=0, bool cs=TRUE) const
Definition: qcstring.cpp:38
LayoutDocEntry::ClassIncludes
@ ClassIncludes
Definition: layout.h:43
LayoutDocEntry::FileNamespaces
@ FileNamespaces
Definition: layout.h:57
LayoutDocEntry::FileConcepts
@ FileConcepts
Definition: layout.h:57
DefinitionMixin< DirDef >::briefLine
virtual int briefLine() const
Definition: definitionimpl.h:167
compareDirDefs
bool compareDirDefs(const DirDef *item1, const DirDef *item2)
Definition: dirdef.cpp:1115
endFileWithNavPath
void endFileWithNavPath(const Definition *d, OutputList &ol)
Definition: index.cpp:274
LayoutDocEntry::MemberDefEnd
@ MemberDefEnd
Definition: layout.h:38
LayoutDocEntry::DirSubDirs
@ DirSubDirs
Definition: layout.h:68
DirDefImpl::m_parent
DirDef * m_parent
Definition: dirdef.cpp:111
DefinitionMixin< DirDef >::hasBriefDescription
virtual bool hasBriefDescription() const
Definition: definitionimpl.h:199
OutputList::writeDoc
void writeDoc(DocRoot *root, const Definition *ctx, const MemberDef *md, int id=0)
Definition: outputlist.cpp:169
LinkedMap::begin
iterator begin()
Definition: linkedmap.h:214
DirDef::level
virtual int level() const =0
UsedDir
Usage information of a directory.
Definition: dirdef.h:63
LayoutDocEntry::NamespaceNestedConstantGroups
@ NamespaceNestedConstantGroups
Definition: layout.h:52
LayoutDocEntry::GroupInlineClasses
@ GroupInlineClasses
Definition: layout.h:63
HLI_Files
@ HLI_Files
Definition: index.h:159
OutputGenerator::RTF
@ RTF
Definition: outputgen.h:333
DirDefImpl::writeDetailedDescription
void writeDetailedDescription(OutputList &ol, const QCString &title)
Definition: dirdef.cpp:220
LayoutDocEntry::ClassCollaborationGraph
@ ClassCollaborationGraph
Definition: layout.h:45
DirDefImpl::displayName
virtual QCString displayName(bool=TRUE) const
Definition: dirdef.cpp:62
DirDef::getOutputFileBase
virtual QCString getOutputFileBase() const =0
LayoutDocEntry::FileStructs
@ FileStructs
Definition: layout.h:57
OutputList::endQuickIndices
void endQuickIndices()
Definition: outputlist.h:349
addHtmlExtensionIfMissing
QCString addHtmlExtensionIfMissing(const QCString &fName)
Definition: util.cpp:5275
LayoutDocEntry::FileIncludes
@ FileIncludes
Definition: layout.h:58
OutputGenerator::Latex
@ Latex
Definition: outputgen.h:333
DefinitionMixin< DirDef >::briefDescription
virtual QCString briefDescription(bool abbreviate=FALSE) const
Definition: definitionimpl.h:165
DirDefImpl::writeDirectoryGraph
void writeDirectoryGraph(OutputList &ol)
Definition: dirdef.cpp:305
DirDefImpl::m_dirCount
int m_dirCount
Definition: dirdef.cpp:109
OutputList::startMemberItem
void startMemberItem(const QCString &anchor, int i1, const QCString &id=QCString())
Definition: outputlist.h:209
OutputList::disable
void disable(OutputGenerator::OutputType o)
Definition: outputlist.cpp:100
DirDef::addUsesDependency
virtual void addUsesDependency(const DirDef *usedDir, const FileDef *srcFd, const FileDef *dstFd, bool srcDirect, bool dstDirect)=0
OutputList::startMemberHeader
void startMemberHeader(const QCString &anchor, int typ=2)
Definition: outputlist.h:185
QCString::left
QCString left(size_t len) const
Definition: qcstring.h:212
DirDefImpl::endMemberDeclarations
void endMemberDeclarations(OutputList &ol)
Definition: dirdef.cpp:448
LayoutDocEntrySection
Definition: layout.h:84
LayoutDocEntry::MemberDeclEnd
@ MemberDeclEnd
Definition: layout.h:37
Translator::trCode
virtual QCString trCode()=0
OutputList::writeAnchor
void writeAnchor(const QCString &fileName, const QCString &name)
Definition: outputlist.h:239
Translator::trMore
virtual QCString trMore()=0
DirDefImpl::m_fileList
FileList m_fileList
Definition: dirdef.cpp:108
OutputList::endContents
void endContents()
Definition: outputlist.h:363
createDirDef
DirDef * createDirDef(const QCString &path)
Definition: dirdef.cpp:102
LayoutDocEntry::MemberDefStart
@ MemberDefStart
Definition: layout.h:38
qstricmp
int qstricmp(const char *str1, const char *str2)
Definition: qcstring.cpp:433
LayoutDocEntry::DirFiles
@ DirFiles
Definition: layout.h:68
theTranslator
Translator * theTranslator
Definition: language.cpp:156
LayoutDocEntry::NamespaceExceptions
@ NamespaceExceptions
Definition: layout.h:53
OutputList::writeRuler
void writeRuler()
Definition: outputlist.h:237
DirDefImpl::createNewDir
static DirDef * createNewDir(const QCString &path)
Definition: dirdef.cpp:786
LayoutDocEntry::FileConstantGroups
@ FileConstantGroups
Definition: layout.h:57
validatingParseDoc
DocRoot * validatingParseDoc(IDocParser &parserIntf, const QCString &fileName, int startLine, const Definition *ctx, const MemberDef *md, const QCString &input, bool indexWords, bool isExample, const QCString &exampleName, bool singleLine, bool linkFromIndex, bool markdownSupport)
Definition: docparser.cpp:7495
DefinitionMutable::setOuterScope
virtual void setOuterScope(Definition *d)=0
LayoutDocEntry::GroupGraph
@ GroupGraph
Definition: layout.h:65
LayoutDocEntry::NamespaceStructs
@ NamespaceStructs
Definition: layout.h:53
OutputList::endParagraph
void endParagraph()
Definition: outputlist.h:109
startFile
void startFile(OutputList &ol, const QCString &name, const QCString &manName, const QCString &title, HighlightedItem hli, bool additionalIndices, const QCString &altSidebarName)
Definition: index.cpp:235
TRUE
#define TRUE
Definition: qcstring.h:36
OutputList::endMemberList
void endMemberList()
Definition: outputlist.h:199
DirDefImpl::isLinkableInProject
virtual bool isLinkableInProject() const
Definition: dirdef.cpp:142
LayoutDocEntry::GroupNestedGroups
@ GroupNestedGroups
Definition: layout.h:64
DirDefImpl::m_subdirs
DirList m_subdirs
Definition: dirdef.cpp:104
OutputList::endMemberItem
void endMemberItem()
Definition: outputlist.h:211
OutputGenerator::Html
@ Html
Definition: outputgen.h:333
LinkedMap::find
const T * find(const std::string &key) const
Find an object given the key.
Definition: linkedmap.h:60
OutputList::enableAll
void enableAll()
Definition: outputlist.cpp:84
DirDefImpl::mergeDirectoryInTree
static DirDef * mergeDirectoryInTree(const QCString &path)
Definition: dirdef.cpp:817
DefinitionMixin< DirDef >::docLine
virtual int docLine() const
Definition: definitionimpl.h:163
OutputList::startContents
void startContents()
Definition: outputlist.h:361
OutputList::startGroupHeader
void startGroupHeader(int extraLevels=0)
Definition: outputlist.h:169
OutputList::endMemberSections
void endMemberSections()
Definition: outputlist.h:179
OutputList::popGeneratorState
void popGeneratorState()
Definition: outputlist.cpp:134
OutputList::startTextLink
void startTextLink(const QCString &file, const QCString &anchor)
Definition: outputlist.h:152
LinkedMap::end
iterator end()
Definition: linkedmap.h:215
DirDefImpl::shortTitle
virtual QCString shortTitle() const
Definition: dirdef.cpp:453
FilePair
Class representing a pair of FileDef objects
Definition: dirdef.h:41
DefinitionMixin< DirDef >::documentation
virtual QCString documentation() const
Definition: definitionimpl.h:162
compareFileDefs
bool compareFileDefs(const FileDef *fd1, const FileDef *fd2)
Definition: filedef.cpp:1771
DefinitionMixin< DirDef >::setLocalName
virtual void setLocalName(const QCString &name)
Definition: definitionimpl.h:270
DefinitionMixin< DirDef >::DefinitionMixin
DefinitionMixin(const QCString &defFileName, int defLine, int defColumn, const QCString &name, const char *b=0, const char *d=0, bool isSymbol=TRUE)
Definition: definitionimpl.h:146
QCString::mid
QCString mid(size_t index, size_t len=static_cast< size_t >(-1)) const
Definition: qcstring.h:224
OutputList::endMemberHeader
void endMemberHeader()
Definition: outputlist.h:187
DirDefImpl::m_shortName
QCString m_shortName
Definition: dirdef.cpp:106
LayoutDocEntry::ClassAllMembersLink
@ ClassAllMembersLink
Definition: layout.h:45
DirDefImpl::parent
virtual DirDef * parent() const
Definition: dirdef.cpp:70
Config_getBool
#define Config_getBool(name)
Definition: config.h:33
LayoutDocEntry::GroupDirs
@ GroupDirs
Definition: layout.h:64
DirDefImpl::startMemberDeclarations
void startMemberDeclarations(OutputList &ol)
Definition: dirdef.cpp:443
Translator::trFile
virtual QCString trFile(bool first_capital, bool singular)=0
DirDefImpl::matchPath
static bool matchPath(const QCString &path, const StringVector &l)
Definition: dirdef.cpp:801
LayoutDocEntry::DetailedDesc
@ DetailedDesc
Definition: layout.h:39
msg
void msg(const char *fmt,...)
Definition: message.cpp:53
LayoutDocManager::instance
static LayoutDocManager & instance()
Returns a reference to this singleton.
Definition: layout.cpp:1574
LayoutDocEntry::FileInterfaces
@ FileInterfaces
Definition: layout.h:57
OutputList::writeSynopsis
void writeSynopsis()
Definition: outputlist.h:337
OutputList::parseText
void parseText(const QCString &textStr)
Definition: outputlist.cpp:179
UsedDir::findFilePair
FilePair * findFilePair(const QCString &name)
Definition: dirdef.cpp:781
qPrint
const char * qPrint(const char *s)
Definition: qcstring.h:589
DirDefImpl::m_diskName
QCString m_diskName
Definition: dirdef.cpp:107
LayoutDocEntry::MemberGroups
@ MemberGroups
Definition: layout.h:36
LayoutDocEntry::ClassInlineClasses
@ ClassInlineClasses
Definition: layout.h:43
DirDefImpl::shortName
virtual const QCString shortName() const
Definition: dirdef.cpp:63
OutputList::generateDoc
void generateDoc(const QCString &fileName, int startLine, const Definition *ctx, const MemberDef *md, const QCString &docStr, bool indexWords, bool isExample, const QCString &exampleName, bool singleLine, bool linkFromIndex, bool markdownSupport)
Definition: outputlist.cpp:142
DirDef::setLevel
virtual void setLevel()=0
ASSERT
#define ASSERT(x)
Definition: qcstring.h:44
OutputList::pushGeneratorState
void pushGeneratorState()
Definition: outputlist.cpp:126
DirDefImpl::m_dispName
QCString m_dispName
Definition: dirdef.cpp:105
convertToXML
QCString convertToXML(const QCString &s, bool keepEntities)
Definition: util.cpp:3948
FileDef
A model of a file symbol.
Definition: filedef.h:73
LayoutDocEntry::BriefDesc
@ BriefDesc
Definition: layout.h:39
LayoutDocEntry::NamespaceConcepts
@ NamespaceConcepts
Definition: layout.h:53
stripFromPath
static QCString stripFromPath(const QCString &path, const StringVector &l)
Definition: util.cpp:292
LayoutDocEntry::DirGraph
@ DirGraph
Definition: layout.h:68
DefinitionMixin< DirDef >::writeNavigationPath
virtual void writeNavigationPath(OutputList &ol) const
Definition: definitionimpl.h:258
LayoutDocEntry::FileIncludeGraph
@ FileIncludeGraph
Definition: layout.h:58
LayoutDocEntry::FileIncludedByGraph
@ FileIncludedByGraph
Definition: layout.h:59
OutputList::writeObjectLink
void writeObjectLink(const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name)
Definition: outputlist.h:141
LayoutDocEntry::ClassUsedFiles
@ ClassUsedFiles
Definition: layout.h:46
LayoutDocEntry::FileSourceLink
@ FileSourceLink
Definition: layout.h:59
OutputList::startMemberDeclaration
void startMemberDeclaration()
Definition: outputlist.h:310
DirDef::setParent
virtual void setParent(DirDef *parent)=0
DirDef::parent
virtual DirDef * parent() const =0
LayoutDocEntry::ClassNestedClasses
@ ClassNestedClasses
Definition: layout.h:44
OutputList::startDirDepGraph
void startDirDepGraph()
Definition: outputlist.h:399
LayoutDocEntry::FileExceptions
@ FileExceptions
Definition: layout.h:57
OutputList::enable
void enable(OutputGenerator::OutputType o)
Definition: outputlist.cpp:108
Translator::trDir
virtual QCString trDir(bool first_capital, bool singular)=0
LayoutDocEntry::NamespaceInterfaces
@ NamespaceInterfaces
Definition: layout.h:53
LayoutDocEntry::FileInlineClasses
@ FileInlineClasses
Definition: layout.h:60
LayoutDocEntry::GroupNamespaces
@ GroupNamespaces
Definition: layout.h:63
DirDefImpl::writeSubDirList
void writeSubDirList(OutputList &ol)
Definition: dirdef.cpp:325
OutputList::endTextLink
void endTextLink()
Definition: outputlist.h:154
LayoutDocEntry::MemberDecl
@ MemberDecl
Definition: layout.h:37
OutputList::startParagraph
void startParagraph(const QCString &classDef=QCString())
Definition: outputlist.h:107
LayoutDocEntry::AuthorSection
@ AuthorSection
Definition: layout.h:40
LayoutDocEntrySection::title
QCString title(SrcLangExt lang) const
Definition: layout.cpp:1661
createDocParser
std::unique_ptr< IDocParser > createDocParser()
Definition: docparser.cpp:179
Config_getList
#define Config_getList(name)
Definition: config.h:37
DirDefImpl::addUsesDependency
virtual void addUsesDependency(const DirDef *usedDir, const FileDef *srcFd, const FileDef *dstFd, bool srcDirect, bool dstDirect)
Add as "uses" dependency between this dir and dir, that was caused by a dependency on file fd.
Definition: dirdef.cpp:638
FALSE
#define FALSE
Definition: qcstring.h:33
OutputList::endBold
void endBold()
Definition: outputlist.h:304
OutputGenerator::Man
@ Man
Definition: outputgen.h:333
QCString
This is an alternative implementation of QCString.
Definition: qcstring.h:108