ss.h

Go to the documentation of this file.
00001 /* $Id: ss.h,v 1.3 2008/06/20 05:26:31 pfb Exp $ */
00002 
00003 #ifndef _ss_h
00004 #define _ss_h
00005 
00006 #include <vtkSmartPointer.h>
00007 
00017 #define SMARTP(type) vtkSmartPointer<type>
00018 
00023 #define SmartP(type) SMARTP(type)
00024 
00029 #define SP(type)     SMARTP(type)
00030 
00036 #define VTK_CREATE(type, var) SMARTP(type) var = SMARTP(type)::New()
00037 
00043 #define SS_CREATE(type, var) VTK_CREATE(type, var)
00044 
00045 #endif  /* _ss_h */
00046 
00047 /*
00048  * $Log: ss.h,v $
00049  * Revision 1.3  2008/06/20 05:26:31  pfb
00050  * Updated documentation.
00051  *
00052  * Revision 1.2  2008/06/20 04:58:00  pfb
00053  * Added VTK_CREATE and SS_CREATE.
00054  *
00055  * Revision 1.1  2008/06/12 09:19:34  pfb
00056  * Initial rev.
00057  *
00058  *
00059  */