Class DicomDictionary
Class for managing DICOM dictionaries.
Inheritance
DicomDictionary
Namespace: Dicom
Assembly: cs.temp.dll.dll
Syntax
public class DicomDictionary : IEnumerable<DicomDictionaryEntry>, IEnumerable
Constructors
DicomDictionary()
Declaration
Fields
PrivateCreatorTag
Declaration
public static readonly DicomDictionaryEntry PrivateCreatorTag
Field Value
UnknownTag
Declaration
public static readonly DicomDictionaryEntry UnknownTag
Field Value
Properties
Default
Declaration
public static DicomDictionary Default { get; set; }
Property Value
Item[DicomPrivateCreator]
Declaration
public DicomDictionary this[DicomPrivateCreator creator] { get; }
Parameters
Property Value
Item[DicomTag]
Declaration
public DicomDictionaryEntry this[DicomTag tag] { get; }
Parameters
Property Value
Item[String]
Gets the DIcomTag for a given keyword.
Declaration
public DicomTag this[string keyword] { get; }
Parameters
Type |
Name |
Description |
String |
keyword |
The attribute keyword that we look for.
|
Property Value
Type |
Description |
DicomTag |
A matching DicomTag or null if none is found.
|
PrivateCreator
Declaration
public DicomPrivateCreator PrivateCreator { get; }
Property Value
Methods
Add(DicomDictionaryEntry)
Declaration
public void Add(DicomDictionaryEntry entry)
Parameters
EnsureDefaultDictionariesLoaded(Nullable<Boolean>)
Ensures the default DICOM dictionaries are loaded
Safe to call multiple times but will throw an exception if inconsistent values for loadPrivateDictionary are provided over multiple calls
Declaration
public static DicomDictionary EnsureDefaultDictionariesLoaded(bool? loadPrivateDictionary = null)
Parameters
Type |
Name |
Description |
Nullable<Boolean> |
loadPrivateDictionary |
Leave null (default value) if unconcerned. Set true to search for resource streams named "Dicom.Dictionaries.Private Dictionary.xml.gz" in referenced assemblies
|
Returns
GetEnumerator()
Declaration
public IEnumerator<DicomDictionaryEntry> GetEnumerator()
Returns
GetPrivateCreator(String)
Declaration
public DicomPrivateCreator GetPrivateCreator(string creator)
Parameters
Type |
Name |
Description |
String |
creator |
|
Returns
Load DICOM dictionary data from file.
Declaration
public void Load(string file, DicomDictionaryFormat format)
Parameters
Implements