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

Item class. More...

+ Inheritance diagram for DRTIonToleranceTableSequence::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 getBeamLimitingDeviceAngleTolerance (OFString &value, const signed long pos=0) const
 get BeamLimitingDeviceAngleTolerance (300a,0046)
OFCondition getBeamLimitingDeviceAngleTolerance (Float64 &value, const unsigned long pos=0) const
 get BeamLimitingDeviceAngleTolerance (300a,0046)
OFCondition getGantryAngleTolerance (OFString &value, const signed long pos=0) const
 get GantryAngleTolerance (300a,0044)
OFCondition getGantryAngleTolerance (Float64 &value, const unsigned long pos=0) const
 get GantryAngleTolerance (300a,0044)
OFCondition getPatientSupportAngleTolerance (OFString &value, const signed long pos=0) const
 get PatientSupportAngleTolerance (300a,004c)
OFCondition getPatientSupportAngleTolerance (Float64 &value, const unsigned long pos=0) const
 get PatientSupportAngleTolerance (300a,004c)
OFCondition getSnoutPositionTolerance (Float32 &value, const unsigned long pos=0) const
 get SnoutPositionTolerance (300a,004b)
OFCondition getTableTopLateralPositionTolerance (OFString &value, const signed long pos=0) const
 get TableTopLateralPositionTolerance (300a,0053)
OFCondition getTableTopLateralPositionTolerance (Float64 &value, const unsigned long pos=0) const
 get TableTopLateralPositionTolerance (300a,0053)
OFCondition getTableTopLongitudinalPositionTolerance (OFString &value, const signed long pos=0) const
 get TableTopLongitudinalPositionTolerance (300a,0052)
OFCondition getTableTopLongitudinalPositionTolerance (Float64 &value, const unsigned long pos=0) const
 get TableTopLongitudinalPositionTolerance (300a,0052)
OFCondition getTableTopPitchAngleTolerance (Float32 &value, const unsigned long pos=0) const
 get TableTopPitchAngleTolerance (300a,004f)
OFCondition getTableTopRollAngleTolerance (Float32 &value, const unsigned long pos=0) const
 get TableTopRollAngleTolerance (300a,0050)
OFCondition getTableTopVerticalPositionTolerance (OFString &value, const signed long pos=0) const
 get TableTopVerticalPositionTolerance (300a,0051)
OFCondition getTableTopVerticalPositionTolerance (Float64 &value, const unsigned long pos=0) const
 get TableTopVerticalPositionTolerance (300a,0051)
OFCondition getToleranceTableLabel (OFString &value, const signed long pos=0) const
 get ToleranceTableLabel (300a,0043)
OFCondition getToleranceTableNumber (OFString &value, const signed long pos=0) const
 get ToleranceTableNumber (300a,0042)
OFCondition getToleranceTableNumber (Sint32 &value, const unsigned long pos=0) const
 get ToleranceTableNumber (300a,0042)
DRTBeamLimitingDeviceToleranceSequencegetBeamLimitingDeviceToleranceSequence ()
 get BeamLimitingDeviceToleranceSequence (300a,0048)
const
DRTBeamLimitingDeviceToleranceSequence
getBeamLimitingDeviceToleranceSequence () const
 get BeamLimitingDeviceToleranceSequence (300a,0048)
OFCondition setBeamLimitingDeviceAngleTolerance (const OFString &value, const OFBool check=OFTrue)
 set BeamLimitingDeviceAngleTolerance (300a,0046)
OFCondition setGantryAngleTolerance (const OFString &value, const OFBool check=OFTrue)
 set GantryAngleTolerance (300a,0044)
OFCondition setPatientSupportAngleTolerance (const OFString &value, const OFBool check=OFTrue)
 set PatientSupportAngleTolerance (300a,004c)
OFCondition setSnoutPositionTolerance (const Float32 value, const unsigned long pos=0)
 set SnoutPositionTolerance (300a,004b)
OFCondition setTableTopLateralPositionTolerance (const OFString &value, const OFBool check=OFTrue)
 set TableTopLateralPositionTolerance (300a,0053)
OFCondition setTableTopLongitudinalPositionTolerance (const OFString &value, const OFBool check=OFTrue)
 set TableTopLongitudinalPositionTolerance (300a,0052)
OFCondition setTableTopPitchAngleTolerance (const Float32 value, const unsigned long pos=0)
 set TableTopPitchAngleTolerance (300a,004f)
OFCondition setTableTopRollAngleTolerance (const Float32 value, const unsigned long pos=0)
 set TableTopRollAngleTolerance (300a,0050)
OFCondition setTableTopVerticalPositionTolerance (const OFString &value, const OFBool check=OFTrue)
 set TableTopVerticalPositionTolerance (300a,0051)
OFCondition setToleranceTableLabel (const OFString &value, const OFBool check=OFTrue)
 set ToleranceTableLabel (300a,0043)
OFCondition setToleranceTableNumber (const OFString &value, const OFBool check=OFTrue)
 set ToleranceTableNumber (300a,0042)

Private Attributes

OFBool EmptyDefaultItem
 internal flag used to mark the empty default item
DcmDecimalString BeamLimitingDeviceAngleTolerance
 BeamLimitingDeviceAngleTolerance (300a,0046) vr=DS, vm=1, type=3.
DRTBeamLimitingDeviceToleranceSequence BeamLimitingDeviceToleranceSequence
 BeamLimitingDeviceToleranceSequence (300a,0048) vr=SQ, vm=1, type=3.
DcmDecimalString GantryAngleTolerance
 GantryAngleTolerance (300a,0044) vr=DS, vm=1, type=3.
DcmDecimalString PatientSupportAngleTolerance
 PatientSupportAngleTolerance (300a,004c) vr=DS, vm=1, type=3.
DcmFloatingPointSingle SnoutPositionTolerance
 SnoutPositionTolerance (300a,004b) vr=FL, vm=1, type=3.
DcmDecimalString TableTopLateralPositionTolerance
 TableTopLateralPositionTolerance (300a,0053) vr=DS, vm=1, type=3.
DcmDecimalString TableTopLongitudinalPositionTolerance
 TableTopLongitudinalPositionTolerance (300a,0052) vr=DS, vm=1, type=3.
DcmFloatingPointSingle TableTopPitchAngleTolerance
 TableTopPitchAngleTolerance (300a,004f) vr=FL, vm=1, type=3.
DcmFloatingPointSingle TableTopRollAngleTolerance
 TableTopRollAngleTolerance (300a,0050) vr=FL, vm=1, type=3.
DcmDecimalString TableTopVerticalPositionTolerance
 TableTopVerticalPositionTolerance (300a,0051) vr=DS, vm=1, type=3.
DcmShortString ToleranceTableLabel
 ToleranceTableLabel (300a,0043) vr=SH, vm=1, type=3.
DcmIntegerString ToleranceTableNumber
 ToleranceTableNumber (300a,0042) vr=IS, vm=1, type=1.

Detailed Description

Item class.


Constructor & Destructor Documentation

DRTIonToleranceTableSequence::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

get BeamLimitingDeviceAngleTolerance (300a,0046)

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 DRTIonToleranceTableSequence::Item::getBeamLimitingDeviceAngleTolerance ( Float64 &  value,
const unsigned long  pos = 0 
) const

get BeamLimitingDeviceAngleTolerance (300a,0046)

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 BeamLimitingDeviceToleranceSequence (300a,0048)

Returns:
reference to sequence element

get BeamLimitingDeviceToleranceSequence (300a,0048)

Returns:
const reference to sequence element
OFCondition DRTIonToleranceTableSequence::Item::getGantryAngleTolerance ( OFString value,
const signed long  pos = 0 
) const

get GantryAngleTolerance (300a,0044)

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 DRTIonToleranceTableSequence::Item::getGantryAngleTolerance ( Float64 &  value,
const unsigned long  pos = 0 
) const

get GantryAngleTolerance (300a,0044)

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 PatientSupportAngleTolerance (300a,004c)

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 DRTIonToleranceTableSequence::Item::getPatientSupportAngleTolerance ( Float64 &  value,
const unsigned long  pos = 0 
) const

get PatientSupportAngleTolerance (300a,004c)

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 DRTIonToleranceTableSequence::Item::getSnoutPositionTolerance ( Float32 &  value,
const unsigned long  pos = 0 
) const

get SnoutPositionTolerance (300a,004b)

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 TableTopLateralPositionTolerance (300a,0053)

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 DRTIonToleranceTableSequence::Item::getTableTopLateralPositionTolerance ( Float64 &  value,
const unsigned long  pos = 0 
) const

get TableTopLateralPositionTolerance (300a,0053)

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 TableTopLongitudinalPositionTolerance (300a,0052)

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 DRTIonToleranceTableSequence::Item::getTableTopLongitudinalPositionTolerance ( Float64 &  value,
const unsigned long  pos = 0 
) const

get TableTopLongitudinalPositionTolerance (300a,0052)

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 DRTIonToleranceTableSequence::Item::getTableTopPitchAngleTolerance ( Float32 &  value,
const unsigned long  pos = 0 
) const

get TableTopPitchAngleTolerance (300a,004f)

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 DRTIonToleranceTableSequence::Item::getTableTopRollAngleTolerance ( Float32 &  value,
const unsigned long  pos = 0 
) const

get TableTopRollAngleTolerance (300a,0050)

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 TableTopVerticalPositionTolerance (300a,0051)

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 DRTIonToleranceTableSequence::Item::getTableTopVerticalPositionTolerance ( Float64 &  value,
const unsigned long  pos = 0 
) const

get TableTopVerticalPositionTolerance (300a,0051)

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 DRTIonToleranceTableSequence::Item::getToleranceTableLabel ( OFString value,
const signed long  pos = 0 
) const

get ToleranceTableLabel (300a,0043)

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 DRTIonToleranceTableSequence::Item::getToleranceTableNumber ( OFString value,
const signed long  pos = 0 
) const

get ToleranceTableNumber (300a,0042)

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 DRTIonToleranceTableSequence::Item::getToleranceTableNumber ( Sint32 &  value,
const unsigned long  pos = 0 
) const

get ToleranceTableNumber (300a,0042)

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& DRTIonToleranceTableSequence::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

set BeamLimitingDeviceAngleTolerance (300a,0046)

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

set GantryAngleTolerance (300a,0044)

Parameters:
valuevalue to be set (single value only) or "" for no value
checkcheck 'value' for conformance with VR (DS) and VM (1) if enabled
Returns:
status, EC_Normal if successful, an error code otherwise

set PatientSupportAngleTolerance (300a,004c)

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

set SnoutPositionTolerance (300a,004b)

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

set TableTopLateralPositionTolerance (300a,0053)

Parameters:
valuevalue to be set (single value only) or "" for no value
checkcheck 'value' for conformance with VR (DS) and VM (1) if enabled
Returns:
status, EC_Normal if successful, an error code otherwise

set TableTopLongitudinalPositionTolerance (300a,0052)

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

set TableTopPitchAngleTolerance (300a,004f)

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 DRTIonToleranceTableSequence::Item::setTableTopRollAngleTolerance ( const Float32  value,
const unsigned long  pos = 0 
)

set TableTopRollAngleTolerance (300a,0050)

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

set TableTopVerticalPositionTolerance (300a,0051)

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

set ToleranceTableLabel (300a,0043)

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

set ToleranceTableNumber (300a,0042)

Parameters:
valuevalue to be set (single value only) or "" for no value
checkcheck 'value' for conformance with VR (IS) and VM (1) if enabled
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