MeVisLab Toolbox Reference
DCMTree::Reader Class Referenceabstract

#include <DCMTree_Reader.h>

Public Member Functions

virtual ~Reader ()
 Destructor.
 
virtual MessagePtr read (const Const_IOParameterPtr &parameter)=0
 Reads a DCMTree::Tree from the file with the given name up to the given tag.
 
Const_DictPtr dict () const
 Accesses the Dict.
 

Static Public Member Functions

static ReaderPtr create (const Const_DictPtr &dictArg)
 Abstract factory create method.
 

Protected Member Functions

virtual ReaderPtr createConcrete (const Const_DictPtr &dictArg) const =0
 Concrete factory creates method of the implementing prototype, called by the abstract one.
 
 Reader (Const_DictPtr dictArg)
 Constructor that needs a DCMTree::Dict implementation.
 
 Reader ()
 Constructor without parameter for prototype.
 

Static Protected Member Functions

static ReaderPtr create (const Const_ReaderPtr &prototype, const Const_DictPtr &dictArg)
 Abstract factory create method for specified prototype; used for implemeting DCMTreeSyngo::Reader.
 
static Const_ReaderPtr prototype ()
 The current concrete prototype.
 
static void setPrototype (Const_ReaderPtr prototype)
 The concrete prototype is set by the implementing DLL.
 

Detailed Description

Definition at line 39 of file DCMTree_Reader.h.

Constructor & Destructor Documentation

◆ ~Reader()

virtual DCMTree::Reader::~Reader ( )
virtual

Destructor.

◆ Reader() [1/2]

DCMTree::Reader::Reader ( Const_DictPtr dictArg)
protected

Constructor that needs a DCMTree::Dict implementation.

◆ Reader() [2/2]

DCMTree::Reader::Reader ( )
protected

Constructor without parameter for prototype.

Member Function Documentation

◆ create() [1/2]

static ReaderPtr DCMTree::Reader::create ( const Const_DictPtr & dictArg)
static

Abstract factory create method.

Parameters
dictArg- The dictionary.

◆ create() [2/2]

static ReaderPtr DCMTree::Reader::create ( const Const_ReaderPtr & prototype,
const Const_DictPtr & dictArg )
staticprotected

Abstract factory create method for specified prototype; used for implemeting DCMTreeSyngo::Reader.

Parameters
prototype- The prototype for concrete object creation.
dictArg- The dictionary.

◆ createConcrete()

virtual ReaderPtr DCMTree::Reader::createConcrete ( const Const_DictPtr & dictArg) const
protectedpure virtual

Concrete factory creates method of the implementing prototype, called by the abstract one.

Parameters
dictArg- The dictionary.

◆ dict()

Const_DictPtr DCMTree::Reader::dict ( ) const

Accesses the Dict.

◆ prototype()

static Const_ReaderPtr DCMTree::Reader::prototype ( )
staticprotected

The current concrete prototype.

◆ read()

virtual MessagePtr DCMTree::Reader::read ( const Const_IOParameterPtr & parameter)
pure virtual

Reads a DCMTree::Tree from the file with the given name up to the given tag.

Must be implemented by subclasses.

◆ setPrototype()

static void DCMTree::Reader::setPrototype ( Const_ReaderPtr prototype)
staticprotected

The concrete prototype is set by the implementing DLL.


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