dtUtil::BreakOverride Struct Reference

This macro should be used when deprecating (or removing) virtual functions. More...

#include <breakoverride.h>


Detailed Description

This macro should be used when deprecating (or removing) virtual functions.

The effect is to force a compile error on client code that may be overriding the virtual function. Here is an example.

         virtual void GetTransform(Transform& xform, CoordSysEnum cs = ABS_CS) const;
         //virtual void GetTransform(Transform* xform, CoordSysEnum cs = ABS_CS) const;
         private:
         BREAK_OVERRIDE(GetTransform(const Transform*, CoordSysEnum))

http://www.delta3d.org
2.0.0 generated 14 Feb 2008