MeVisLab Toolbox Reference
ml::DicomTree Class Reference

#include <mlDicomTree.h>

Inheritance diagram for ml::DicomTree:
ml::RefCountedBase ml::EventSource ml::Base ml::MutableDicomTree ml::RTBase ml::DRTDoseIODBase ml::DRTImageIODBase ml::DRTIonBeamsTreatmentRecordIODBase ml::DRTIonPlanIODBase ml::DRTPlanIODBase ml::DRTStructureSetIODBase ml::DRTTreatmentSummaryRecordIODBase

Public Member Functions

 DicomTree ()
 DicomTree (const DCMTree::Const_TreePtr &tree)
 Wraps the given DCMTree::Const_TreePtr.
DCMTree::Const_TreePtr getTree () const
 Returns the tree pointer.
Public Member Functions inherited from ml::RefCountedBase
 RefCountedBase ()
 Constructor.
 RefCountedBase (const RefCountedBase &)
 Explicit copy constructor.
virtual void incRefCount () const
 Increases the reference count.
virtual void decRefCount () const
 Decreases the reference count (object will be deleted if the reference count is decremented to 0).
bool isRefCountedBase () const override
 Returns whether the instance is derived from RefCountedBase.
Public Member Functions inherited from ml::EventSource
 EventSource ()
 EventSource (const EventSource &evSource)
 ~EventSource () override
void addEventListener (BaseEventCallback *cb, void *userData)
void removeEventListener (BaseEventCallback *cb, void *userData)
bool hasEventListeners () const
Public Member Functions inherited from ml::Base
 Base ()
 Constructor.
virtual ~Base ()
 Destructor.
virtual BasedeepCopy () const
bool isOfAllowedType (const std::vector< const RuntimeType * > &types) const
virtual std::string detailString () const
virtual bool implementsPersistence (PersistenceInterface) const
virtual std::string persistentState () const
 Returns a string describing the object's internal state.
virtual void setPersistentState (const std::string &state)
virtual void addStateToTree (TreeNode *) const
 Attaches the object state as children of the given parent node.
virtual void readStateFromTree (TreeNode *)
 Reads the object state from the children of the given parent node.
virtual void writeTo (AbstractPersistenceOutputStream *) const
virtual void readFrom (AbstractPersistenceInputStream *, int)

Protected Member Functions

 ~DicomTree () override
void setTree (const DCMTree::Const_TreePtr &tree)
Protected Member Functions inherited from ml::RefCountedBase
 ~RefCountedBase () override
 Destructor.
Protected Member Functions inherited from ml::EventSource
void sendEvent (BaseEvent *event, void *skipListener=nullptr)

Additional Inherited Members

Public Types inherited from ml::Base
enum  PersistenceInterface { PersistenceByString , PersistenceByTreeNode , PersistenceByStream }
 This enum describes the different persistence interfaces available. More...
Static Public Member Functions inherited from ml::RefCountedBase
static void updateReferenceCountingIfSupported (Base *oldValue, Base *newValue, bool &isRefCountedBase)
Protected Attributes inherited from ml::RefCountedBase
std::atomic_int_least32_t _refCount
 Reference count.

Detailed Description

The DicomTree class can be used to transport a DCMTree::Const_TreePtr as a ml::RefCountedBase object. Note: There are no setters on purpose. Create a new DicomTree if you need to wrap a new Const_DCMTree.

Definition at line 29 of file mlDicomTree.h.

Constructor & Destructor Documentation

◆ DicomTree() [1/2]

ml::DicomTree::DicomTree ( )
inline

Definition at line 32 of file mlDicomTree.h.

◆ DicomTree() [2/2]

ml::DicomTree::DicomTree ( const DCMTree::Const_TreePtr & tree)

Wraps the given DCMTree::Const_TreePtr.

◆ ~DicomTree()

ml::DicomTree::~DicomTree ( )
inlineoverrideprotected

Definition at line 43 of file mlDicomTree.h.

Member Function Documentation

◆ getTree()

DCMTree::Const_TreePtr ml::DicomTree::getTree ( ) const
inline

Returns the tree pointer.

Definition at line 38 of file mlDicomTree.h.

◆ setTree()

void ml::DicomTree::setTree ( const DCMTree::Const_TreePtr & tree)
inlineprotected

This method is intentionally protected, it is only here to be used in FME RT modules that need to set the DICOM tree later on.

Definition at line 47 of file mlDicomTree.h.

Referenced by ml::MutableDicomTree::setMutableTree().


The documentation for this class was generated from the following file:
  • MeVis/Foundation/Sources/MLDicomTreeImagePropertyExtension/mlDicomTree.h