coriolis/tutorial/src
Jean-Paul Chaput 92edd9ba31 New implementation for the Python hash and compare methods.
* Change: In Hurricane::Isobar/PyHurricane.h, make the hash function use
    the DBo id whenever possible instead of the object pointer, fall back
    to it for standalone objects (Box like one). The DirectHashMethod()
    macro generate a C style function (linkage) which call a template
    function "getPyHash<>()" that uses a SFINAE mechanism to select
    the right variant.
      Create two comparison macros DirectCmpByPtrMethod() and
    DirectCmpByValueMethod() to customize the comparison for objects that
    have C++ operator==(). So now two boxes with the same contents will
    be seen equal by Python. For DBo objects we keep the previous
    comparison by C++ pointer.
2019-11-14 23:56:01 +01:00
..
tutorial Happy New Year 2018 ! Update license years... 2018-01-06 17:55:44 +01:00
CMakeLists.txt Added C++ & Python tutorial code." 2017-12-01 14:17:47 +01:00
GraphicTutorialEngine.cpp Happy New Year 2018 ! Update license years... 2018-01-06 17:55:44 +01:00
PyGraphicTutorialEngine.cpp Happy New Year 2018 ! Update license years... 2018-01-06 17:55:44 +01:00
PyTutorial.cpp New implementation for the Python hash and compare methods. 2019-11-14 23:56:01 +01:00
PyTutorialEngine.cpp New implementation for the Python hash and compare methods. 2019-11-14 23:56:01 +01:00
TutorialEngine.cpp Happy New Year 2018 ! Update license years... 2018-01-06 17:55:44 +01:00
tutorial.py Various typos correction (courtesy of G. Gouvine). 2019-07-30 13:13:57 +02:00