umbrello API Documentation

ClassifierInfo Class Reference

class ClassInfo is an object to hold summary information about a classifier in a convenient form for easy access by a code generator. More...

#include <classifierinfo.h>

List of all members.

Public Member Functions

 ClassifierInfo (UMLClassifier *classifier, UMLDoc *doc)
 Constructor, initialises a couple of variables.
virtual ~ClassifierInfo ()
 Destructor, empty.
UMLClassifierList getPlainAssocChildClassifierList ()
 utility functions to allow easy determination of what classifiers are "owned" by the current one via named association type (e.g.
UMLClassifierList getAggregateChildClassifierList ()
UMLClassifierList getCompositionChildClassifierList ()
UMLAttributeListgetAttList ()
 Utility method to obtain list of attributes, if they exist, for the current classfier.

Public Attributes

UMLAttributeList atpub
 Lists of attributes of this classifier (if a class) Sorted by scope.
UMLAttributeList atprot
UMLAttributeList atpriv
UMLAttributeList static_atpub
 Lists of static attributes of this classifier (if a class).
UMLAttributeList static_atprot
UMLAttributeList static_atpriv
UMLAssociationList plainAssociations
 Lists of types of associations this classifier has.
UMLAssociationList uniAssociations
UMLAssociationList aggregations
UMLAssociationList compositions
UMLClassifierList superclasses
 what sub and super classifiers are related to this class
UMLClassifierList subclasses
bool isInterface
 Various conditional information about our classifier.
bool hasAssociations
bool hasAttributes
bool hasStaticAttributes
bool hasMethods
bool hasAccessorMethods
bool hasOperationMethods
bool hasVectorFields
QString className
 Class and File names.
QString fileName

Protected Member Functions

void init (UMLClassifier *c)


Detailed Description

class ClassInfo is an object to hold summary information about a classifier in a convenient form for easy access by a code generator.

Definition at line 35 of file classifierinfo.h.


Constructor & Destructor Documentation

ClassifierInfo::ClassifierInfo UMLClassifier classifier,
UMLDoc doc
 

Constructor, initialises a couple of variables.

Definition at line 18 of file classifierinfo.cpp.

ClassifierInfo::~ClassifierInfo  )  [virtual]
 

Destructor, empty.

Definition at line 24 of file classifierinfo.cpp.


Member Function Documentation

UMLClassifierList ClassifierInfo::getPlainAssocChildClassifierList  ) 
 

utility functions to allow easy determination of what classifiers are "owned" by the current one via named association type (e.g.

plain, aggregate or compositions).

Definition at line 122 of file classifierinfo.cpp.

References plainAssociations.

UMLAttributeList * ClassifierInfo::getAttList  ) 
 

Utility method to obtain list of attributes, if they exist, for the current classfier.

Definition at line 161 of file classifierinfo.cpp.


Member Data Documentation

UMLAttributeList ClassifierInfo::atpub
 

Lists of attributes of this classifier (if a class) Sorted by scope.

Definition at line 55 of file classifierinfo.h.

Referenced by RubyWriter::writeClass(), and PascalWriter::writeClass().

UMLAttributeList ClassifierInfo::static_atpub
 

Lists of static attributes of this classifier (if a class).

Definition at line 62 of file classifierinfo.h.

UMLAssociationList ClassifierInfo::plainAssociations
 

Lists of types of associations this classifier has.

Definition at line 69 of file classifierinfo.h.

Referenced by getPlainAssocChildClassifierList().

UMLClassifierList ClassifierInfo::superclasses
 

what sub and super classifiers are related to this class

Definition at line 77 of file classifierinfo.h.

bool ClassifierInfo::isInterface
 

Various conditional information about our classifier.

Definition at line 83 of file classifierinfo.h.

Referenced by TclWriter::writeClass().

QString ClassifierInfo::className
 

Class and File names.

Definition at line 95 of file classifierinfo.h.

Referenced by TclWriter::writeClass(), RubyWriter::writeClass(), and CppWriter::writeClass().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for umbrello Version 3.1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Jun 26 08:08:03 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003