plastimatch
Loading...
Searching...
No Matches
dcmtk_util.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef _dcmtk_util_h_
5#define _dcmtk_util_h_
6
7#include "plmbase_config.h"
8#include <vector>
9#include "dcmtk/dcmdata/dcitem.h"
10#include "dcmtk/dcmdata/dctag.h"
11#include "dcmtk/ofstd/ofcond.h"
12
13PLMBASE_API void
15 std::string *date,
16 std::string *time
17);
18
19template<class T> PLMBASE_API OFCondition
20dcmtk_put (DcmItem*, const DcmTag &, T);
21PLMBASE_API OFCondition
22dcmtk_put (DcmItem*, const DcmTag &, const std::string&);
23PLMBASE_API OFCondition
24dcmtk_put (DcmItem*, const DcmTag &, const char*);
25PLMBASE_API OFCondition
26dcmtk_get_ds_float (DcmItem* item, const DcmTag &tag, float *s);
27PLMBASE_API OFCondition
28dcmtk_get_ds_float2 (DcmItem* item, const DcmTag &tag, float *s);
29PLMBASE_API OFCondition
30dcmtk_get_ds_float3 (DcmItem* item, const DcmTag &tag, float *s);
31PLMBASE_API OFCondition
32dcmtk_get_ds_float_vec (DcmItem* item, const DcmTag &tag,
33 std::vector<float> *f);
34
35#endif
OFCondition dcmtk_get_ds_float(DcmItem *item, const DcmTag &tag, float *s)
Definition dcmtk_util.cxx:61
OFCondition dcmtk_get_ds_float2(DcmItem *item, const DcmTag &tag, float *s)
Definition dcmtk_util.cxx:78
OFCondition dcmtk_put(DcmItem *, const DcmTag &, T)
Definition dcmtk_util.cxx:41
void dcmtk_get_date_time(std::string *date, std::string *time)
Definition dcmtk_util.cxx:22
OFCondition dcmtk_get_ds_float_vec(DcmItem *item, const DcmTag &tag, std::vector< float > *f)
Definition dcmtk_util.cxx:112
OFCondition dcmtk_get_ds_float3(DcmItem *item, const DcmTag &tag, float *s)
Definition dcmtk_util.cxx:95
#define PLMBASE_API
Definition plmbase_config.h:19