Doxygen
Loading...
Searching...
No Matches
DefinitionImpl::Private Class Reference

Private data associated with a Symbol DefinitionImpl object. More...

+ Collaboration diagram for DefinitionImpl::Private:

Public Member Functions

void init (const QCString &df, const QCString &n)
 
void setDefFileName (const QCString &df)
 

Public Attributes

Definitiondef = nullptr
 
SectionRefs sectionRefs
 
std::unordered_map< std::string, MemberDef * > sourceRefByDict
 
std::unordered_map< std::string, MemberDef * > sourceRefsDict
 
RefItemVector xrefListItems
 
GroupList partOfGroups
 
std::optional< DocInfodetails
 
std::optional< DocInfoinbodyDocs
 
std::optional< BriefInfobrief
 
std::optional< BodyInfobody
 
QCString briefSignatures
 
QCString docSignatures
 
QCString localName
 
QCString qualifiedName
 
QCString ref
 
bool hidden = FALSE
 
bool isArtificial = FALSE
 
bool isAnonymous = FALSE
 
bool isExported = FALSE
 
DefinitionouterScope = nullptr
 
QCString defFileName
 
QCString defFileExt
 
SrcLangExt lang = SrcLangExt::Unknown
 
QCString id
 
QCString name
 
bool isSymbol
 
QCString symbolName
 
int defLine
 
int defColumn
 
MemberVector referencesMembers
 
MemberVector referencedByMembers
 

Detailed Description

Private data associated with a Symbol DefinitionImpl object.

Definition at line 58 of file definition.cpp.

Member Function Documentation

◆ init()

void DefinitionImpl::Private::init ( const QCString & df,
const QCString & n )

Definition at line 122 of file definition.cpp.

123{
124 setDefFileName(df);
125 QCString lname = n;
126 if (lname!="<globalScope>")
127 {
128 //extractNamespaceName(m_name,m_localName,ns);
130 }
131 else
132 {
133 localName=n;
134 }
135 //printf("localName=%s\n",qPrint(localName));
136
137 brief.reset();
138 details.reset();
139 body.reset();
140 inbodyDocs.reset();
141 sourceRefByDict.clear();
142 sourceRefsDict.clear();
144 hidden = FALSE;
148}
std::optional< BriefInfo > brief
std::optional< BodyInfo > body
std::optional< DocInfo > inbodyDocs
std::unordered_map< std::string, MemberDef * > sourceRefByDict
std::unordered_map< std::string, MemberDef * > sourceRefsDict
std::optional< DocInfo > details
void setDefFileName(const QCString &df)
static NamespaceDefMutable * globalScope
Definition doxygen.h:121
#define FALSE
Definition qcstring.h:34
@ Unknown
Definition types.h:43
QCString stripScope(const QCString &name)
Definition util.cpp:4133

References body, brief, FALSE, Doxygen::globalScope, hidden, inbodyDocs, isArtificial, isExported, lang, localName, outerScope, setDefFileName(), sourceRefByDict, sourceRefsDict, stripScope(), and Unknown.

◆ setDefFileName()

void DefinitionImpl::Private::setDefFileName ( const QCString & df)

Definition at line 112 of file definition.cpp.

113{
114 defFileName = df;
115 int lastDot = defFileName.findRev('.');
116 if (lastDot!=-1)
117 {
118 defFileExt = defFileName.mid(lastDot);
119 }
120}

References defFileExt, and defFileName.

Referenced by init().

Member Data Documentation

◆ body

std::optional<BodyInfo> DefinitionImpl::Private::body

Definition at line 76 of file definition.cpp.

Referenced by init().

◆ brief

std::optional<BriefInfo> DefinitionImpl::Private::brief

Definition at line 75 of file definition.cpp.

Referenced by init().

◆ briefSignatures

QCString DefinitionImpl::Private::briefSignatures

Definition at line 78 of file definition.cpp.

◆ def

Definition* DefinitionImpl::Private::def = nullptr

Definition at line 64 of file definition.cpp.

◆ defColumn

int DefinitionImpl::Private::defColumn

Definition at line 105 of file definition.cpp.

◆ defFileExt

QCString DefinitionImpl::Private::defFileExt

Definition at line 95 of file definition.cpp.

Referenced by setDefFileName().

◆ defFileName

QCString DefinitionImpl::Private::defFileName

Definition at line 94 of file definition.cpp.

Referenced by setDefFileName().

◆ defLine

int DefinitionImpl::Private::defLine

Definition at line 104 of file definition.cpp.

◆ details

std::optional<DocInfo> DefinitionImpl::Private::details

Definition at line 73 of file definition.cpp.

◆ docSignatures

QCString DefinitionImpl::Private::docSignatures

Definition at line 79 of file definition.cpp.

◆ hidden

bool DefinitionImpl::Private::hidden = FALSE

Definition at line 86 of file definition.cpp.

Referenced by init().

◆ id

QCString DefinitionImpl::Private::id

Definition at line 99 of file definition.cpp.

◆ inbodyDocs

std::optional<DocInfo> DefinitionImpl::Private::inbodyDocs

Definition at line 74 of file definition.cpp.

Referenced by init().

◆ isAnonymous

bool DefinitionImpl::Private::isAnonymous = FALSE

Definition at line 88 of file definition.cpp.

◆ isArtificial

bool DefinitionImpl::Private::isArtificial = FALSE

Definition at line 87 of file definition.cpp.

Referenced by init().

◆ isExported

bool DefinitionImpl::Private::isExported = FALSE

Definition at line 89 of file definition.cpp.

Referenced by init().

◆ isSymbol

bool DefinitionImpl::Private::isSymbol

Definition at line 102 of file definition.cpp.

◆ lang

SrcLangExt DefinitionImpl::Private::lang = SrcLangExt::Unknown

Definition at line 97 of file definition.cpp.

Referenced by init().

◆ localName

QCString DefinitionImpl::Private::localName

Definition at line 81 of file definition.cpp.

Referenced by init().

◆ name

QCString DefinitionImpl::Private::name

Definition at line 101 of file definition.cpp.

◆ outerScope

Definition* DefinitionImpl::Private::outerScope = nullptr

Definition at line 91 of file definition.cpp.

Referenced by init().

◆ partOfGroups

GroupList DefinitionImpl::Private::partOfGroups

Definition at line 71 of file definition.cpp.

◆ qualifiedName

QCString DefinitionImpl::Private::qualifiedName

Definition at line 83 of file definition.cpp.

◆ ref

QCString DefinitionImpl::Private::ref

Definition at line 84 of file definition.cpp.

◆ referencedByMembers

MemberVector DefinitionImpl::Private::referencedByMembers

Definition at line 108 of file definition.cpp.

◆ referencesMembers

MemberVector DefinitionImpl::Private::referencesMembers

Definition at line 107 of file definition.cpp.

◆ sectionRefs

SectionRefs DefinitionImpl::Private::sectionRefs

Definition at line 66 of file definition.cpp.

◆ sourceRefByDict

std::unordered_map<std::string,MemberDef *> DefinitionImpl::Private::sourceRefByDict

Definition at line 68 of file definition.cpp.

Referenced by init().

◆ sourceRefsDict

std::unordered_map<std::string,MemberDef *> DefinitionImpl::Private::sourceRefsDict

Definition at line 69 of file definition.cpp.

Referenced by init().

◆ symbolName

QCString DefinitionImpl::Private::symbolName

Definition at line 103 of file definition.cpp.

◆ xrefListItems

RefItemVector DefinitionImpl::Private::xrefListItems

Definition at line 70 of file definition.cpp.


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