umbrello  2.32.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
umlobjectlist.h
Go to the documentation of this file.
1 /***************************************************************************
2  * This program is free software; you can redistribute it and/or modify *
3  * it under the terms of the GNU General Public License as published by *
4  * the Free Software Foundation; either version 2 of the License, or *
5  * (at your option) any later version. *
6  * *
7  * copyright (C) 2001 Gustavo Madrigal gmadrigal@nextphere.com *
8  * copyright (C) 2002-2014 *
9  * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
10  ***************************************************************************/
11 
12 #ifndef UMLOBJECTLIST_H
13 #define UMLOBJECTLIST_H
14 
15 #include <QList>
16 #include <QPointer>
17 
18 // forward declarations
19 class UMLObject;
20 
21 typedef QListIterator<QPointer<UMLObject> >
23 
28 class UMLObjectList : public QList<QPointer<UMLObject> >
29 {
30 public:
31 
32  UMLObjectList();
33  virtual ~UMLObjectList();
34 
35  virtual void copyInto(UMLObjectList *rhs) const;
36 
37  virtual UMLObjectList* clone() const;
38 };
39 
40 #endif
UMLObjectList::UMLObjectList
UMLObjectList()
Definition: umlobjectlist.cpp:14
UMLObject
The base class for UML objects.
Definition: umlobject.h:74
UMLObjectListIt
QListIterator< QPointer< UMLObject > > UMLObjectListIt
Definition: umlobjectlist.h:19
UMLObjectList::copyInto
virtual void copyInto(UMLObjectList *rhs) const
Definition: umlobjectlist.cpp:26
umlobject.h
UMLObjectList::~UMLObjectList
virtual ~UMLObjectList()
Definition: umlobjectlist.cpp:18
umlobjectlist.h
UMLObjectList::clone
virtual UMLObjectList * clone() const
Definition: umlobjectlist.cpp:48
UMLObjectList
Definition: umlobjectlist.h:29
UMLObject::clone
virtual UMLObject * clone() const
Definition: umlobject.cpp:338