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

Class that contains information about a type constraint relations. More...

#include <src/classdef.h>

+ Collaboration diagram for ConstraintClassDef:

Public Member Functions

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

Public Attributes

ClassDefclassDef
 Class definition that this relation uses.
 
StringSet accessors
 Dictionary of member types names that form the edge labels of the constraint relation.
 

Detailed Description

Class that contains information about a type constraint relations.

Definition at line 513 of file classdef.h.

Constructor & Destructor Documentation

◆ ConstraintClassDef()

ConstraintClassDef::ConstraintClassDef ( ClassDef * cd)
inline

Definition at line 515 of file classdef.h.

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

References classDef.

Member Function Documentation

◆ addAccessor()

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

Definition at line 516 of file classdef.h.

517 {
518 if (accessors.find(s.str())==accessors.end())
519 {
520 accessors.insert(s.str());
521 }
522 }
const std::string & str() const
Definition qcstring.h:537
StringSet accessors
Dictionary of member types names that form the edge labels of the constraint relation.
Definition classdef.h:529

References accessors, and QCString::str().

Member Data Documentation

◆ accessors

StringSet ConstraintClassDef::accessors

Dictionary of member types names that form the edge labels of the constraint relation.

Definition at line 529 of file classdef.h.

Referenced by addAccessor().

◆ classDef

ClassDef* ConstraintClassDef::classDef

Class definition that this relation uses.

Definition at line 524 of file classdef.h.

Referenced by ConstraintClassDef().


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