Fovia's C++ Client/Server API
Public Member Functions | Public Attributes | List of all members
DICOM_TAG_DATA Struct Reference

Public Member Functions

 DICOM_TAG_DATA (const DICOM_TAG_DATA &r)
 
DICOM_TAG_DATAoperator= (const DICOM_TAG_DATA &r)
 

Public Attributes

union {
   float   float32
 
   double   float64
 
   signed int   slong
 
   signed short   sshort
 
   char *   string
 
   unsigned char   ubyte
 
   unsigned int   ulong
 
   unsigned short   ushort
 
}; 
 
unsigned char type
 

Detailed Description

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

See also
ENUM_DICOM_TAG_DATA_TYPES for what values type should contain.

Member Data Documentation

float DICOM_TAG_DATA::float32

32-bit float value

double DICOM_TAG_DATA::float64

64-bit float value

signed int DICOM_TAG_DATA::slong

signed 32-bit integer

signed short DICOM_TAG_DATA::sshort

signed 16-bit integer

char* DICOM_TAG_DATA::string

null-terminated string

unsigned char DICOM_TAG_DATA::type

The type of data stored in the object.

unsigned char DICOM_TAG_DATA::ubyte

unsigned 8-bit integer

unsigned int DICOM_TAG_DATA::ulong

unsigned 32sbit integer

unsigned short DICOM_TAG_DATA::ushort

unsigned 16-bit integer