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 1210 of file moduledef.cpp.

1211{
1212 bool hideUndocClasses = Config_getBool(HIDE_UNDOC_CLASSES);
1213 for (const auto &mod : *this)
1214 {
1215 bool isLink = mod->isLinkable();
1216 if (isLink || !hideUndocClasses)
1217 {
1218 return true;
1219 }
1220 }
1221 return false;
1222}
#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 1224 of file moduledef.cpp.

1225{
1226 bool found=FALSE;
1227 for (const auto &mod : *this)
1228 {
1229 toModuleDefImpl(mod)->writeDeclarationLink(ol,found,header,localNames);
1230 }
1231 if (found) ol.endMemberList();
1232}
void writeDeclarationLink(OutputList &ol, bool &found, const QCString &header, bool localNames) const
void endMemberList()
Definition outputlist.h:483
static ModuleDefImpl * toModuleDefImpl(ModuleDef *m)
#define FALSE
Definition qcstring.h:34

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


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