From 189d5add781bd951db15087bd594d67a99f0c5d2 Mon Sep 17 00:00:00 2001 From: Joerg Riesmeier Date: Wed, 16 Nov 2016 11:24:59 +0100 Subject: [PATCH] Added note/warning on size of class instance. Added a note (warning) that an instance of this class requires quite some memory. So it is probably better to use the heap space (and not the stack). --- dcmrt/include/dcmtk/dcmrt/drtdose.h | 4 ++++ dcmrt/include/dcmtk/dcmrt/drtimage.h | 4 ++++ dcmrt/include/dcmtk/dcmrt/drtionpl.h | 4 ++++ dcmrt/include/dcmtk/dcmrt/drtiontr.h | 4 ++++ dcmrt/include/dcmtk/dcmrt/drtplan.h | 4 ++++ dcmrt/include/dcmtk/dcmrt/drtstrct.h | 4 ++++ dcmrt/include/dcmtk/dcmrt/drttreat.h | 4 ++++ 7 files changed, 28 insertions(+) diff --git a/dcmrt/include/dcmtk/dcmrt/drtdose.h b/dcmrt/include/dcmtk/dcmrt/drtdose.h index 66a2b2d7ef..6b3e13ceea 100644 --- a/dcmrt/include/dcmtk/dcmrt/drtdose.h +++ b/dcmrt/include/dcmtk/dcmrt/drtdose.h @@ -8,6 +8,7 @@ * * Generated automatically from DICOM PS 3.3-2016d * File created on 2016-11-09 18:52:20 + * File modified on 2016-11-16 by J. Riesmeier * */ @@ -82,6 +83,9 @@ /** Interface class for RTDoseIOD + * @note Because of its many member variables, an instance of this class requires quite + * some memory. So be careful when creating automatic variables from this class (the + * stack size might be exceeded); it is probably better to use the heap space. */ class DCMTK_DCMRT_EXPORT DRTDoseIOD : protected DRTTypes diff --git a/dcmrt/include/dcmtk/dcmrt/drtimage.h b/dcmrt/include/dcmtk/dcmrt/drtimage.h index 10f2bc95ea..f1f72317ab 100644 --- a/dcmrt/include/dcmtk/dcmrt/drtimage.h +++ b/dcmrt/include/dcmtk/dcmrt/drtimage.h @@ -8,6 +8,7 @@ * * Generated automatically from DICOM PS 3.3-2016d * File created on 2016-11-09 18:52:20 + * File modified on 2016-11-16 by J. Riesmeier * */ @@ -83,6 +84,9 @@ /** Interface class for RTImageIOD + * @note Because of its many member variables, an instance of this class requires quite + * some memory. So be careful when creating automatic variables from this class (the + * stack size might be exceeded); it is probably better to use the heap space. */ class DCMTK_DCMRT_EXPORT DRTImageIOD : protected DRTTypes diff --git a/dcmrt/include/dcmtk/dcmrt/drtionpl.h b/dcmrt/include/dcmtk/dcmrt/drtionpl.h index d388c28fe2..93095f15ea 100644 --- a/dcmrt/include/dcmtk/dcmrt/drtionpl.h +++ b/dcmrt/include/dcmtk/dcmrt/drtionpl.h @@ -8,6 +8,7 @@ * * Generated automatically from DICOM PS 3.3-2016d * File created on 2016-11-09 18:52:20 + * File modified on 2016-11-16 by J. Riesmeier * */ @@ -79,6 +80,9 @@ /** Interface class for RTIonPlanIOD + * @note Because of its many member variables, an instance of this class requires quite + * some memory. So be careful when creating automatic variables from this class (the + * stack size might be exceeded); it is probably better to use the heap space. */ class DCMTK_DCMRT_EXPORT DRTIonPlanIOD : protected DRTTypes diff --git a/dcmrt/include/dcmtk/dcmrt/drtiontr.h b/dcmrt/include/dcmtk/dcmrt/drtiontr.h index c8acfed7c6..e4149b66ca 100644 --- a/dcmrt/include/dcmtk/dcmrt/drtiontr.h +++ b/dcmrt/include/dcmtk/dcmrt/drtiontr.h @@ -8,6 +8,7 @@ * * Generated automatically from DICOM PS 3.3-2016d * File created on 2016-11-09 18:52:20 + * File modified on 2016-11-16 by J. Riesmeier * */ @@ -81,6 +82,9 @@ /** Interface class for RTIonBeamsTreatmentRecordIOD + * @note Because of its many member variables, an instance of this class requires quite + * some memory. So be careful when creating automatic variables from this class (the + * stack size might be exceeded); it is probably better to use the heap space. */ class DCMTK_DCMRT_EXPORT DRTIonBeamsTreatmentRecordIOD : protected DRTTypes diff --git a/dcmrt/include/dcmtk/dcmrt/drtplan.h b/dcmrt/include/dcmtk/dcmrt/drtplan.h index f14580f61c..6cbbcb9a06 100644 --- a/dcmrt/include/dcmtk/dcmrt/drtplan.h +++ b/dcmrt/include/dcmtk/dcmrt/drtplan.h @@ -8,6 +8,7 @@ * * Generated automatically from DICOM PS 3.3-2016d * File created on 2016-11-09 18:52:20 + * File modified on 2016-11-16 by J. Riesmeier * */ @@ -82,6 +83,9 @@ /** Interface class for RTPlanIOD + * @note Because of its many member variables, an instance of this class requires quite + * some memory. So be careful when creating automatic variables from this class (the + * stack size might be exceeded); it is probably better to use the heap space. */ class DCMTK_DCMRT_EXPORT DRTPlanIOD : protected DRTTypes diff --git a/dcmrt/include/dcmtk/dcmrt/drtstrct.h b/dcmrt/include/dcmtk/dcmrt/drtstrct.h index ee978627f2..88c4082154 100644 --- a/dcmrt/include/dcmtk/dcmrt/drtstrct.h +++ b/dcmrt/include/dcmtk/dcmrt/drtstrct.h @@ -8,6 +8,7 @@ * * Generated automatically from DICOM PS 3.3-2016d * File created on 2016-11-09 18:52:20 + * File modified on 2016-11-16 by J. Riesmeier * */ @@ -76,6 +77,9 @@ /** Interface class for RTStructureSetIOD + * @note Because of its many member variables, an instance of this class requires quite + * some memory. So be careful when creating automatic variables from this class (the + * stack size might be exceeded); it is probably better to use the heap space. */ class DCMTK_DCMRT_EXPORT DRTStructureSetIOD : protected DRTTypes diff --git a/dcmrt/include/dcmtk/dcmrt/drttreat.h b/dcmrt/include/dcmtk/dcmrt/drttreat.h index b5c9f125f6..71117a8918 100644 --- a/dcmrt/include/dcmtk/dcmrt/drttreat.h +++ b/dcmrt/include/dcmtk/dcmrt/drttreat.h @@ -8,6 +8,7 @@ * * Generated automatically from DICOM PS 3.3-2016d * File created on 2016-11-09 18:52:20 + * File modified on 2016-11-16 by J. Riesmeier * */ @@ -76,6 +77,9 @@ /** Interface class for RTTreatmentSummaryRecordIOD + * @note Because of its many member variables, an instance of this class requires quite + * some memory. So be careful when creating automatic variables from this class (the + * stack size might be exceeded); it is probably better to use the heap space. */ class DCMTK_DCMRT_EXPORT DRTTreatmentSummaryRecordIOD : protected DRTTypes