Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
berry::IIterable Struct Referenceabstract

#include <berryIIterable.h>

Inheritance diagram for berry::IIterable:
Collaboration diagram for berry::IIterable:

Public Types

typedef QList< Object::Pointer >::iterator iterator
 
typedef QList< Object::Pointer >::const_iterator const_iterator
 
- Public Types inherited from berry::Object
typedef Object Self
 
typedef berry::SmartPointer< SelfPointer
 
typedef berry::SmartPointer< const SelfConstPointer
 
typedef berry::WeakPointer< SelfWeakPtr
 
typedef berry::WeakPointer< const SelfConstWeakPtr
 

Public Member Functions

 berryObjectMacro (berry::IIterable)
 
 ~IIterable () override
 
virtual iterator begin ()=0
 
virtual iterator end ()=0
 
virtual const_iterator begin () const =0
 
virtual const_iterator end () const =0
 
- Public Member Functions inherited from berry::Object
virtual QString GetClassName () const
 
virtual Reflection::TypeInfo GetTypeInfo () const
 
virtual QList< Reflection::TypeInfoGetSuperclasses () const
 
virtual void Delete ()
 
QDebug Print (QDebug os, Indent Indent=0) const
 
virtual QString ToString () const
 
virtual uint HashCode () const
 
virtual bool operator< (const Object *) const
 
void Register () const
 
void UnRegister (bool del=true) const
 
int GetReferenceCount () const
 
void SetReferenceCount (int)
 
void AddDestroyListener (const MessageAbstractDelegate<> &delegate) const
 
void RemoveDestroyListener (const MessageAbstractDelegate<> &delegate) const
 
virtual bool operator== (const Object *) const
 

Additional Inherited Members

- Static Public Member Functions inherited from berry::Object
static const char * GetStaticClassName ()
 
static Reflection::TypeInfo GetStaticTypeInfo ()
 
static QList< Reflection::TypeInfoGetStaticSuperclasses ()
 
- Protected Member Functions inherited from berry::Object
 Object ()
 
virtual ~Object ()
 
virtual QDebug PrintSelf (QDebug os, Indent indent) const
 
virtual QDebug PrintHeader (QDebug os, Indent indent) const
 
virtual QDebug PrintTrailer (QDebug os, Indent indent) const
 
- Protected Attributes inherited from berry::Object
QAtomicInt m_ReferenceCount
 
QMutex m_ReferenceCountLock
 

Detailed Description

Objects that are adaptable to IIterable can be used as the default variable in an iterate expression.

See also
IAdaptable
IAdapterManager

Definition at line 30 of file berryIIterable.h.

Member Typedef Documentation

◆ const_iterator

◆ iterator

Definition at line 35 of file berryIIterable.h.

Constructor & Destructor Documentation

◆ ~IIterable()

berry::IIterable::~IIterable ( )
override

Member Function Documentation

◆ begin() [1/2]

virtual const_iterator berry::IIterable::begin ( ) const
pure virtual

◆ begin() [2/2]

virtual iterator berry::IIterable::begin ( )
pure virtual

Returns an iterator to iterate over the elements.

Returns
an iterator

◆ berryObjectMacro()

berry::IIterable::berryObjectMacro ( berry::IIterable  )

◆ end() [1/2]

virtual const_iterator berry::IIterable::end ( ) const
pure virtual

◆ end() [2/2]

virtual iterator berry::IIterable::end ( )
pure virtual

The documentation for this struct was generated from the following file: