Medical Imaging Interaction Toolkit  2021.10.99-9c07a326
Medical Imaging Interaction Toolkit
berry::HandleObjectManager Class Reference

#include <berryHandleObjectManager.h>

Inheritance diagram for berry::HandleObjectManager:

Protected Types

typedef QSet< SmartPointer< HandleObject > > HandleObjectsSet
typedef QHash< QString, SmartPointer< HandleObject > > HandleObjectsByIdMap

Protected Member Functions

void CheckId (const QString &id) const
QSet< QString > GetDefinedHandleObjectIds () const

Protected Attributes

HandleObjectsSet definedHandleObjects
HandleObjectsByIdMap handleObjectsById

Detailed Description

A manager of HandleObject instances. This has some common behaviour which is shared between all such managers.

Clients may extend.

Definition at line 37 of file berryHandleObjectManager.h.

Member Typedef Documentation

◆ HandleObjectsByIdMap

Definition at line 43 of file berryHandleObjectManager.h.

◆ HandleObjectsSet

Member Function Documentation

◆ CheckId()

void berry::HandleObjectManager::CheckId ( const QString &  id) const

Verifies that the identifier is valid. Exceptions will be thrown if the identifier is invalid in some way.

idThe identifier to validate; may be anything.

◆ GetDefinedHandleObjectIds()

QSet<QString> berry::HandleObjectManager::GetDefinedHandleObjectIds ( ) const

Returns the set of identifiers for those handle objects that are defined.

The set of defined handle object identifiers; this value may be empty, but it is never null.

Member Data Documentation

◆ definedHandleObjects

HandleObjectsSet berry::HandleObjectManager::definedHandleObjects

The set of handle objects that are defined. This value may be empty, but it is never null.

Definition at line 49 of file berryHandleObjectManager.h.

◆ handleObjectsById

HandleObjectsByIdMap berry::HandleObjectManager::handleObjectsById

The map of identifiers (String) to handle objects ( HandleObject). This collection may be empty, but it is never null.

Definition at line 56 of file berryHandleObjectManager.h.

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