33 #include "dcmtk/config/osconfig.h"
35 #include "dcmtk/ofstd/offile.h"
36 #include "dcmtk/dcmdata/dctypes.h"
37 #include "dcmtk/dcmdata/dcobject.h"
38 #include "dcmtk/dcmdata/dclist.h"
39 #include "dcmtk/dcmdata/dcpcache.h"
66 const Uint32 len = 0);
108 virtual DcmEVR
ident()
const;
113 virtual unsigned long getVM();
118 virtual unsigned long card()
const;
126 virtual OFBool
isLeaf()
const {
return OFFalse; }
135 virtual void print(STD_NAMESPACE ostream&out,
136 const size_t flags = 0,
138 const char *pixelFileName = NULL,
139 size_t *pixelCounter = NULL);
158 const E_EncodingType enctype);
172 virtual Uint32
getLength(
const E_TransferSyntax xfer = EXS_LittleEndianImplicit,
173 const E_EncodingType enctype = EET_UndefinedLength);
190 virtual OFBool
canWriteXfer(
const E_TransferSyntax newXfer,
191 const E_TransferSyntax oldXfer);
207 const E_TransferSyntax ixfer,
208 const E_GrpLenEncoding glenc = EGL_noChange,
209 const Uint32 maxReadLength = DCM_MaxReadLength);
220 const E_TransferSyntax oxfer,
221 const E_EncodingType enctype,
230 const size_t flags = 0);
241 const E_TransferSyntax oxfer,
242 const E_EncodingType enctype,
278 OFBool replaceOld = OFFalse,
279 OFBool checkInsertOrder = OFFalse);
304 const OFBool intoSub);
324 virtual DcmElement *
remove(
const unsigned long num);
346 virtual OFBool
isEmpty(
const OFBool normalize = OFTrue);
383 E_SearchMode mode = ESM_fromHere,
384 OFBool searchIntoSub = OFTrue );
424 const E_PaddingEncoding padenc = EPD_noChange,
425 const E_TransferSyntax xfer = EXS_Unknown,
426 const E_EncodingType enctype = EET_ExplicitLength,
427 const Uint32 padlen = 0,
428 const Uint32 subPadlen = 0,
429 Uint32 instanceLength = 0);
439 OFBool searchIntoSub = OFFalse);
449 OFBool searchIntoSub = OFFalse);
464 const OFBool searchIntoSub = OFFalse,
465 const OFBool createCopy = OFFalse);
489 const OFBool searchIntoSub = OFFalse);
509 const unsigned long pos = 0,
510 const OFBool searchIntoSub = OFFalse);
527 const OFBool searchIntoSub = OFFalse);
540 const unsigned long pos = 0,
541 const OFBool searchIntoSub = OFFalse);
554 unsigned long *count = NULL,
555 const OFBool searchIntoSub = OFFalse);
568 const unsigned long pos = 0,
569 const OFBool searchIntoSub = OFFalse);
581 const Uint16 *&value,
582 unsigned long *count = NULL,
583 const OFBool searchIntoSub = OFFalse);
596 const unsigned long pos = 0,
597 const OFBool searchIntoSub = OFFalse);
609 const Sint16 *&value,
610 unsigned long *count = NULL,
611 const OFBool searchIntoSub = OFFalse);
624 const unsigned long pos = 0,
625 const OFBool searchIntoSub = OFFalse);
637 const Uint32 *&value,
638 unsigned long *count = NULL,
639 const OFBool searchIntoSub = OFFalse);
652 const unsigned long pos = 0,
653 const OFBool searchIntoSub = OFFalse);
665 const Sint32 *&value,
666 unsigned long *count = NULL,
667 const OFBool searchIntoSub = OFFalse);
680 const unsigned long pos = 0,
681 const OFBool searchIntoSub = OFFalse);
694 const unsigned long pos = 0,
695 const OFBool searchIntoSub = OFFalse);
707 const Float32 *&value,
708 unsigned long *count = NULL,
709 const OFBool searchIntoSub = OFFalse);
722 const unsigned long pos = 0,
723 const OFBool searchIntoSub = OFFalse);
735 const Float64 *&value,
736 unsigned long *count = NULL,
737 const OFBool searchIntoSub = OFFalse);
751 const OFBool searchIntoSub = OFFalse,
752 const OFBool createCopy = OFFalse);
767 const signed long itemNum = 0,
768 const OFBool createCopy = OFFalse);
787 const signed long itemNum = 0);
804 const OFBool replaceOld = OFTrue);
815 const OFBool allOccurrences = OFFalse,
816 const OFBool searchIntoSub = OFFalse);
825 const signed long itemNum);
840 const OFBool replaceOld = OFTrue);
851 const OFBool replaceOld = OFTrue);
863 const unsigned long count,
864 const OFBool replaceOld = OFTrue);
877 const unsigned long pos = 0,
878 const OFBool replaceOld = OFTrue);
890 const unsigned long count,
891 const OFBool replaceOld = OFTrue);
904 const unsigned long pos = 0,
905 const OFBool replaceOld = OFTrue);
917 const unsigned long count,
918 const OFBool replaceOld = OFTrue);
931 const unsigned long pos = 0,
932 const OFBool replaceOld = OFTrue);
945 const unsigned long pos = 0,
946 const OFBool replaceOld = OFTrue);
959 const unsigned long pos = 0,
960 const OFBool replaceOld = OFTrue);
973 const unsigned long pos = 0,
974 const OFBool replaceOld = OFTrue);
987 const OFBool replaceOld = OFTrue);
1003 const signed long itemNum = -2);
1043 const E_TransferSyntax xfer,
1066 const Uint32 newLength,
1067 const E_TransferSyntax xfer,
1068 const E_GrpLenEncoding glenc,
1069 const Uint32 maxReadLength = DCM_MaxReadLength);
1107 OFBool searchIntoSub );
1115 static OFBool
foundVR(
const Uint8* atposition);
1137 const Uint32 length,
1150 const Uint32 length = 0);
1159 const Uint32 length = 0);