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

1150{
1151 bool hideUndocClasses = Config_getBool(HIDE_UNDOC_CLASSES);
1152 for (const auto &mod : *this)
1153 {
1154 bool isLink = mod->isLinkable();
1155 if (isLink || !hideUndocClasses)
1156 {
1157 return true;
1158 }
1159 }
1160 return false;
1161}
#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 1163 of file moduledef.cpp.

1164{
1165 bool found=FALSE;
1166 for (const auto &mod : *this)
1167 {
1168 toModuleDefImpl(mod)->writeDeclarationLink(ol,found,header,localNames);
1169 }
1170 if (found) ol.endMemberList();
1171}
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: