ofstd/include/ofcast.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034 #ifndef OFCAST_H
00035 #define OFCAST_H
00036
00037 #include "osconfig.h"
00038
00039 #ifdef HAVE_CONST_CAST
00040 #define OFconst_cast(x,y) (const_cast< x >(y))
00041 #else
00042 #define OFconst_cast(x,y) ((x)(y))
00043 #endif
00044
00045 #ifdef HAVE_DYNAMIC_CAST
00046 #define OFdynamic_cast(x,y) (dynamic_cast< x >(y))
00047 #else
00048 #define OFdynamic_cast(x,y) ((x)(y))
00049 #endif
00050
00051 #ifdef HAVE_REINTERPRET_CAST
00052 #define OFreinterpret_cast(x,y) (reinterpret_cast< x >(y))
00053 #else
00054 #define OFreinterpret_cast(x,y) ((x)(y))
00055 #endif
00056
00057 #ifdef HAVE_STATIC_CAST
00058 #define OFstatic_cast(x,y) (static_cast< x >(y))
00059 #else
00060 #define OFstatic_cast(x,y) ((x)(y))
00061 #endif
00062
00063 #endif
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
Generated on 4 Nov 2004 for OFFIS DCMTK Version 3.5.3 by Doxygen 1.3.8