|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dcm4che2.data.VR
public abstract class VR
This class provides enumaration of DICOM Value Representation.
PS3.5 2006 Table 6.2-1
Nested Class Summary | |
---|---|
protected static interface |
VR.CharOut
|
static interface |
VR.Fragment
Fragments are used for encapsulation of an encoded (=compressed) pixel data stream into the Pixel Data (7FE0,0010) portion of the DICOM Data Set. |
Field Summary | |
---|---|
static VR |
AE
Application Entity (<= 16 chars) |
static VR |
AS
Age String |
static VR |
AT
Attribute Tag |
protected int |
code
|
static VR |
CS
Code String (<= 16 chars) |
static VR |
DA
Date |
static VR |
DS
Decimal String (=> float) |
static VR |
DT
Date Time |
static VR |
FD
Floating Point Double (=> double) |
static VR |
FL
Floating Point Single (=> float) |
protected int |
headerLength
|
static VR |
IS
Integer String (=> int) |
static VR |
LO
Long String (<= 64 chars) |
static VR |
LT
Long Text (<= 10240 chars) |
static VR |
OB
Other Byte String |
static VR |
OF
Other Float String |
static VR |
OW
Other Word String |
protected int |
padding
|
static VR |
PN
Person Name (component group <= 64 chars) |
static VR |
SH
Short String (<= 16 chars) |
static VR |
SL
Signed Long (-2147483648..+2147483647) |
static VR |
SQ
Sequence of Items |
static VR |
SS
Signed Short (-32768..+32767) |
static VR |
ST
Short Text (<= 1024 chars) |
static VR |
TM
Time |
static VR |
UI
Unique Identifier (UID) (<= 64 chars) |
static VR |
UL
Unsigned Long (0..4294967295) |
static VR |
UN
Unkown |
static VR |
UN_SIEMENS
Illegal VR='??' used by old SIEMENS Modalities |
static VR |
US
Unsigned Short (0..65535) |
static VR |
UT
Unlimited Text (<= 4294967294 chars) |
Method Summary | |
---|---|
int |
code()
|
boolean |
containsSingleValues(java.lang.String[] vals)
|
int |
explicitVRHeaderLength()
|
static void |
float2chars(byte[] b,
boolean bigEndian,
VR.CharOut ch,
char[] cbuf,
int maxLen)
|
void |
formatXMLValue(byte[] bs,
boolean bigEndian,
SpecificCharacterSet cs,
char[] cbuf,
org.xml.sax.ContentHandler out)
|
boolean |
isSingleValue(java.lang.String val)
|
int |
padding()
|
byte[] |
parseXMLValue(java.lang.StringBuffer sb,
java.io.ByteArrayOutputStream out,
boolean last,
SpecificCharacterSet cs)
|
void |
promptValue(byte[] bs,
boolean bigEndian,
SpecificCharacterSet cs,
char[] cbuf,
int maxLen,
java.lang.StringBuffer out)
|
byte[] |
toBytes(java.util.Date val)
|
byte[] |
toBytes(java.util.Date[] val)
|
byte[] |
toBytes(DateRange val)
|
byte[] |
toBytes(double[] val,
boolean bigEndian)
|
byte[] |
toBytes(double val,
boolean bigEndian)
|
byte[] |
toBytes(float[] val,
boolean bigEndian)
|
byte[] |
toBytes(float val,
boolean bigEndian)
|
byte[] |
toBytes(int[] val,
boolean bigEndian)
|
byte[] |
toBytes(int val,
boolean bigEndian)
|
byte[] |
toBytes(short[] val,
boolean bigEndian)
|
byte[] |
toBytes(java.lang.String[] val,
boolean bigEndian,
SpecificCharacterSet cs)
|
byte[] |
toBytes(java.lang.String val,
boolean bigEndian,
SpecificCharacterSet cs)
|
protected void |
toChars(byte[] bs,
boolean bigEndian,
SpecificCharacterSet cs,
char[] cbuf,
int maxLen,
VR.CharOut out)
|
java.util.Date |
toDate(byte[] val)
|
DateRange |
toDateRange(byte[] val)
|
java.util.Date[] |
toDates(byte[] val)
|
double |
toDouble(byte[] val,
boolean bigEndian)
|
double[] |
toDoubles(byte[] val,
boolean bigEndian)
|
float |
toFloat(byte[] val,
boolean bigEndian)
|
float[] |
toFloats(byte[] val,
boolean bigEndian)
|
void |
toggleEndian(byte[] val)
|
void |
toggleEndian(byte[] val,
int off,
int len)
|
int |
toInt(byte[] val,
boolean bigEndian)
|
int[] |
toInts(byte[] val,
boolean bigEndian)
|
java.util.regex.Pattern |
toPattern(byte[] bs,
boolean bigEndian,
SpecificCharacterSet cs,
boolean ignoreCase)
|
short[] |
toShorts(byte[] val,
boolean bigEndian)
|
java.lang.String |
toString()
|
java.lang.String |
toString(byte[] val,
boolean bigEndian,
SpecificCharacterSet cs)
|
java.lang.String[] |
toStrings(byte[] val,
boolean bigEndian,
SpecificCharacterSet cs)
|
static VR |
valueOf(int code)
|
int |
vm(byte[] bs,
SpecificCharacterSet cs)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final VR UN_SIEMENS
public static final VR AE
public static final VR AS
public static final VR AT
public static final VR CS
public static final VR DA
public static final VR DS
public static final VR DT
public static final VR FL
public static final VR FD
public static final VR IS
public static final VR LO
public static final VR LT
public static final VR OB
public static final VR OF
public static final VR OW
public static final VR PN
public static final VR SH
public static final VR SL
public static final VR SQ
public static final VR SS
public static final VR ST
public static final VR TM
public static final VR UI
public static final VR UL
public static final VR UN
public static final VR US
public static final VR UT
protected final int code
protected final int headerLength
protected final int padding
Method Detail |
---|
public static void float2chars(byte[] b, boolean bigEndian, VR.CharOut ch, char[] cbuf, int maxLen)
public static VR valueOf(int code)
public final java.lang.String toString()
toString
in class java.lang.Object
public final int code()
public final int padding()
public final int explicitVRHeaderLength()
public byte[] toBytes(int val, boolean bigEndian)
public byte[] toBytes(int[] val, boolean bigEndian)
public byte[] toBytes(short[] val, boolean bigEndian)
public byte[] toBytes(float val, boolean bigEndian)
public byte[] toBytes(float[] val, boolean bigEndian)
public byte[] toBytes(double val, boolean bigEndian)
public byte[] toBytes(double[] val, boolean bigEndian)
public byte[] toBytes(java.lang.String val, boolean bigEndian, SpecificCharacterSet cs)
public byte[] toBytes(java.lang.String[] val, boolean bigEndian, SpecificCharacterSet cs)
public byte[] toBytes(java.util.Date val)
public byte[] toBytes(java.util.Date[] val)
public byte[] toBytes(DateRange val)
public short[] toShorts(byte[] val, boolean bigEndian)
public int toInt(byte[] val, boolean bigEndian)
public int[] toInts(byte[] val, boolean bigEndian)
public float toFloat(byte[] val, boolean bigEndian)
public float[] toFloats(byte[] val, boolean bigEndian)
public double toDouble(byte[] val, boolean bigEndian)
public double[] toDoubles(byte[] val, boolean bigEndian)
public java.lang.String toString(byte[] val, boolean bigEndian, SpecificCharacterSet cs)
public java.lang.String[] toStrings(byte[] val, boolean bigEndian, SpecificCharacterSet cs)
public java.util.Date toDate(byte[] val)
public java.util.Date[] toDates(byte[] val)
public DateRange toDateRange(byte[] val)
public java.util.regex.Pattern toPattern(byte[] bs, boolean bigEndian, SpecificCharacterSet cs, boolean ignoreCase)
protected void toChars(byte[] bs, boolean bigEndian, SpecificCharacterSet cs, char[] cbuf, int maxLen, VR.CharOut out)
public void formatXMLValue(byte[] bs, boolean bigEndian, SpecificCharacterSet cs, char[] cbuf, org.xml.sax.ContentHandler out) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void promptValue(byte[] bs, boolean bigEndian, SpecificCharacterSet cs, char[] cbuf, int maxLen, java.lang.StringBuffer out)
public byte[] parseXMLValue(java.lang.StringBuffer sb, java.io.ByteArrayOutputStream out, boolean last, SpecificCharacterSet cs)
public int vm(byte[] bs, SpecificCharacterSet cs)
public void toggleEndian(byte[] val)
public void toggleEndian(byte[] val, int off, int len)
public boolean isSingleValue(java.lang.String val)
public boolean containsSingleValues(java.lang.String[] vals)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |