Ignore:
Timestamp:
Apr 26, 2010, 1:49:59 PM (15 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
075729
Parents:
0707dd
Message:

Added macros that allow type safe casting using the Assert mechanism

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/Helpers/Assert.cpp

    r0707dd r1561e2  
    4848Action _my_assert::defaultAction = Ask;
    4949std::vector<Assert::hook_t> _my_assert::hooks;
     50
     51std::map<std::string,bool> _wrapper::ignores;
     52const char* _wrapper::message_ptr = "source pointer did not point to object of desired type";
     53const char* _wrapper::message_ref = "source reference did not contain object of desired type";
     54
     55
    5056
    5157bool _my_assert::check(const bool res,
Note: See TracChangeset for help on using the changeset viewer.