|
PACS System 0.1.0
PACS DICOM system library
|
UID mapping for consistent anonymization across related instances. More...
#include <anonymizer.h>

Public Member Functions | |
| std::string | map (const std::string &original_uid) |
| Get or create a replacement UID for the original UID. | |
| void | clear () |
| Clear all mappings. | |
Private Member Functions | |
| std::string | generate_uid () |
Private Attributes | |
| std::map< std::string, std::string > | mapping_ |
Static Private Attributes | |
| static constexpr const char * | uid_root_ = "1.2.826.0.1.3680043.8.1055.2" |
UID mapping for consistent anonymization across related instances.
Definition at line 31 of file anonymizer.h.
|
inline |
Clear all mappings.
Definition at line 52 of file anonymizer.h.
References mapping_.
|
inlineprivate |
Definition at line 57 of file anonymizer.h.
References uid_root_.
Referenced by map().

|
inline |
Get or create a replacement UID for the original UID.
| original_uid | The original UID to map |
Definition at line 38 of file anonymizer.h.
References generate_uid(), and mapping_.
Referenced by kcenon::pacs::dcm_modify::anonymizer::anonymize_uids().


|
private |
Definition at line 67 of file anonymizer.h.
|
staticconstexprprivate |
Definition at line 68 of file anonymizer.h.
Referenced by generate_uid().