35 #include "dcmtk/config/osconfig.h" 36 #include "dcmtk/dcmdata/dcvrobow.h" 51 const Uint32 len = 0);
105 const E_TransferSyntax ixfer,
106 const E_GrpLenEncoding glenc,
107 const Uint32 maxReadLength);
133 const E_TransferSyntax oxfer,
134 const E_EncodingType enctype,
146 const E_TransferSyntax oxfer,
147 const E_EncodingType enctype,
204 const Uint32 numBytes,
216 const Uint32 numWords,
DcmPolymorphOBOW(const DcmTag &tag, const Uint32 len=0)
constructor
this class encapsulates an attribute tag (group, element) and a VR.
virtual OFCondition createUint8Array(const Uint32 numBytes, Uint8 *&bytes)
create an empty Uint8 array of given number of bytes and set it.
This class implements a buffering mechanism that is used when writing large elements that reside in f...
base class for output streams.
Abstract base class for most classes in module dcmdata.
virtual OFCondition read(DcmInputStream &inStream, const E_TransferSyntax ixfer, const E_GrpLenEncoding glenc, const Uint32 maxReadLength)
This function reads the data value of an attribute which is captured in the input stream and captures...
virtual DcmObject * clone() const
clone method
DcmPolymorphOBOW & operator=(const DcmPolymorphOBOW &obj)
copy assignment operator
virtual OFCondition putUint8Array(const Uint8 *vals, const unsigned long num)
replace the element value by a copy of the given Uint8 array (which is possibly multi-valued).
virtual OFCondition getUint16Array(Uint16 *&val)
get a pointer to the element value of the current element as type Uint16.
virtual OFCondition write(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)
This function writes this element's value to the outstream which was passed.
virtual void transferEnd()
finalize the transfer state of this object.
virtual void transferInit()
initialize the transfer state of this object.
virtual OFCondition writeSignatureFormat(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)
special write method for creation of digital signatures
DcmEVR currentVR
the current VR of value field, which can change over time
virtual ~DcmPolymorphOBOW()
destructor
a class representing the DICOM value representations 'Other Byte String' (OB) and 'Other Word String'...
OFBool changeVR
this flag is used during write operations in Implicit VR Little Endian and notes that the VR has temp...
a class representing DICOM elements (such as uncompressed pixel data) that can be interpreted either ...
virtual OFCondition createUint16Array(const Uint32 numWords, Uint16 *&words)
create an empty Uint16 array of given number of words and set it.
virtual OFCondition putUint16Array(const Uint16 *vals, const unsigned long num)
replace the element value by a copy of the given Uint16 array (which is possibly multi-valued).
virtual OFCondition getUint8Array(Uint8 *&val)
get a pointer to the element value of the current element as type string.
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
General purpose class for condition codes.