浏览该文件的文档.
46 warn(fileName,line,
"end of file while inside a group");
50 warn(fileName,line,
"end of file with unbalanced grouping commands");
58 warn(fileName,line,
"try to put compound %s inside a member group\n",
qPrint(name));
120 auto info = std::make_unique<MemberGroupInfo>();
142 warn(fileName,line,
"unbalanced grouping commands");
156 auto &info = it->second;
158 info->docFile = fileName;
159 info->docLine = line;
172 if (!foundInline && !e->
groups.empty()) e->
groups.pop_back();
207 auto &info = it->second;
211 info->setRefItems(e->
sli);
QCString m_memberGroupRelates
Grouping::GroupPri_t groupingPri() const
void enterFile(const QCString &fileName, int)
bool isEmpty() const
Returns TRUE iff the string is empty
int mGrpId
member group id
void leaveCompound(const QCString &, int, const QCString &)
int docLine
line number at which the documentation was found
int find(char c, int index=0, bool cs=TRUE) const
QCString m_memberGroupDocs
void warn(const QCString &file, int line, const char *fmt,...)
QCString relates
related class (doc block)
QCString doc
documentation block (partly parsed)
DirIterator end(const DirIterator &) noexcept
QCString m_memberGroupHeader
QCString stripWhiteSpace() const
returns a copy of this string with leading and trailing whitespace removed
QCString left(size_t len) const
static std::atomic_int g_groupId
void open(Entry *e, const QCString &, int, bool implicit=false)
int section
entry type (see Sections);
void appendHeader(const char)
int qstricmp(const char *str1, const char *str2)
static MemberGroupInfoMap memberGroupInfoMap
void initGroupInfo(Entry *e)
Data collected for a member group
QCString brief
brief description (doc block)
void leaveFile(const QCString &fileName, int line)
Represents an unstructured piece of information, about an entity found in the sources.
void enterCompound(const QCString &fileName, int line, const QCString &name)
const char * qPrint(const char *s)
QCString stripLeadingAndTrailingEmptyLines(const QCString &s, int &docLine)
Special version of QCString::stripWhiteSpace() that only strips completely blank lines.
RefItemVector sli
special lists (test/todo/bug/deprecated/..) this entry is in
int findExistingGroup(const MemberGroupInfo *info)
void close(Entry *e, const QCString &fileName, int line, bool foundInline, bool implicit=false)
A bunch of utility functions.
QCString docFile
file in which the documentation was found
std::vector< Grouping > groups
list of groups this entry belongs to
std::vector< Grouping > m_autoGroupStack
bool resize(size_t newlen)
Resizes the string to hold newlen characters (this value should also count the 0-terminator).
This is an alternative implementation of QCString.