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

#include <classdef.h>

Public Member Functions

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

Public Attributes

ClassDefclassDef
 
QDict< void > * accessors
 
QCString templSpecifiers
 
bool containment
 

Detailed Description

Class that contains information about a usage relation.

Definition at line 463 of file classdef.h.

Constructor & Destructor Documentation

UsesClassDef::UsesClassDef ( ClassDef cd)
inline

Definition at line 465 of file classdef.h.

References accessors, and containment.

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

Definition at line 470 of file classdef.h.

References accessors.

{
delete accessors;
}

Member Function Documentation

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

Definition at line 474 of file classdef.h.

References accessors.

Referenced by ClassDef::addUsedByClass(), and ClassDef::addUsedClass().

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

Member Data Documentation

QDict<void>* UsesClassDef::accessors

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

Definition at line 487 of file classdef.h.

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

ClassDef* UsesClassDef::classDef

Class definition that this relation uses.

Definition at line 482 of file classdef.h.

Referenced by DotClassGraph::buildGraph().

bool UsesClassDef::containment

Definition at line 492 of file classdef.h.

Referenced by UsesClassDef().

QCString UsesClassDef::templSpecifiers

Template arguments used for the base class

Definition at line 490 of file classdef.h.

Referenced by DotClassGraph::buildGraph().


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