You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I would want to use this uuid type and get a string in the ISO/IEC 9834-8 UID format, would that mean I would need to use the iterators and create that format myself, or would the std::uuid type support that format also?
So you want the library to have a way or producing a string representation of a UUID in the format "2.25.329800735698586629295641978511506172918". Did I get that right?
ISO/IEC 9834-8 / ITU-T X.667 defines a method by which a UID may be constructed from the root "2.25." followed by a decimal representation of a Universally Unique Identifier (UUID). That decimal representation treats the 128 bit UUID as an integer, and may thus be up to 39 digits long (leading zeros must be suppressed).
Yes, that right.
However the root "2.25" is mainly used in the medical domain (DICOM standard). A to_string function that would just return the uuid in its integer format (aka 329800735698586629295641978511506172918) would be already be helpful. Adding one of the prefixes as documented in ISO/IEC 9834-8 can then be done by the application.
Hi Marius,
If I would want to use this uuid type and get a string in the ISO/IEC 9834-8 UID format, would that mean I would need to use the iterators and create that format myself, or would the std::uuid type support that format also?
Reference:
http://dicom.nema.org/dicom/2013/output/chtml/part05/sect_B.2.html
also chapter 8 of the ISO/IEC 9834-8 standard, aka: 2.25.329800735698586629295641978511506172918
Victor
The text was updated successfully, but these errors were encountered: