Enum Class DicomVR

java.lang.Object
java.lang.Enum<DicomVR>
loci.formats.dicom.DicomVR
All Implemented Interfaces:
Serializable, Comparable<DicomVR>, java.lang.constant.Constable

public enum DicomVR extends Enum<DicomVR>
Enumeration of valid DICOM value representations (VRs). See http://dicom.nema.org/medical/dicom/current/output/html/part05.html#sect_6.2
  • Enum Constant Details

    • AE

      public static final DicomVR AE
    • AS

      public static final DicomVR AS
    • AT

      public static final DicomVR AT
    • CS

      public static final DicomVR CS
    • DA

      public static final DicomVR DA
    • DS

      public static final DicomVR DS
    • DT

      public static final DicomVR DT
    • FD

      public static final DicomVR FD
    • FL

      public static final DicomVR FL
    • IS

      public static final DicomVR IS
    • LO

      public static final DicomVR LO
    • LT

      public static final DicomVR LT
    • OB

      public static final DicomVR OB
    • OD

      public static final DicomVR OD
    • OF

      public static final DicomVR OF
    • OL

      public static final DicomVR OL
    • OV

      public static final DicomVR OV
    • OW

      public static final DicomVR OW
    • PN

      public static final DicomVR PN
    • SH

      public static final DicomVR SH
    • SL

      public static final DicomVR SL
    • SQ

      public static final DicomVR SQ
    • SS

      public static final DicomVR SS
    • ST

      public static final DicomVR ST
    • SV

      public static final DicomVR SV
    • TM

      public static final DicomVR TM
    • UC

      public static final DicomVR UC
    • UI

      public static final DicomVR UI
    • UL

      public static final DicomVR UL
    • UN

      public static final DicomVR UN
    • UR

      public static final DicomVR UR
    • US

      public static final DicomVR US
    • UT

      public static final DicomVR UT
    • UV

      public static final DicomVR UV
    • QQ

      public static final DicomVR QQ
    • IMPLICIT

      public static final DicomVR IMPLICIT
    • RESERVED

      public static final DicomVR RESERVED
  • Field Details

    • code

      private int code
    • width

      private int width
    • lookup

      private static final Map<Integer,DicomVR> lookup
  • Constructor Details

    • DicomVR

      private DicomVR(int code, int width)
  • Method Details

    • values

      public static DicomVR[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DicomVR valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public int getCode()
    • getWidth

      public int getWidth()
    • get

      public static DicomVR get(int code)