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
const ModuleDeffind (const QCString &key) const
const ModuleDeffind (const char *key) const
ModuleDeffind (const char *key)
 non-const wrapper for find() const
ModuleDeffind (const QCString &key)
ModuleDeffind (const std::string &key)
 non-const wrapper for find() const
bool add (const char *k, ModuleDef *obj)
bool add (const QCString &k, ModuleDef *obj)
bool prepend (const char *k, ModuleDef *obj)
bool prepend (const QCString &key, ModuleDef *obj)
bool del (const QCString &key)
Ptroperator[] (size_t pos)
const Ptroperator[] (size_t pos) const
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
reverse_iterator rbegin ()
const_reverse_iterator rbegin () const
reverse_iterator rend ()
const_reverse_iterator rend () const
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 1157 of file moduledef.cpp.

1158{
1159 bool hideUndocClasses = Config_getBool(HIDE_UNDOC_CLASSES);
1160 for (const auto &mod : *this)
1161 {
1162 bool isLink = mod->isLinkable();
1163 if (isLink || !hideUndocClasses)
1164 {
1165 return true;
1166 }
1167 }
1168 return false;
1169}
#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 1171 of file moduledef.cpp.

1172{
1173 bool found=FALSE;
1174 for (const auto &mod : *this)
1175 {
1176 toModuleDefImpl(mod)->writeDeclarationLink(ol,found,header,localNames);
1177 }
1178 if (found) ol.endMemberList();
1179}
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: