umbrello 2.32.3 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

umlattributelist.h
Go to the documentation of this file.
1 /***************************************************************************
2 * *
3 * This program is free software; you can redistribute it and/or modify *
4 * it under the terms of the GNU General Public License as published by *
5 * the Free Software Foundation; either version 2 of the License, or *
6 * (at your option) any later version. *
7 * *
8 * copyright (C) 2004-2014 *
9 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
10 ***************************************************************************/
11
12 #ifndef UMLATTRIBUTELIST_H
13 #define UMLATTRIBUTELIST_H
14
15 #include <QList>
16
17 #include "attribute.h"
18
19 //typedef QPtrList<UMLAttribute> UMLAttributeList;
20 typedef QListIterator<UMLAttribute*> UMLAttributeListIt;
21
26 class UMLAttributeList : public QList<UMLAttribute*>
27 {
28 public:
29
30 UMLAttributeList();
31
32 UMLAttributeList(const UMLAttributeList&);
33
34 virtual ~UMLAttributeList();
35
36 virtual void copyInto(UMLAttributeList *rhs) const;
37
38 virtual UMLAttributeList* clone() const;
39 };
40
41
42 #endif
umlattributelist.h
UMLAttributeListIt
QListIterator< UMLAttribute * > UMLAttributeListIt
Definition: umlattributelist.h:20
UMLAttributeList
Definition: umlattributelist.h:27
UMLAttributeList::UMLAttributeList
UMLAttributeList()
Definition: umlattributelist.cpp:17
UMLAttributeList::copyInto
virtual void copyInto(UMLAttributeList *rhs) const
Definition: umlattributelist.cpp:34
attribute.h
UMLAttribute
Sets up attribute information.
Definition: attribute.h:28
UMLAttributeList::clone
virtual UMLAttributeList * clone() const
Definition: umlattributelist.cpp:56
UMLAttributeList::~UMLAttributeList
virtual ~UMLAttributeList()
Definition: umlattributelist.cpp:26
UMLAttribute::clone
virtual UMLObject * clone() const
Definition: attribute.cpp:252