Medical Imaging Interaction Toolkit  2016.11.0
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...
 
virtual bool IsEmpty () const override
 Checks if node is 0. More...
 
- Public Member Functions inherited from berry::ISelection
 berryObjectMacro (berry::ISelection)~ISelection()
 
- 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 38 of file berrySingleNodeSelection.h.

Member Function Documentation

berry::SingleNodeSelection::berryObjectMacro ( SingleNodeSelection  )

Make typdefs for pointer types.

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

Node getter.

Definition at line 29 of file berrySingleNodeSelection.cpp.

References m_Node.

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

Checks if node is 0.

Implements berry::ISelection.

Definition at line 34 of file berrySingleNodeSelection.cpp.

References m_Node.

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

Node setter.

Definition at line 24 of file berrySingleNodeSelection.cpp.

References m_Node.

Member Data Documentation

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

Holds the node that is currently selected.

Definition at line 61 of file berrySingleNodeSelection.h.

Referenced by GetNode(), IsEmpty(), and SetNode().


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