Doxygen
ConstraintClassDef结构体 参考

Class that contains information about a type constraint relations. 更多...

#include <classdef.h>

+ ConstraintClassDef 的协作图:

Public 成员函数

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

Public 属性

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

详细描述

Class that contains information about a type constraint relations.

在文件 classdef.h536 行定义.

构造及析构函数说明

◆ ConstraintClassDef()

ConstraintClassDef::ConstraintClassDef ( ClassDef cd)
inline

在文件 classdef.h538 行定义.

538  : classDef(cd)
539  {
540  }

◆ ~ConstraintClassDef()

ConstraintClassDef::~ConstraintClassDef ( )
inline

在文件 classdef.h541 行定义.

542  {
543  }

成员函数说明

◆ addAccessor()

void ConstraintClassDef::addAccessor ( const QCString s)
inline

在文件 classdef.h544 行定义.

545  {
546  if (accessors.find(s.str())==accessors.end())
547  {
548  accessors.insert(s.str());
549  }
550  }

引用了 accessors , 以及 QCString::str().

类成员变量说明

◆ accessors

StringSet ConstraintClassDef::accessors

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

在文件 classdef.h557 行定义.

被这些函数引用 addAccessor().

◆ classDef

ClassDef* ConstraintClassDef::classDef

Class definition that this relation uses.

在文件 classdef.h552 行定义.


该结构体的文档由以下文件生成:
QCString::str
std::string str() const
Definition: qcstring.h:442
ConstraintClassDef::accessors
StringSet accessors
Dictionary of member types names that form the edge labels of the constraint relation.
Definition: classdef.h:557
ConstraintClassDef::classDef
ClassDef * classDef
Class definition that this relation uses.
Definition: classdef.h:552