MeVisLab Toolbox Reference
DCMTree::Reader Class Referenceabstract

#include <DCMTree_Reader.h>

Public Member Functions

virtual ~Reader ()
 dtor
 
virtual MessagePtr read (const Const_IOParameterPtr &parameter)=0
 read a DCMTree::Tree from the file with the given name up to the given tag must be implemented by sub-classes
 
Const_DictPtr dict () const
 access 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 create method of the implementing prototype, called by the abstract one
 
 Reader (Const_DictPtr dictArg)
 ctor - needs a DCMTree::Dict implementation
 
 Reader ()
 ctor - 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 51 of file DCMTree_Reader.h.

Constructor & Destructor Documentation

◆ ~Reader()

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

dtor

◆ Reader() [1/2]

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

ctor - needs a DCMTree::Dict implementation

◆ Reader() [2/2]

DCMTree::Reader::Reader ( )
protected

ctor - 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 create method of the implementing prototype, called by the abstract one

Parameters
dictArg- the dictionary

◆ dict()

Const_DictPtr DCMTree::Reader::dict ( ) const

access 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

read a DCMTree::Tree from the file with the given name up to the given tag must be implemented by sub-classes

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