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

Public 成员函数

 Private (const MemberNameInfoLinkedMap &ml)
 
- Public 成员函数 继承自 GenericNodeListContext
 GenericNodeListContext ()
 
uint count () const
 Returns the number of elements in the list 更多...
 
TemplateVariant at (uint index) const
 Returns the element at index position index. 更多...
 
TemplateListIntf::ConstIteratorPtr createIterator () const
 Creates a new iterator for this list. 更多...
 
void append (const TemplateVariant &ctn)
 
bool isEmpty () const
 
- Public 成员函数 继承自 TemplateListIntf
virtual ~TemplateListIntf ()
 Destroys the list 更多...
 

额外继承的成员函数

- Public 类型 继承自 TemplateListIntf
using ConstIteratorPtr = std::unique_ptr< ConstIterator >
 
- 静态 Public 成员函数 继承自 GenericNodeListContext
static TemplateListIntfPtr alloc ()
 

详细描述

在文件 context.cpp7710 行定义.

构造及析构函数说明

◆ Private()

AllMembersListContext::Private::Private ( const MemberNameInfoLinkedMap ml)
inline

在文件 context.cpp7713 行定义.

7714  {
7715  static bool hideUndocMembers = Config_getBool(HIDE_UNDOC_MEMBERS);
7716  for (auto &mni : ml)
7717  {
7718  for (auto &mi : *mni)
7719  {
7720  const MemberDef *md=mi->memberDef();
7721  const ClassDef *cd=md->getClassDef();
7722  if (cd && !md->isAnonymous())
7723  {
7724  if ((cd->isLinkable() && md->isLinkable()) ||
7725  (!cd->isArtificial() && !hideUndocMembers &&
7726  (protectionLevelVisible(md->protection()) || md->isFriend())
7727  )
7728  )
7729  {
7730  append(MemberInfoContext::alloc(mi.get()));
7731  }
7732  }
7733  }
7734  }
7735  }

引用了 MemberInfoContext::alloc(), GenericNodeListContext::append(), Config_getBool, MemberDef::getClassDef(), Definition::isAnonymous(), Definition::isArtificial(), MemberDef::isFriend(), MemberDef::isLinkable(), ClassDef::isLinkable(), MemberDef::protection() , 以及 protectionLevelVisible().


该类的文档由以下文件生成:
GenericNodeListContext::append
void append(const TemplateVariant &ctn)
Definition: context.cpp:220
protectionLevelVisible
bool protectionLevelVisible(Protection prot)
Definition: util.cpp:6585
MemberDef::isLinkable
virtual bool isLinkable() const =0
MemberDef
A model of a class/file/namespace member symbol.
Definition: memberdef.h:45
ClassDef
A abstract class representing of a compound symbol.
Definition: classdef.h:103
MemberDef::isFriend
virtual bool isFriend() const =0
Definition::isAnonymous
virtual bool isAnonymous() const =0
MemberDef::getClassDef
virtual const ClassDef * getClassDef() const =0
MemberDef::protection
virtual Protection protection() const =0
MemberInfoContext::alloc
static TemplateStructIntfPtr alloc(const MemberInfo *mi)
Definition: context.h:1103
Config_getBool
#define Config_getBool(name)
Definition: config.h:33
Definition::isArtificial
virtual bool isArtificial() const =0
ClassDef::isLinkable
virtual bool isLinkable() const =0
return TRUE iff a link to this class is possible (either within this project, or as a cross-reference...