Class for Smart Pointer.
More...
#include <gdcmSmartPointer.h>
List of all members.
Detailed Description
template<class ObjectType>
class gdcm::SmartPointer< ObjectType >
Class for Smart Pointer.
Will only work for subclass of gdcm::Object See tr1/shared_ptr for a more general approach (not invasive) #include <tr1/memory> { shared_ptr<Bla> b(new Bla); }
- Note:
- Class partly based on post by Bill Hubauer: http://groups.google.com/group/comp.lang.c++/msg/173ddc38a827a930
- See also:
- http://www.davethehat.com/articles/smartp.htm
and itk::SmartPointer
- Examples:
- ChangeSequenceUltrasound.cxx, CStoreQtProgress.cxx, DumpGEMSMovieGroup.cxx, Extracting_All_Resolution.cxx, Fake_Image_Using_Stream_Image_Writer.cxx, FixBrokenJ2K.cxx, gdcmrtionplan.cxx, gdcmrtplan.cxx, GenAllVR.cxx, GenFakeIdentifyFile.cxx, GenFakeImage.cxx, GenLongSeqs.cxx, GenSeqs.cxx, GetSubSequenceData.cxx, LargeVRDSExplicit.cxx, ReadAndDumpDICOMDIR.cxx, and ReadExplicitLengthSQIVR.cxx.
Constructor & Destructor Documentation
template<class ObjectType>
template<class ObjectType>
template<class ObjectType>
template<class ObjectType>
template<class ObjectType>
Member Function Documentation
template<class ObjectType>
Explicit function to retrieve the pointer.
template<class ObjectType>
Return pointer to object.
template<class ObjectType>
template<class ObjectType>
template<class ObjectType>
template<class ObjectType>
Overload operator assignment.
template<class ObjectType>
The documentation for this class was generated from the following file: