Fovia's Java Client/Server API
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Static Protected Attributes | List of all members
com.fovia.hdrcsrv.DICOM_TAG_DATA Class Reference

Public Member Functions

 DICOM_TAG_DATA (byte type)
 
 DICOM_TAG_DATA ()
 
String getValidString ()
 
void read (hdrcSerializer ser) throws IOException
 
void write (hdrcSerializer ser) throws IOException
 

Static Public Member Functions

static void setInvalidTagString (String val)
 

Public Attributes

double m_floatData
 
long m_intData
 
String m_stringData
 
byte m_type
 

Static Public Attributes

static final byte DCTD_FLOAT32 = 6
 
static final byte DCTD_FLOAT64 = 7
 
static final byte DCTD_INVALID = -1
 
static final byte DCTD_SLONG = 5
 
static final byte DCTD_SSHORT = 3
 
static final byte DCTD_STRING = 0
 
static final byte DCTD_UBYTE = 1
 
static final byte DCTD_ULONG = 4
 
static final byte DCTD_USHORT = 2
 

Static Protected Attributes

static String g_invalidString = "INV_TAG"
 

Detailed Description

Variant type to hold DICOM tag data. This is only relevant if you are using our hdrcILiteDICOMFile loading mechanism. If you are using your own custom loader, this is not a relevant object.

Constructor & Destructor Documentation

com.fovia.hdrcsrv.DICOM_TAG_DATA.DICOM_TAG_DATA ( byte  type)

Constructs a DICOM_TAG_DATA of the specified type.

Parameters
typebyte

References com.fovia.hdrcsrv.DICOM_TAG_DATA.m_type.

com.fovia.hdrcsrv.DICOM_TAG_DATA.DICOM_TAG_DATA ( )

Default constructor.

Member Function Documentation

String com.fovia.hdrcsrv.DICOM_TAG_DATA.getValidString ( )

Returns INV_TAG if m_stringData is null, otherwise returns m_stringData.

Returns
String

References com.fovia.hdrcsrv.DICOM_TAG_DATA.m_stringData.

Member Data Documentation

final byte com.fovia.hdrcsrv.DICOM_TAG_DATA.DCTD_FLOAT32 = 6
static

m_floatData contains a value intended to be stored as a 32-bit floating point value.

final byte com.fovia.hdrcsrv.DICOM_TAG_DATA.DCTD_FLOAT64 = 7
static

m_floatData contains a value intended to be stored as a 32-bit floating point value.

final byte com.fovia.hdrcsrv.DICOM_TAG_DATA.DCTD_INVALID = -1
static

m_floatData contains a value intended to be stored as a 64-bit floating point value.

final byte com.fovia.hdrcsrv.DICOM_TAG_DATA.DCTD_SLONG = 5
static

m_intData contains a value from -2147483648 to 2147483647

final byte com.fovia.hdrcsrv.DICOM_TAG_DATA.DCTD_SSHORT = 3
static

m_intData contains a value from -32768 to 32768

final byte com.fovia.hdrcsrv.DICOM_TAG_DATA.DCTD_STRING = 0
static

m_stringData contains the data.

final byte com.fovia.hdrcsrv.DICOM_TAG_DATA.DCTD_UBYTE = 1
static

m_intData contains a value from 0 to 255

final byte com.fovia.hdrcsrv.DICOM_TAG_DATA.DCTD_ULONG = 4
static

m_intData contains a value from 0 to 4294967295

final byte com.fovia.hdrcsrv.DICOM_TAG_DATA.DCTD_USHORT = 2
static

m_intData contains a value from 0 to 65535

double com.fovia.hdrcsrv.DICOM_TAG_DATA.m_floatData

Valid if m_type is of type DCTD_FLOAT32 or DCTD_FLOAT64.

long com.fovia.hdrcsrv.DICOM_TAG_DATA.m_intData

Valid if m_type is of type DCTD_UBYTE, DCTD_USHORT, DCTD_SSHORT, DCTD_ULONG or DCTD_SLONG.

String com.fovia.hdrcsrv.DICOM_TAG_DATA.m_stringData

Valid if m_type is of type DCTD_STRING.

Referenced by com.fovia.hdrcsrv.DICOM_TAG_DATA.getValidString().

byte com.fovia.hdrcsrv.DICOM_TAG_DATA.m_type

Describes the type of data stored in this class from the DCTD_* definitions in this class.

Referenced by com.fovia.hdrcsrv.DICOM_TAG_DATA.DICOM_TAG_DATA().