1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024202: Support class methods as callbacks for Draw Harness commands

This commit is contained in:
kgv
2014-02-05 13:17:29 +04:00
committed by apn
parent eddb9c7c00
commit dda67c1ca2
9 changed files with 347 additions and 284 deletions

View File

@@ -45,6 +45,8 @@ Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(C1); \
\
class Handle(C1) : public Handle(C2) { \
public: \
typedef C1 element_type;\
\
Handle(C1)():Handle(C2)() {} \
\
Handle(C1)(const Handle(C1)& aHandle) : Handle(C2)(aHandle) {} \