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

#include <src/conceptdef.h>

+ Inheritance diagram for ConceptLinkedRefMap:
+ Collaboration diagram for ConceptLinkedRefMap:

Public Member Functions

bool declVisible () const
 
void writeDeclaration (OutputList &ol, const QCString &header, bool localNames) const
 
- Public Member Functions inherited from LinkedRefMap< ConceptDef >
const ConceptDeffind (const std::string &key) const
 find an object given the key.
 
const ConceptDeffind (const QCString &key) const
 find an object given the key.
 
const ConceptDeffind (const char *key) const
 find an object given the key.
 
ConceptDeffind (const char *key)
 non-const wrapper for find() const
 
ConceptDeffind (const QCString &key)
 
ConceptDeffind (const std::string &key)
 non-const wrapper for find() const
 
bool add (const char *k, ConceptDef *obj)
 Adds an object reference to the ordered vector if it was not added already.
 
bool add (const QCString &k, ConceptDef *obj)
 
bool prepend (const char *k, ConceptDef *obj)
 Prepends an object reference to the ordered vector if it was not added already.
 
bool prepend (const QCString &key, ConceptDef *obj)
 
bool del (const QCString &key)
 Removes an object from the container and deletes it.
 
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< ConceptDef >
using Ptr
 
using Vec
 
using iterator
 
using const_iterator
 
using reverse_iterator
 
using const_reverse_iterator
 

Detailed Description

Definition at line 73 of file conceptdef.h.

Member Function Documentation

◆ declVisible()

bool ConceptLinkedRefMap::declVisible ( ) const

Definition at line 692 of file conceptdef.cpp.

693{
694 bool hideUndocClasses = Config_getBool(HIDE_UNDOC_CLASSES);
695 for (const auto &cd : *this)
696 {
697 bool isLink = cd->isLinkable();
698 if (isLink || !hideUndocClasses)
699 {
700 return true;
701 }
702 }
703 return false;
704}
#define Config_getBool(name)
Definition config.h:33

References Config_getBool.

◆ writeDeclaration()

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

Definition at line 706 of file conceptdef.cpp.

707{
708 bool found=FALSE;
709 for (const auto &cd : *this)
710 {
711 cd->writeDeclarationLink(ol,found,header,localNames);
712 }
713 if (found) ol.endMemberList();
714}
void endMemberList()
Definition outputlist.h:484
#define FALSE
Definition qcstring.h:34
bool found
Definition util.cpp:984

References OutputList::endMemberList(), FALSE, and found.


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