Doxygen
Loading...
Searching...
No Matches
UsesClassDef Struct Reference

Class that contains information about a usage relation. More...

#include <src/classdef.h>

Collaboration diagram for UsesClassDef:

Public Member Functions

 UsesClassDef (ClassDef *cd)
void addAccessor (const QCString &s)

Public Attributes

ClassDefclassDef
 Class definition that this relation uses.
StringSet accessors
 Dictionary of member variable names that form the edge labels of the usage relation.
QCString templSpecifiers
 Template arguments used for the base class.
bool containment = true

Detailed Description

Class that contains information about a usage relation.

Definition at line 484 of file classdef.h.

Constructor & Destructor Documentation

◆ UsesClassDef()

UsesClassDef::UsesClassDef ( ClassDef * cd)
inline

Definition at line 486 of file classdef.h.

486: classDef(cd) {}
ClassDef * classDef
Class definition that this relation uses.
Definition classdef.h:495

References classDef.

Member Function Documentation

◆ addAccessor()

void UsesClassDef::addAccessor ( const QCString & s)
inline

Definition at line 487 of file classdef.h.

488 {
489 if (accessors.find(s.str())==accessors.end())
490 {
491 accessors.insert(s.str());
492 }
493 }
const std::string & str() const
Definition qcstring.h:556
StringSet accessors
Dictionary of member variable names that form the edge labels of the usage relation.
Definition classdef.h:500

References accessors, and QCString::str().

Member Data Documentation

◆ accessors

StringSet UsesClassDef::accessors

Dictionary of member variable names that form the edge labels of the usage relation.

Definition at line 500 of file classdef.h.

Referenced by addAccessor().

◆ classDef

ClassDef* UsesClassDef::classDef

Class definition that this relation uses.

Definition at line 495 of file classdef.h.

Referenced by UsesClassDef().

◆ containment

bool UsesClassDef::containment = true

Definition at line 505 of file classdef.h.

◆ templSpecifiers

QCString UsesClassDef::templSpecifiers

Template arguments used for the base class.

Definition at line 503 of file classdef.h.


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