Public Member Functions | Protected Attributes

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:
Inheritance graph
[legend]
Collaboration diagram for berry::SingleNodeSelection:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 berryObjectMacro (SingleNodeSelection)
 Make typdefs for pointer types.
void SetNode (mitk::DataNode *_SelectedNode)
 Node setter.
mitk::DataNodeGetNode () const
 Node getter.
virtual bool IsEmpty () const
 Checks if node is 0.

Protected Attributes

mitk::DataNodem_Node
 Holds the node that is currently selected.

Detailed Description

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

Definition at line 39 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 26 of file berrySingleNodeSelection.cpp.

References m_Node.

  {
    m_Node = _SelectedNode;
  }

bool berry::SingleNodeSelection::IsEmpty (  ) const [virtual]

Checks if node is 0.

Implements berry::ISelection.

Definition at line 31 of file berrySingleNodeSelection.cpp.

References m_Node.

  {
    return m_Node;
  }

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

Node setter.

Definition at line 21 of file berrySingleNodeSelection.cpp.

{


Member Data Documentation

Holds the node that is currently selected.

Definition at line 62 of file berrySingleNodeSelection.h.

Referenced by GetNode(), and IsEmpty().


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines