47 warn(fileName,line,
"end of file while inside a group");
51 warn(fileName,line,
"end of file with unbalanced grouping commands");
59 warn(fileName,line,
"try to put compound %s inside a member group",
qPrint(name));
97 !groupInfo->header.isEmpty() &&
122 auto info = std::make_unique<MemberGroupInfo>();
147 warn(fileName,line,
"unbalanced grouping commands");
163 auto &info = it->second;
184 if (!foundInline && !e->
groups.empty()) e->
groups.pop_back();
221 auto &info = it->second;
225 info->setRefItems(e->
sli);
void leaveCompound(const QCString &, int, const QCString &)
void leaveFile(const QCString &fileName, int line)
void initGroupInfo(Entry *e)
int findExistingGroup(const MemberGroupInfo *info)
void close(Entry *e, const QCString &fileName, int line, bool foundInline, bool implicit=false)
QCString m_memberGroupHeader
QCString m_memberGroupRelates
void appendHeader(const char)
void open(Entry *e, const QCString &, int, bool implicit=false)
std::vector< Grouping > m_autoGroupStack
QCString m_memberGroupDocs
void enterCompound(const QCString &fileName, int line, const QCString &name)
void enterFile(const QCString &fileName, int)
static MemberGroupInfoMap memberGroupInfoMap
Represents an unstructured piece of information, about an entity found in the sources.
int docLine
line number at which the documentation was found
QCString relates
related class (doc block)
std::vector< Grouping > groups
list of groups this entry belongs to
Grouping::GroupPri_t groupingPri() const
EntryType section
entry type (see Sections);
int mGrpId
member group id
QCString doc
documentation block (partly parsed)
RefItemVector sli
special lists (test/todo/bug/deprecated/..) this entry is in
QCString docFile
file in which the documentation was found
QCString brief
brief description (doc block)
This is an alternative implementation of QCString.
bool isEmpty() const
Returns TRUE iff the string is empty.
QCString stripWhiteSpace() const
returns a copy of this string with leading and trailing whitespace removed
DirIterator end(const DirIterator &) noexcept
static std::atomic_int g_groupId
static std::mutex g_memberGroupInfoMapMutex
#define warn(file, line, fmt,...)
int qstricmp(const char *s1, const char *s2)
const char * qPrint(const char *s)
Data collected for a member group.
QCString stripLeadingAndTrailingEmptyLines(const QCString &s, int &docLine)
Special version of QCString::stripWhiteSpace() that only strips completely blank lines.
A bunch of utility functions.