32 #include "dcmtk/config/osconfig.h"
33 #include "dcmtk/dcmdata/dcvrpobw.h"
34 #include "dcmtk/ofstd/oflist.h"
71 virtual const char *
className()
const = 0;
98 const E_TransferSyntax rt,
114 return !(*
this == x);
197 void clearRepresentationList(
198 DcmRepresentationListIterator leaveInList);
203 OFCondition findConformingEncapsulatedRepresentation(
206 DcmRepresentationListIterator & result);
216 DcmRepresentationListIterator & result);
220 DcmRepresentationListIterator insertRepresentationEntry(
246 if (current == repList.
end()) setTagVR(unencapsulatedVR);
247 else setTagVR(EVR_OB);
307 virtual DcmEVR
ident()
const {
return EVR_PixelData; }
316 virtual void print(STD_NAMESPACE ostream&out,
317 const size_t flags = 0,
319 const char *pixelFileName = NULL,
320 size_t *pixelCounter = NULL);
326 virtual OFBool canWriteXfer(
const E_TransferSyntax newXfer,
327 const E_TransferSyntax oldXfer);
334 virtual Uint32 calcElementLength(
const E_TransferSyntax xfer,
335 const E_EncodingType enctype);
342 virtual Uint32 getLength(
343 const E_TransferSyntax xfer = EXS_LittleEndianImplicit,
344 const E_EncodingType enctype = EET_UndefinedLength);
349 virtual void transferInit();
365 const E_TransferSyntax ixfer,
366 const E_GrpLenEncoding glenc = EGL_noChange,
367 const Uint32 maxReadLength = DCM_MaxReadLength);
376 const E_TransferSyntax oxfer,
377 const E_EncodingType enctype,
385 virtual OFCondition writeXML(STD_NAMESPACE ostream&out,
386 const size_t flags = 0);
397 const E_TransferSyntax oxfer,
398 const E_EncodingType enctype,
414 virtual void transferEnd();
418 OFBool canChooseRepresentation(
419 const E_TransferSyntax
repType,
428 const E_TransferSyntax
repType,
435 void putOriginalRepresentation(
436 const E_TransferSyntax
repType,
445 const Uint8 * byteValue,
446 const unsigned long length);
453 const Uint16 * wordValue,
454 const unsigned long length);
459 const Uint32 numBytes,
465 const Uint32 numWords,
482 const E_ByteOrder byteOrder);
489 const E_TransferSyntax
repType,
496 void getOriginalRepresentationKey(
503 void getCurrentRepresentationKey(
515 OFBool hasRepresentation(
516 const E_TransferSyntax
repType,
523 const E_TransferSyntax
repType,
528 void removeAllButOriginalRepresentations();
533 void removeAllButCurrentRepresentations();
540 const E_TransferSyntax
repType,
554 void setNonEncapsulationFlag(OFBool flag);
587 Uint32& startFragment,