30#include "configvalues.h"
37#define COMMAND_OVERRIDES \
38 OVERRIDE_ENTRY(bool, bool, 1, callGraph ) \
39 OVERRIDE_ENTRY(bool, bool, 1, callerGraph ) \
40 OVERRIDE_ENTRY(bool, bool, 1, referencedByRelation ) \
41 OVERRIDE_ENTRY(bool, bool, 1, referencesRelation ) \
42 OVERRIDE_ENTRY(bool, bool, 1, inlineSource ) \
43 OVERRIDE_ENTRY(bool, bool, 1, includeGraph ) \
44 OVERRIDE_ENTRY(bool, bool, 1, includedByGraph ) \
45 OVERRIDE_ENTRY(bool, bool, 1, directoryGraph ) \
46 OVERRIDE_ENTRY(bool, bool, 1, collaborationGraph ) \
47 OVERRIDE_ENTRY(bool, bool, 1, groupGraph ) \
48 OVERRIDE_ENTRY(bool, bool, 1, enumValues ) \
49 OVERRIDE_ENTRY(CLASS_GRAPH_t, int, 3, inheritanceGraph )
54#define OVERRIDE_ENTRY(type,store_type,bits,name) \
55 store_type m_##name : bits; \
56 bool m_##name##ExplicitlySet : 1;
62 void reset() { std::memset(
this, 0,
sizeof(*
this)); }
66 int to_store_type(CLASS_GRAPH_t t)
const {
return static_cast<int>(t); }
68 CLASS_GRAPH_t
from_store_type(
int t)
const {
return static_cast<CLASS_GRAPH_t
>(t); }
70#define OVERRIDE_ENTRY(type,store_type,bits,name) \
71 void override_##name(type value) { \
72 m_##name = to_store_type(value); \
73 m_##name##ExplicitlySet = true; \
76 void apply_##name(std::function<void(type)> func) const { \
78 if (m_##name##ExplicitlySet) func(from_store_type(m_##name)); \
245 default:
return "unknown group command";
std::vector< ArgumentList > ArgumentLists
bool from_store_type(bool t) const
bool to_store_type(bool t) const
CLASS_GRAPH_t from_store_type(int t) const
int to_store_type(CLASS_GRAPH_t t) const
TextStream initializer
initial value (for variables)
void moveToSubEntryAndKeep(Entry *e)
VhdlSpecifier vhdlSpec
VHDL specifiers.
bool subGrouping
automatically group class members?
Entry & operator=(const Entry &)=delete
void setFileDef(FileDef *fd)
const std::vector< std::shared_ptr< Entry > > & children() const
TextStream program
the program text
std::vector< std::shared_ptr< Entry > > m_sublist
GroupDocType groupDocType
QCString metaData
Slice metadata.
int docLine
line number at which the documentation was found
QCString bitfields
member's bit fields
ArgumentList typeConstr
where clause (C#) for type constraints
void markAsProcessed() const
int endBodyLine
line number where the definition ends
bool hasTagInfo
is tag info valid
bool exported
is the symbol exported from a C++20 module
const TagInfo * tagInfo() const
const char * groupDocCmd() const
return the command name used to define GROUPDOC_SEC
QCString includeName
include name (3 arg of \class)
ArgumentLists tArgLists
template argument declarations
MethodTypes mtype
signal, slot, (dcop) method, or property?
@ GROUPDOC_NORMAL
defgroup
SrcLangExt lang
programming language in which this entry was found
QCString inbodyDocs
documentation inside the body of a function
TagInfo tagInfoData
tag file info data
int startColumn
start column of entry in the source
QCString relates
related class (doc block)
bool explicitExternal
explicitly defined as external?
std::vector< const SectionInfo * > anchors
list of anchors defined in this entry
void moveToSubEntryAndRefresh(Entry *&e)
QCString fileName
file this entry was extracted from
RelatesType relatesType
how relates is handled
QCString write
property write accessor
QCString args
member argument string
std::vector< Grouping > groups
list of groups this entry belongs to
CommandOverrides commandOverrides
store info for commands whose default can be overridden
QCString exception
throw specification
int startLine
start line of entry in the source
QCString req
C++20 requires clause.
ArgumentList argList
member arguments as a list
QCString includeFile
include file (2 arg of \class, must be unique)
Grouping::GroupPri_t groupingPri() const
int inbodyLine
line number at which the body doc was found
EntryType section
entry type (see Sections);
QCString briefFile
file in which the brief desc. was found
int bodyLine
line number of the body in the source
int mGrpId
member group id
void copyToSubEntry(Entry *e)
std::vector< BaseInfo > extends
list of base classes
Specifier virt
virtualness of the entry
std::vector< std::string > qualifiers
qualifiers specified with the qualifier command
QCString doc
documentation block (partly parsed)
QCString read
property read accessor
RefItemVector sli
special lists (test/todo/bug/deprecated/..) this entry is in
QCString docFile
file in which the documentation was found
Protection protection
class protection
bool artificial
Artificially introduced item.
bool hidden
does this represent an entity that is hidden from the output
QCString brief
brief description (doc block)
int briefLine
line number at which the brief desc. was found
Entry * m_parent
parent node in the tree
FileDef * fileDef() const
int initLines
define/variable initializer lines to show
int bodyColumn
column of the body in the source
Entry & operator=(Entry &&)=delete
QCString inbodyFile
file in which the body doc was found
TypeSpecifier spec
class/member specifiers
QCString inside
name of the class in which documents are found
void removeSubEntry(const Entry *e)
A model of a file symbol.
class that provide information about a section.
#define COMMAND_OVERRIDES
std::vector< std::shared_ptr< Entry > > EntryList
std::vector< RefItem * > RefItemVector
Protection prot
inheritance type
BaseInfo(const QCString &n, Protection p, Specifier v)
Specifier virt
virtualness
QCString name
the name of the base class
GroupPri_t
Grouping priority.
@ GROUPING_AUTO_ADD
membership in group was defined via @add[to]group
@ GROUPING_AUTO_WEAK
membership in group was defined via @weakgroup
@ GROUPING_AUTO_DEF
membership in group was defined via @defgroup
This struct is used to capture the tag file information for an Entry.
This file contains a number of basic enums and types.
MethodTypes
Kind of method.
Protection
Protection level of members.
SrcLangExt
Language as given by extension.
RelatesType
Type of member relation.
Specifier
Virtualness of a member.