Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryIIterable.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 BlueBerry Platform
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef BERRYIITERABLE_H_
18 #define BERRYIITERABLE_H_
19 
20 #include <berryObject.h>
21 #include <berryMacros.h>
22 
24 
25 namespace berry {
26 
35 {
36 
38 
39  typedef QList<Object::Pointer>::iterator iterator;
40  typedef QList<Object::Pointer>::const_iterator const_iterator;
41 
42  virtual ~IIterable();
43 
49  virtual iterator begin() = 0;
50  virtual iterator end() = 0;
51 
52  virtual const_iterator begin() const = 0;
53  virtual const_iterator end() const = 0;
54 
55 };
56 
57 } // namespace berry
58 
59 Q_DECLARE_INTERFACE(berry::IIterable, "org.blueberry.core.IIterable")
60 
61 #endif /*BERRYIITERABLE_H_*/
itk::SmartPointer< Self > Pointer
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
#define berryObjectMacro(...)
Definition: berryMacros.h:37