DCMTK  Version 3.6.1 20160216
OFFIS DICOM Toolkit
ofcast.h File Reference

DCMTK cast macros that map to C++ casts if available. More...

Detailed Description

DCMTK cast macros that map to C++ casts if available.

DCMTK defines its own C++ cast macros that are used throughout DCMTK instead of the original C++ cast operators. If the C++ cast operators are available on the platform the macros directly map to these. Otherwise they map to old C-style casts.

In this context, DCMTK has defined a macro OFdynamic_cast that maps to C++' dynamic_cast. However, so far dynamic casts are not used within DCMTK since they rely on C++' RTTI feature which is deliberately avoided in DCMTK at this moment. Thus it is highly recommended to not use dynamic casts in DCMTK at all.


Generated on Sun Jul 3 2016 for DCMTK Version 3.6.1 20160216 by Doxygen 1.8.11