33 #include "dcmtk/config/osconfig.h"
35 #include "dcmtk/ofstd/offile.h"
36 #include "dcmtk/dcmdata/dcelem.h"
37 #include "dcmtk/dcmdata/dctag.h"
38 #include "dcmtk/dcmdata/dclist.h"
39 #include "dcmtk/dcmdata/dcstack.h"
59 OFBool readAsUN = OFFalse);
105 virtual DcmEVR
ident()
const {
return EVR_SQ; }
113 virtual OFBool
isLeaf()
const {
return OFFalse; }
122 virtual void print(STD_NAMESPACE ostream&out,
123 const size_t flags = 0,
125 const char *pixelFileName = NULL,
126 size_t *pixelCounter = NULL);
137 const OFBool oldFormat = OFFalse);
142 virtual unsigned long getVM() {
return 1L; }
173 (
const E_GrpLenEncoding glenc,
174 const E_PaddingEncoding padenc = EPD_noChange,
175 const E_TransferSyntax xfer = EXS_Unknown,
176 const E_EncodingType enctype = EET_ExplicitLength,
177 const Uint32 padlen = 0,
178 const Uint32 subPadlen = 0,
179 Uint32 instanceLength = 0);
198 const E_EncodingType enctype);
212 virtual Uint32
getLength(
const E_TransferSyntax xfer = EXS_LittleEndianImplicit,
213 const E_EncodingType enctype = EET_UndefinedLength);
230 virtual OFBool
canWriteXfer(
const E_TransferSyntax oldXfer,
231 const E_TransferSyntax newXfer);
247 const E_TransferSyntax xfer,
248 const E_GrpLenEncoding glenc = EGL_noChange,
249 const Uint32 maxReadLength = DCM_MaxReadLength);
259 const E_TransferSyntax oxfer,
260 const E_EncodingType enctype,
269 const size_t flags = 0);
279 const E_TransferSyntax oxfer,
280 const E_EncodingType enctype,
311 virtual unsigned long card();
329 unsigned long where = DCM_EndOfListIndex,
330 OFBool before = OFFalse);
347 OFBool before = OFFalse);
391 virtual DcmItem *
remove(
const unsigned long num);
405 virtual OFBool
isEmpty(
const OFBool normalize = OFTrue);
441 E_SearchMode mode = ESM_fromHere,
442 OFBool searchIntoSub = OFTrue);
474 E_ByteOrder byteOrder = gLocalByteOrder);
495 const E_TransferSyntax xfer,
508 const Uint32 newLength);
524 const Uint32 newLength,
525 const E_TransferSyntax xfer,
526 const E_GrpLenEncoding glenc,
527 const Uint32 maxReadLength = DCM_MaxReadLength);
539 const OFBool searchIntoSub);
558 const E_TransferSyntax oxfer);