My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
ConstraintClassDef Struct Reference

#include <classdef.h>

Public Member Functions

 ConstraintClassDef (ClassDef *cd)
 
 ~ConstraintClassDef ()
 
void addAccessor (const char *s)
 

Public Attributes

ClassDefclassDef
 
QDict< void > * accessors
 

Detailed Description

Class that contains information about a type constraint relations.

Definition at line 579 of file classdef.h.

Constructor & Destructor Documentation

ConstraintClassDef::ConstraintClassDef ( ClassDef cd)
inline

Definition at line 581 of file classdef.h.

References accessors.

: classDef(cd)
{
accessors = new QDict<void>(17);
}
ConstraintClassDef::~ConstraintClassDef ( )
inline

Definition at line 585 of file classdef.h.

References accessors.

{
delete accessors;
}

Member Function Documentation

void ConstraintClassDef::addAccessor ( const char *  s)
inline

Definition at line 589 of file classdef.h.

References accessors.

Referenced by ClassDef::addTypeConstraint().

{
if (accessors->find(s)==0)
{
accessors->insert(s,(void *)666);
}
}

Member Data Documentation

QDict<void>* ConstraintClassDef::accessors

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

Definition at line 602 of file classdef.h.

Referenced by addAccessor(), DotClassGraph::buildGraph(), ConstraintClassDef(), and ~ConstraintClassDef().

ClassDef* ConstraintClassDef::classDef

Class definition that this relation uses.

Definition at line 597 of file classdef.h.

Referenced by DotClassGraph::buildGraph().


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