classifierinfo.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef CLASSIFIERINFO_H
00019 #define CLASSIFIERINFO_H
00020
00021 #include "../classifier.h"
00022 #include "../umldoc.h"
00023 #include "../attribute.h"
00024 #include "../association.h"
00025 #include "../umlclassifierlist.h"
00026 #include "../umlassociationlist.h"
00027 #include "../umlattributelist.h"
00028
00029 #include <qstring.h>
00030
00035 class ClassifierInfo {
00036 public:
00037
00041 ClassifierInfo (UMLClassifier * classifier, UMLDoc * doc);
00042
00046 virtual ~ClassifierInfo();
00047
00048
00049
00050
00055 UMLAttributeList atpub;
00056 UMLAttributeList atprot;
00057 UMLAttributeList atpriv;
00058
00062 UMLAttributeList static_atpub;
00063 UMLAttributeList static_atprot;
00064 UMLAttributeList static_atpriv;
00065
00069 UMLAssociationList plainAssociations;
00070 UMLAssociationList uniAssociations;
00071 UMLAssociationList aggregations;
00072 UMLAssociationList compositions;
00073
00077 UMLClassifierList superclasses;
00078 UMLClassifierList subclasses;
00079
00083 bool isInterface;
00084 bool hasAssociations;
00085 bool hasAttributes;
00086 bool hasStaticAttributes;
00087 bool hasMethods;
00088 bool hasAccessorMethods;
00089 bool hasOperationMethods;
00090 bool hasVectorFields;
00091
00095 QString className;
00096 QString fileName;
00097
00103 UMLClassifierList getPlainAssocChildClassifierList();
00104 UMLClassifierList getAggregateChildClassifierList();
00105 UMLClassifierList getCompositionChildClassifierList();
00106
00111 UMLAttributeList* getAttList();
00112
00113
00114 protected:
00115 void init (UMLClassifier *c);
00116
00117 private:
00118
00119 Uml::IDType m_nID;
00120
00127 UMLClassifierList findAssocClassifierObjsInRoles (UMLAssociationList * list);
00128
00132 UMLAttributeList m_AttsList;
00133
00134 };
00135
00136 #endif // CLASSIFIERINFO_H
00137
This file is part of the documentation for umbrello Version 3.1.0.