Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
berryIIterable.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef BERRYIITERABLE_H_
14 #define BERRYIITERABLE_H_
15 
16 #include <berryObject.h>
17 #include <berryMacros.h>
18 
20 
21 namespace berry {
22 
31 {
32 
34 
35  typedef QList<Object::Pointer>::iterator iterator;
36  typedef QList<Object::Pointer>::const_iterator const_iterator;
37 
38  ~IIterable() override;
39 
45  virtual iterator begin() = 0;
46  virtual iterator end() = 0;
47 
48  virtual const_iterator begin() const = 0;
49  virtual const_iterator end() const = 0;
50 
51 };
52 
53 } // namespace berry
54 
55 Q_DECLARE_INTERFACE(berry::IIterable, "org.blueberry.core.IIterable")
56 
57 #endif /*BERRYIITERABLE_H_*/
berry::IIterable
Definition: berryIIterable.h:30
berryMacros.h
org_blueberry_core_expressions_Export.h
berry::Object
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
berry::IIterable::iterator
QList< Object::Pointer >::iterator iterator
Definition: berryIIterable.h:35
berryObjectMacro
#define berryObjectMacro(...)
Definition: berryMacros.h:31
BERRY_EXPRESSIONS
#define BERRY_EXPRESSIONS
Definition: org_blueberry_core_expressions_Export.h:26
berryObject.h
berry
Definition: QmitkPropertyItemModel.h:24
berry::IIterable::const_iterator
QList< Object::Pointer >::const_iterator const_iterator
Definition: berryIIterable.h:36