- // Ctor with key and flags
- // If the key is of the form "0020|000E"
- // (Two hex short separated by a pipe at 5th position)
- // it is interpreted as a Dicom Tag
- // The user name is retreived from dicom dictionnary
- // and the group and elem are filled
- // Else the name is set to the key
+ /// Ctor with all explicitely
+ AttributeDescriptor(const std::string& key,
+ const std::string& name,
+ unsigned short group,
+ unsigned short element,
+ unsigned int flags)
+ : mKey(key), mName(name), mGroup(group), mElement(element),
+ mFlags(flags)
+ {
+ }
+
+ // Ctor with key, name and flags