13#ifndef DCM_TREE_READER_H
14#define DCM_TREE_READER_H
22 #pragma warning (push)
23 #pragma warning (disable : 4251)
36 typedef boost::shared_ptr<Reader>
ReaderPtr;
Const_DictPtr dict() const
Accesses the Dict.
static Const_ReaderPtr prototype()
The current concrete prototype.
static ReaderPtr create(const Const_DictPtr &dictArg)
Abstract factory create method.
Reader(Const_DictPtr dictArg)
Constructor that needs a DCMTree::Dict implementation.
virtual ~Reader()
Destructor.
static ReaderPtr create(const Const_ReaderPtr &prototype, const Const_DictPtr &dictArg)
Abstract factory create method for specified prototype; used for implemeting DCMTreeSyngo::Reader.
virtual MessagePtr read(const Const_IOParameterPtr ¶meter)=0
Reads a DCMTree::Tree from the file with the given name up to the given tag.
virtual ReaderPtr createConcrete(const Const_DictPtr &dictArg) const =0
Concrete factory creates method of the implementing prototype, called by the abstract one.
Reader()
Constructor without parameter for prototype.
static void setPrototype(Const_ReaderPtr prototype)
The concrete prototype is set by the implementing DLL.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
Class to dump a DCMTree DICOM message into a human-readable file.
boost::shared_ptr< Message > MessagePtr
boost::shared_ptr< const Reader > Const_ReaderPtr
boost::shared_ptr< const Dict > Const_DictPtr
boost::shared_ptr< const IOParameter > Const_IOParameterPtr
boost::shared_ptr< Reader > ReaderPtr
A shared pointer to DCMTree::Reader.