Doxygen
Loading...
Searching...
No Matches
ModuleLinkedRefMap Class Reference

#include <src/moduledef.h>

Inheritance diagram for ModuleLinkedRefMap:
Collaboration diagram for ModuleLinkedRefMap:

Public Member Functions

bool declVisible () const
void writeDeclaration (OutputList &ol, const QCString &header, bool localNames) const
Public Member Functions inherited from LinkedRefMap< ModuleDef >
const ModuleDeffind (const std::string &key) const
bool add (const char *k, ModuleDef *obj)
bool prepend (const char *k, ModuleDef *obj)
bool del (const QCString &key)
Ptroperator[] (size_t pos)
iterator begin ()
iterator end ()
reverse_iterator rbegin ()
reverse_iterator rend ()
bool empty () const
size_t size () const
void clear ()

Additional Inherited Members

Public Types inherited from LinkedRefMap< ModuleDef >
using Ptr
using Vec
using iterator
using const_iterator
using reverse_iterator
using const_reverse_iterator

Detailed Description

Definition at line 99 of file moduledef.h.

Member Function Documentation

◆ declVisible()

bool ModuleLinkedRefMap::declVisible ( ) const

Definition at line 1180 of file moduledef.cpp.

1181{
1182 bool hideUndocClasses = Config_getBool(HIDE_UNDOC_CLASSES);
1183 for (const auto &mod : *this)
1184 {
1185 bool isLink = mod->isLinkable();
1186 if (isLink || !hideUndocClasses)
1187 {
1188 return true;
1189 }
1190 }
1191 return false;
1192}
#define Config_getBool(name)
Definition config.h:33

References Config_getBool.

◆ writeDeclaration()

void ModuleLinkedRefMap::writeDeclaration ( OutputList & ol,
const QCString & header,
bool localNames ) const

Definition at line 1194 of file moduledef.cpp.

1195{
1196 bool found=FALSE;
1197 for (const auto &mod : *this)
1198 {
1199 toModuleDefImpl(mod)->writeDeclarationLink(ol,found,header,localNames);
1200 }
1201 if (found) ol.endMemberList();
1202}
void writeDeclarationLink(OutputList &ol, bool &found, const QCString &header, bool localNames) const
void endMemberList()
Definition outputlist.h:484
static ModuleDefImpl * toModuleDefImpl(ModuleDef *m)
#define FALSE
Definition qcstring.h:34
bool found
Definition util.cpp:984

References OutputList::endMemberList(), FALSE, found, toModuleDefImpl(), and ModuleDefImpl::writeDeclarationLink().


The documentation for this class was generated from the following files: