plastimatch
Loading...
Searching...
No Matches
dcmtk_util.cxx File Reference
#include "plmbase_config.h"
#include <string>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "dcmtk_config.h"
#include "dcmtk/dcmdata/dctk.h"
#include "dcmtk_util.h"
#include "print_and_exit.h"
#include "string_util.h"

Macros

#define EC_InvalidValue   EC_InvalidTag
 

Functions

void dcmtk_get_date_time (std::string *current_date, std::string *current_time)
 
template<class T >
OFCondition dcmtk_put (DcmItem *item, const DcmTag &tag, T t)
 
OFCondition dcmtk_put (DcmItem *item, const DcmTag &tag, const std::string &s)
 
OFCondition dcmtk_put (DcmItem *item, const DcmTag &tag, const char *s)
 
OFCondition dcmtk_get_ds_float (DcmItem *item, const DcmTag &tag, float *s)
 
OFCondition dcmtk_get_ds_float2 (DcmItem *item, const DcmTag &tag, float *s)
 
OFCondition dcmtk_get_ds_float3 (DcmItem *item, const DcmTag &tag, float *s)
 
OFCondition dcmtk_get_ds_float_vec (DcmItem *item, const DcmTag &tag, std::vector< float > *f)
 
template OFCondition dcmtk_put (DcmItem *, const DcmTag &, int)
 
template OFCondition dcmtk_put (DcmItem *, const DcmTag &, size_t)
 
template OFCondition dcmtk_put (DcmItem *, const DcmTag &, float)
 

Macro Definition Documentation

◆ EC_InvalidValue

#define EC_InvalidValue   EC_InvalidTag

Function Documentation

◆ dcmtk_get_date_time()

void dcmtk_get_date_time ( std::string * current_date,
std::string * current_time )

◆ dcmtk_get_ds_float()

OFCondition dcmtk_get_ds_float ( DcmItem * item,
const DcmTag & tag,
float * s )

◆ dcmtk_get_ds_float2()

OFCondition dcmtk_get_ds_float2 ( DcmItem * item,
const DcmTag & tag,
float * s )

◆ dcmtk_get_ds_float3()

OFCondition dcmtk_get_ds_float3 ( DcmItem * item,
const DcmTag & tag,
float * s )

◆ dcmtk_get_ds_float_vec()

OFCondition dcmtk_get_ds_float_vec ( DcmItem * item,
const DcmTag & tag,
std::vector< float > * f )

◆ dcmtk_put() [1/6]

template OFCondition dcmtk_put ( DcmItem * ,
const DcmTag & ,
float  )

◆ dcmtk_put() [2/6]

template OFCondition dcmtk_put ( DcmItem * ,
const DcmTag & ,
int  )

◆ dcmtk_put() [3/6]

template OFCondition dcmtk_put ( DcmItem * ,
const DcmTag & ,
size_t  )

◆ dcmtk_put() [4/6]

OFCondition dcmtk_put ( DcmItem * item,
const DcmTag & tag,
const char * s )

◆ dcmtk_put() [5/6]

OFCondition dcmtk_put ( DcmItem * item,
const DcmTag & tag,
const std::string & s )

◆ dcmtk_put() [6/6]

template<class T >
OFCondition dcmtk_put ( DcmItem * item,
const DcmTag & tag,
T t )