Simulacrum  1.2
Public Member Functions | Static Public Member Functions | List of all members
Simulacrum::DCMDataDic Class Reference

#include <datadic.h>

Collaboration diagram for Simulacrum::DCMDataDic:
Collaboration graph

Public Member Functions

 DCMDataDic ()
 
 ~DCMDataDic ()
 
void clear (bool builtin=false)
 
bool contains (DICOM_ID_LENGTH)
 
bool contains (DICOM_ID_PART_LENGTH, DICOM_ID_PART_LENGTH)
 
bool contains (const std::string &, bool casesen=true)
 
const dcm_info_storegetEntry (DICOM_ID_LENGTH)
 
const dcm_info_storegetEntry (DICOM_ID_PART_LENGTH, DICOM_ID_PART_LENGTH)
 
const dcm_info_storegetEntry (const std::string &, bool casesen=true)
 
void addEntry (dcm_info_store &, bool toglobal=false)
 
void addEntry (DICOM_ID_LENGTH, const std::string &, const std::string &, char sens=0)
 
void addEntry (DICOM_ID_PART_LENGTH, DICOM_ID_PART_LENGTH, const std::string &, const std::string &, char sens=0)
 
void loadFromFile (const std::string &, bool global=false)
 
void storeToFile (const std::string &, bool builtin=true)
 
bool deidentifyTagTree (DCMTag &target, NNode &psedonmap, bool removeprivate=true, bool recurse=false)
 

Static Public Member Functions

static bool isTagTreeDeidentified (DCMTag &)
 
static void setTagTreeDeidentified (DCMTag &, bool=true)
 
static void pseudonTag (DCMTag &, NNode &)
 
static const char * pseudonDBName ()
 
static DICOM_ID_LENGTH toID (const std::string &tagname)
 
static std::string toIDStr (const std::string &tagname)
 
static std::string toName (const std::string &tagname)
 
static std::string toName (DICOM_ID_LENGTH)
 

Constructor & Destructor Documentation

◆ DCMDataDic()

DCMDataDic::DCMDataDic ( )

◆ ~DCMDataDic()

DCMDataDic::~DCMDataDic ( )

Member Function Documentation

◆ addEntry() [1/3]

void DCMDataDic::addEntry ( dcm_info_store newentry,
bool  toglobal = false 
)

◆ addEntry() [2/3]

void DCMDataDic::addEntry ( DICOM_ID_LENGTH  lid,
const std::string &  vr,
const std::string &  name,
char  sens = 0 
)

◆ addEntry() [3/3]

void DCMDataDic::addEntry ( DICOM_ID_PART_LENGTH  lid1,
DICOM_ID_PART_LENGTH  lid2,
const std::string &  vr,
const std::string &  name,
char  sens = 0 
)

◆ clear()

void DCMDataDic::clear ( bool  builtin = false)

◆ contains() [1/3]

bool DCMDataDic::contains ( const std::string &  lookupname,
bool  casesen = true 
)

◆ contains() [2/3]

bool DCMDataDic::contains ( DICOM_ID_LENGTH  tagid)

◆ contains() [3/3]

bool DCMDataDic::contains ( DICOM_ID_PART_LENGTH  lid1,
DICOM_ID_PART_LENGTH  lid2 
)

◆ deidentifyTagTree()

bool DCMDataDic::deidentifyTagTree ( DCMTag target,
NNode psedonmap,
bool  removeprivate = true,
bool  recurse = false 
)

◆ getEntry() [1/3]

const dcm_info_store & DCMDataDic::getEntry ( const std::string &  lookupname,
bool  casesen = true 
)

◆ getEntry() [2/3]

const dcm_info_store & DCMDataDic::getEntry ( DICOM_ID_LENGTH  tagid)

◆ getEntry() [3/3]

const dcm_info_store & DCMDataDic::getEntry ( DICOM_ID_PART_LENGTH  lid1,
DICOM_ID_PART_LENGTH  lid2 
)

◆ isTagTreeDeidentified()

bool DCMDataDic::isTagTreeDeidentified ( DCMTag isdeident)
static

◆ loadFromFile()

void DCMDataDic::loadFromFile ( const std::string &  filename,
bool  global = false 
)

◆ pseudonDBName()

const char * DCMDataDic::pseudonDBName ( )
static

◆ pseudonTag()

void DCMDataDic::pseudonTag ( DCMTag target,
NNode pseudodb 
)
static

◆ setTagTreeDeidentified()

void DCMDataDic::setTagTreeDeidentified ( DCMTag target,
bool  isdeident = true 
)
static

◆ storeToFile()

void DCMDataDic::storeToFile ( const std::string &  filename,
bool  builtin = true 
)

◆ toID()

DICOM_ID_LENGTH DCMDataDic::toID ( const std::string &  tagname)
static

◆ toIDStr()

std::string DCMDataDic::toIDStr ( const std::string &  tagname)
static

◆ toName() [1/2]

std::string DCMDataDic::toName ( const std::string &  tagname)
static

◆ toName() [2/2]

std::string DCMDataDic::toName ( DICOM_ID_LENGTH  tagid)
static

The documentation for this class was generated from the following files:
Simulacrum Project