DCMTK  Version 3.6.1 20120515
OFFIS DICOM Toolkit
Public Member Functions | Private Attributes
DRTReferencedInstanceSequence::Item Class Reference

Item class. More...

+ Inheritance diagram for DRTReferencedInstanceSequence::Item:

List of all members.

Public Member Functions

 Item (const OFBool emptyDefaultItem=OFFalse)
 (default) constructor
 Item (const Item &copy)
 copy constructor
virtual ~Item ()
 destructor
Itemoperator= (const Item &copy)
 assigment operator
void clear ()
 clear all internal member variables
OFBool isEmpty ()
 check if item is empty
OFBool isValid () const
 check if item is valid, i.e. not the empty default item
OFCondition read (DcmItem &item)
 read elements from sequence item
OFCondition write (DcmItem &item)
 write elements to sequence item
OFCondition getBitsAllocated (Uint16 &value, const unsigned long pos=0) const
 get BitsAllocated (0028,0100)
OFCondition getBitsStored (Uint16 &value, const unsigned long pos=0) const
 get BitsStored (0028,0101)
OFCondition getBluePaletteColorLookupTableData (Uint16 *&value, unsigned long *count=NULL) const
 get BluePaletteColorLookupTableData (0028,1203)
OFCondition getBluePaletteColorLookupTableDescriptor (Uint16 &value, const unsigned long pos=0) const
 get BluePaletteColorLookupTableDescriptor (0028,1103)
OFCondition getColumns (Uint16 &value, const unsigned long pos=0) const
 get Columns (0028,0011)
OFCondition getGreenPaletteColorLookupTableData (Uint16 *&value, unsigned long *count=NULL) const
 get GreenPaletteColorLookupTableData (0028,1202)
OFCondition getGreenPaletteColorLookupTableDescriptor (Uint16 &value, const unsigned long pos=0) const
 get GreenPaletteColorLookupTableDescriptor (0028,1102)
OFCondition getHighBit (Uint16 &value, const unsigned long pos=0) const
 get HighBit (0028,0102)
OFCondition getICCProfile (Uint8 *&value, unsigned long *count=NULL) const
 get ICCProfile (0028,2000)
OFCondition getLargestImagePixelValue (Uint16 &value, const unsigned long pos=0) const
 get LargestImagePixelValue (0028,0107)
OFCondition getPhotometricInterpretation (OFString &value, const signed long pos=0) const
 get PhotometricInterpretation (0028,0004)
OFCondition getPixelAspectRatio (OFString &value, const signed long pos=0) const
 get PixelAspectRatio (0028,0034)
OFCondition getPixelAspectRatio (Sint32 &value, const unsigned long pos=0) const
 get PixelAspectRatio (0028,0034)
OFCondition getPixelRepresentation (Uint16 &value, const unsigned long pos=0) const
 get PixelRepresentation (0028,0103)
OFCondition getPlanarConfiguration (Uint16 &value, const unsigned long pos=0) const
 get PlanarConfiguration (0028,0006)
OFCondition getRedPaletteColorLookupTableData (Uint16 *&value, unsigned long *count=NULL) const
 get RedPaletteColorLookupTableData (0028,1201)
OFCondition getRedPaletteColorLookupTableDescriptor (Uint16 &value, const unsigned long pos=0) const
 get RedPaletteColorLookupTableDescriptor (0028,1101)
OFCondition getReferencedSOPClassUID (OFString &value, const signed long pos=0) const
 get ReferencedSOPClassUID (0008,1150)
OFCondition getReferencedSOPInstanceUID (OFString &value, const signed long pos=0) const
 get ReferencedSOPInstanceUID (0008,1155)
OFCondition getRows (Uint16 &value, const unsigned long pos=0) const
 get Rows (0028,0010)
OFCondition getSamplesPerPixel (Uint16 &value, const unsigned long pos=0) const
 get SamplesPerPixel (0028,0002)
OFCondition getSmallestImagePixelValue (Uint16 &value, const unsigned long pos=0) const
 get SmallestImagePixelValue (0028,0106)
DcmPixelDatagetPixelData ()
 get PixelData (7fe0,0010)
const DcmPixelDatagetPixelData () const
 get PixelData (7fe0,0010)
DRTPurposeOfReferenceCodeSequencegetPurposeOfReferenceCodeSequence ()
 get PurposeOfReferenceCodeSequence (0040,a170)
const
DRTPurposeOfReferenceCodeSequence
getPurposeOfReferenceCodeSequence () const
 get PurposeOfReferenceCodeSequence (0040,a170)
OFCondition setBitsAllocated (const Uint16 value, const unsigned long pos=0)
 set BitsAllocated (0028,0100)
OFCondition setBitsStored (const Uint16 value, const unsigned long pos=0)
 set BitsStored (0028,0101)
OFCondition setBluePaletteColorLookupTableData (const Uint16 *value, const unsigned long count)
 set BluePaletteColorLookupTableData (0028,1203)
OFCondition setBluePaletteColorLookupTableDescriptor (const Uint16 value, const unsigned long pos=0)
 set BluePaletteColorLookupTableDescriptor (0028,1103)
OFCondition setColumns (const Uint16 value, const unsigned long pos=0)
 set Columns (0028,0011)
OFCondition setGreenPaletteColorLookupTableData (const Uint16 *value, const unsigned long count)
 set GreenPaletteColorLookupTableData (0028,1202)
OFCondition setGreenPaletteColorLookupTableDescriptor (const Uint16 value, const unsigned long pos=0)
 set GreenPaletteColorLookupTableDescriptor (0028,1102)
OFCondition setHighBit (const Uint16 value, const unsigned long pos=0)
 set HighBit (0028,0102)
OFCondition setICCProfile (const Uint8 *value, const unsigned long count)
 set ICCProfile (0028,2000)
OFCondition setLargestImagePixelValue (const Uint16 value, const unsigned long pos=0)
 set LargestImagePixelValue (0028,0107)
OFCondition setPhotometricInterpretation (const OFString &value, const OFBool check=OFTrue)
 set PhotometricInterpretation (0028,0004)
OFCondition setPixelAspectRatio (const OFString &value, const OFBool check=OFTrue)
 set PixelAspectRatio (0028,0034)
OFCondition setPixelRepresentation (const Uint16 value, const unsigned long pos=0)
 set PixelRepresentation (0028,0103)
OFCondition setPlanarConfiguration (const Uint16 value, const unsigned long pos=0)
 set PlanarConfiguration (0028,0006)
OFCondition setRedPaletteColorLookupTableData (const Uint16 *value, const unsigned long count)
 set RedPaletteColorLookupTableData (0028,1201)
OFCondition setRedPaletteColorLookupTableDescriptor (const Uint16 value, const unsigned long pos=0)
 set RedPaletteColorLookupTableDescriptor (0028,1101)
OFCondition setReferencedSOPClassUID (const OFString &value, const OFBool check=OFTrue)
 set ReferencedSOPClassUID (0008,1150)
OFCondition setReferencedSOPInstanceUID (const OFString &value, const OFBool check=OFTrue)
 set ReferencedSOPInstanceUID (0008,1155)
OFCondition setRows (const Uint16 value, const unsigned long pos=0)
 set Rows (0028,0010)
OFCondition setSamplesPerPixel (const Uint16 value, const unsigned long pos=0)
 set SamplesPerPixel (0028,0002)
OFCondition setSmallestImagePixelValue (const Uint16 value, const unsigned long pos=0)
 set SmallestImagePixelValue (0028,0106)

Private Attributes

OFBool EmptyDefaultItem
 internal flag used to mark the empty default item
DcmUnsignedShort BitsAllocated
 BitsAllocated (0028,0100) vr=US, vm=1, type=1.
DcmUnsignedShort BitsStored
 BitsStored (0028,0101) vr=US, vm=1, type=1.
DcmOtherByteOtherWord BluePaletteColorLookupTableData
 BluePaletteColorLookupTableData (0028,1203) vr=OW, vm=1, type=1C.
DcmUnsignedShort BluePaletteColorLookupTableDescriptor
 BluePaletteColorLookupTableDescriptor (0028,1103) vr=US_SS, vm=3, type=1C.
DcmUnsignedShort Columns
 Columns (0028,0011) vr=US, vm=1, type=1.
DcmOtherByteOtherWord GreenPaletteColorLookupTableData
 GreenPaletteColorLookupTableData (0028,1202) vr=OW, vm=1, type=1C.
DcmUnsignedShort GreenPaletteColorLookupTableDescriptor
 GreenPaletteColorLookupTableDescriptor (0028,1102) vr=US_SS, vm=3, type=1C.
DcmUnsignedShort HighBit
 HighBit (0028,0102) vr=US, vm=1, type=1.
DcmOtherByteOtherWord ICCProfile
 ICCProfile (0028,2000) vr=OB, vm=1, type=3.
DcmUnsignedShort LargestImagePixelValue
 LargestImagePixelValue (0028,0107) vr=US_SS, vm=1, type=3.
DcmCodeString PhotometricInterpretation
 PhotometricInterpretation (0028,0004) vr=CS, vm=1, type=1.
DcmIntegerString PixelAspectRatio
 PixelAspectRatio (0028,0034) vr=IS, vm=2, type=1C.
DcmPixelData PixelData
 PixelData (7fe0,0010) vr=OB_OW, vm=1, type=1C.
DcmUnsignedShort PixelRepresentation
 PixelRepresentation (0028,0103) vr=US, vm=1, type=1.
DcmUnsignedShort PlanarConfiguration
 PlanarConfiguration (0028,0006) vr=US, vm=1, type=1C.
DRTPurposeOfReferenceCodeSequence PurposeOfReferenceCodeSequence
 PurposeOfReferenceCodeSequence (0040,a170) vr=SQ, vm=1, type=1.
DcmOtherByteOtherWord RedPaletteColorLookupTableData
 RedPaletteColorLookupTableData (0028,1201) vr=OW, vm=1, type=1C.
DcmUnsignedShort RedPaletteColorLookupTableDescriptor
 RedPaletteColorLookupTableDescriptor (0028,1101) vr=US_SS, vm=3, type=1C.
DcmUniqueIdentifier ReferencedSOPClassUID
 ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
DcmUniqueIdentifier ReferencedSOPInstanceUID
 ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
DcmUnsignedShort Rows
 Rows (0028,0010) vr=US, vm=1, type=1.
DcmUnsignedShort SamplesPerPixel
 SamplesPerPixel (0028,0002) vr=US, vm=1, type=1.
DcmUnsignedShort SmallestImagePixelValue
 SmallestImagePixelValue (0028,0106) vr=US_SS, vm=1, type=3.

Detailed Description

Item class.


Constructor & Destructor Documentation

DRTReferencedInstanceSequence::Item::Item ( const OFBool  emptyDefaultItem = OFFalse)

(default) constructor

Parameters:
emptyDefaultItemflag used to mark the empty default item

copy constructor

Parameters:
copyitem object to be copied

Member Function Documentation

OFCondition DRTReferencedInstanceSequence::Item::getBitsAllocated ( Uint16 &  value,
const unsigned long  pos = 0 
) const

get BitsAllocated (0028,0100)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1)
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::getBitsStored ( Uint16 &  value,
const unsigned long  pos = 0 
) const

get BitsStored (0028,0101)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1)
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::getBluePaletteColorLookupTableData ( Uint16 *&  value,
unsigned long *  count = NULL 
) const

get BluePaletteColorLookupTableData (0028,1203)

Parameters:
valuereference to variable in which the value should be stored
countstores number of items in the result array (if not NULL)
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::getBluePaletteColorLookupTableDescriptor ( Uint16 &  value,
const unsigned long  pos = 0 
) const

get BluePaletteColorLookupTableDescriptor (0028,1103)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1)
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::getColumns ( Uint16 &  value,
const unsigned long  pos = 0 
) const

get Columns (0028,0011)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1)
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::getGreenPaletteColorLookupTableData ( Uint16 *&  value,
unsigned long *  count = NULL 
) const

get GreenPaletteColorLookupTableData (0028,1202)

Parameters:
valuereference to variable in which the value should be stored
countstores number of items in the result array (if not NULL)
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::getGreenPaletteColorLookupTableDescriptor ( Uint16 &  value,
const unsigned long  pos = 0 
) const

get GreenPaletteColorLookupTableDescriptor (0028,1102)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1)
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::getHighBit ( Uint16 &  value,
const unsigned long  pos = 0 
) const

get HighBit (0028,0102)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1)
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::getICCProfile ( Uint8 *&  value,
unsigned long *  count = NULL 
) const

get ICCProfile (0028,2000)

Parameters:
valuereference to variable in which the value should be stored
countstores number of items in the result array (if not NULL)
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::getLargestImagePixelValue ( Uint16 &  value,
const unsigned long  pos = 0 
) const

get LargestImagePixelValue (0028,0107)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1)
Returns:
status, EC_Normal if successful, an error code otherwise

get PhotometricInterpretation (0028,0004)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1), -1 for all components
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::getPixelAspectRatio ( OFString value,
const signed long  pos = 0 
) const

get PixelAspectRatio (0028,0034)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1), -1 for all components
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::getPixelAspectRatio ( Sint32 &  value,
const unsigned long  pos = 0 
) const

get PixelAspectRatio (0028,0034)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1)
Returns:
status, EC_Normal if successful, an error code otherwise

get PixelData (7fe0,0010)

Returns:
reference to pixel data element

get PixelData (7fe0,0010)

Returns:
const reference to pixel data element
OFCondition DRTReferencedInstanceSequence::Item::getPixelRepresentation ( Uint16 &  value,
const unsigned long  pos = 0 
) const

get PixelRepresentation (0028,0103)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1)
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::getPlanarConfiguration ( Uint16 &  value,
const unsigned long  pos = 0 
) const

get PlanarConfiguration (0028,0006)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1)
Returns:
status, EC_Normal if successful, an error code otherwise

get PurposeOfReferenceCodeSequence (0040,a170)

Returns:
reference to sequence element

get PurposeOfReferenceCodeSequence (0040,a170)

Returns:
const reference to sequence element
OFCondition DRTReferencedInstanceSequence::Item::getRedPaletteColorLookupTableData ( Uint16 *&  value,
unsigned long *  count = NULL 
) const

get RedPaletteColorLookupTableData (0028,1201)

Parameters:
valuereference to variable in which the value should be stored
countstores number of items in the result array (if not NULL)
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::getRedPaletteColorLookupTableDescriptor ( Uint16 &  value,
const unsigned long  pos = 0 
) const

get RedPaletteColorLookupTableDescriptor (0028,1101)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1)
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::getReferencedSOPClassUID ( OFString value,
const signed long  pos = 0 
) const

get ReferencedSOPClassUID (0008,1150)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1), -1 for all components
Returns:
status, EC_Normal if successful, an error code otherwise

get ReferencedSOPInstanceUID (0008,1155)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1), -1 for all components
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::getRows ( Uint16 &  value,
const unsigned long  pos = 0 
) const

get Rows (0028,0010)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1)
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::getSamplesPerPixel ( Uint16 &  value,
const unsigned long  pos = 0 
) const

get SamplesPerPixel (0028,0002)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1)
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::getSmallestImagePixelValue ( Uint16 &  value,
const unsigned long  pos = 0 
) const

get SmallestImagePixelValue (0028,0106)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1)
Returns:
status, EC_Normal if successful, an error code otherwise

check if item is empty

Returns:
OFTrue if item is empty, OFFalse otherwise

check if item is valid, i.e. not the empty default item

Returns:
OFTrue if item is valid, OFFalse otherwise
Item& DRTReferencedInstanceSequence::Item::operator= ( const Item copy)

assigment operator

Parameters:
copyitem object to be copied

read elements from sequence item

Parameters:
itemreference to DICOM sequence item from which the elements should be read
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::setBitsAllocated ( const Uint16  value,
const unsigned long  pos = 0 
)

set BitsAllocated (0028,0100)

Parameters:
valuevalue to be set (should be valid for this VR)
posindex of the value to be set (0..vm-1), vm=1
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::setBitsStored ( const Uint16  value,
const unsigned long  pos = 0 
)

set BitsStored (0028,0101)

Parameters:
valuevalue to be set (should be valid for this VR)
posindex of the value to be set (0..vm-1), vm=1
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::setBluePaletteColorLookupTableData ( const Uint16 *  value,
const unsigned long  count 
)

set BluePaletteColorLookupTableData (0028,1203)

Parameters:
valuearray value to be set (data is copied)
countnumber of items in the array
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::setBluePaletteColorLookupTableDescriptor ( const Uint16  value,
const unsigned long  pos = 0 
)

set BluePaletteColorLookupTableDescriptor (0028,1103)

Parameters:
valuevalue to be set (should be valid for this VR)
posindex of the value to be set (0..vm-1), vm=3
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::setColumns ( const Uint16  value,
const unsigned long  pos = 0 
)

set Columns (0028,0011)

Parameters:
valuevalue to be set (should be valid for this VR)
posindex of the value to be set (0..vm-1), vm=1
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::setGreenPaletteColorLookupTableData ( const Uint16 *  value,
const unsigned long  count 
)

set GreenPaletteColorLookupTableData (0028,1202)

Parameters:
valuearray value to be set (data is copied)
countnumber of items in the array
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::setGreenPaletteColorLookupTableDescriptor ( const Uint16  value,
const unsigned long  pos = 0 
)

set GreenPaletteColorLookupTableDescriptor (0028,1102)

Parameters:
valuevalue to be set (should be valid for this VR)
posindex of the value to be set (0..vm-1), vm=3
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::setHighBit ( const Uint16  value,
const unsigned long  pos = 0 
)

set HighBit (0028,0102)

Parameters:
valuevalue to be set (should be valid for this VR)
posindex of the value to be set (0..vm-1), vm=1
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::setICCProfile ( const Uint8 *  value,
const unsigned long  count 
)

set ICCProfile (0028,2000)

Parameters:
valuearray value to be set (data is copied)
countnumber of items in the array
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::setLargestImagePixelValue ( const Uint16  value,
const unsigned long  pos = 0 
)

set LargestImagePixelValue (0028,0107)

Parameters:
valuevalue to be set (should be valid for this VR)
posindex of the value to be set (0..vm-1), vm=1
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::setPhotometricInterpretation ( const OFString value,
const OFBool  check = OFTrue 
)

set PhotometricInterpretation (0028,0004)

Parameters:
valuevalue to be set (single value only) or "" for no value
checkcheck 'value' for conformance with VR (CS) and VM (1) if enabled
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::setPixelAspectRatio ( const OFString value,
const OFBool  check = OFTrue 
)

set PixelAspectRatio (0028,0034)

Parameters:
valuevalue to be set (possibly multi-valued) or "" for no value
checkcheck 'value' for conformance with VR (IS) and VM (2) if enabled
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::setPixelRepresentation ( const Uint16  value,
const unsigned long  pos = 0 
)

set PixelRepresentation (0028,0103)

Parameters:
valuevalue to be set (should be valid for this VR)
posindex of the value to be set (0..vm-1), vm=1
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::setPlanarConfiguration ( const Uint16  value,
const unsigned long  pos = 0 
)

set PlanarConfiguration (0028,0006)

Parameters:
valuevalue to be set (should be valid for this VR)
posindex of the value to be set (0..vm-1), vm=1
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::setRedPaletteColorLookupTableData ( const Uint16 *  value,
const unsigned long  count 
)

set RedPaletteColorLookupTableData (0028,1201)

Parameters:
valuearray value to be set (data is copied)
countnumber of items in the array
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::setRedPaletteColorLookupTableDescriptor ( const Uint16  value,
const unsigned long  pos = 0 
)

set RedPaletteColorLookupTableDescriptor (0028,1101)

Parameters:
valuevalue to be set (should be valid for this VR)
posindex of the value to be set (0..vm-1), vm=3
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::setReferencedSOPClassUID ( const OFString value,
const OFBool  check = OFTrue 
)

set ReferencedSOPClassUID (0008,1150)

Parameters:
valuevalue to be set (single value only) or "" for no value
checkcheck 'value' for conformance with VR (UI) and VM (1) if enabled
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::setReferencedSOPInstanceUID ( const OFString value,
const OFBool  check = OFTrue 
)

set ReferencedSOPInstanceUID (0008,1155)

Parameters:
valuevalue to be set (single value only) or "" for no value
checkcheck 'value' for conformance with VR (UI) and VM (1) if enabled
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::setRows ( const Uint16  value,
const unsigned long  pos = 0 
)

set Rows (0028,0010)

Parameters:
valuevalue to be set (should be valid for this VR)
posindex of the value to be set (0..vm-1), vm=1
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::setSamplesPerPixel ( const Uint16  value,
const unsigned long  pos = 0 
)

set SamplesPerPixel (0028,0002)

Parameters:
valuevalue to be set (should be valid for this VR)
posindex of the value to be set (0..vm-1), vm=1
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTReferencedInstanceSequence::Item::setSmallestImagePixelValue ( const Uint16  value,
const unsigned long  pos = 0 
)

set SmallestImagePixelValue (0028,0106)

Parameters:
valuevalue to be set (should be valid for this VR)
posindex of the value to be set (0..vm-1), vm=1
Returns:
status, EC_Normal if successful, an error code otherwise

write elements to sequence item

Parameters:
itemreference to DICOM sequence item to which the elements should be written
Returns:
status, EC_Normal if successful, an error code otherwise

The documentation for this class was generated from the following file:


Generated on Tue May 15 2012 for DCMTK Version 3.6.1 20120515 by Doxygen 1.7.5.1-20111027