Medical Imaging Interaction Toolkit  2023.12.99-7a59bd54
Medical Imaging Interaction Toolkit
berry::SingleNodeSelection Struct Reference

Represents a selection object that encapsulates the selection of a single node. More...

#include <berrySingleNodeSelection.h>

Inheritance diagram for berry::SingleNodeSelection:
Collaboration diagram for berry::SingleNodeSelection:

Public Member Functions

 berryObjectMacro (SingleNodeSelection)
 Make typdefs for pointer types. More...
 
void SetNode (mitk::DataNode *_SelectedNode)
 Node setter. More...
 
mitk::DataNodeGetNode () const
 Node getter. More...
 
bool IsEmpty () const override
 Checks if node is 0. More...
 
- Public Member Functions inherited from berry::ISelection
 berryObjectMacro (berry::ISelection)
 
 ~ISelection () override
 
- 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
 

Protected Attributes

mitk::DataNodem_Node
 Holds the node that is currently selected. More...
 
- Protected Attributes inherited from berry::Object
QAtomicInt m_ReferenceCount
 
QMutex m_ReferenceCountLock
 

Additional Inherited Members

- 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
 
- 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
 

Detailed Description

Represents a selection object that encapsulates the selection of a single node.

Definition at line 34 of file berrySingleNodeSelection.h.

Member Function Documentation

◆ berryObjectMacro()

berry::SingleNodeSelection::berryObjectMacro ( SingleNodeSelection  )

Make typdefs for pointer types.

◆ GetNode()

mitk::DataNode* berry::SingleNodeSelection::GetNode ( ) const

Node getter.

◆ IsEmpty()

bool berry::SingleNodeSelection::IsEmpty ( ) const
overridevirtual

Checks if node is 0.

Implements berry::ISelection.

◆ SetNode()

void berry::SingleNodeSelection::SetNode ( mitk::DataNode _SelectedNode)

Node setter.

Member Data Documentation

◆ m_Node

mitk::DataNode* berry::SingleNodeSelection::m_Node
protected

Holds the node that is currently selected.

Definition at line 57 of file berrySingleNodeSelection.h.


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