mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0024023: Revamp the OCCT Handle -- general
Missing headers added; includes of headers "Handle_...hxx" removed. Misuses of macro Handle() and its use in typedefs corrected. Alias classes Profile and Option are removed from IFSelect; ones defined in MoniTool are used directly. Removed header files defining only Handle classes (except Image_PixMap_Handle.hxx) Classes SelectMgr_BaseFrustum and now inherit Standard_Transient and can be manipulated by Handle (not NCollection_Handle) Fixed reference-type local variable pointing to temporary object Use of handle in conditional expressions and comparisons to NULL are replaced by call to method IsNull()
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include <MoniTool_MTHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
class MoniTool_Timer;
|
||||
typedef NCollection_DataMap<Standard_CString,Handle(MoniTool_Timer),MoniTool_MTHasher> MoniTool_DataMapOfTimer;
|
||||
typedef NCollection_DataMap<Standard_CString,Handle(MoniTool_Timer),MoniTool_MTHasher>::Iterator MoniTool_DataMapIteratorOfDataMapOfTimer;
|
||||
|
||||
|
@@ -18,7 +18,7 @@
|
||||
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
|
||||
class MoniTool_TypedValue;
|
||||
typedef Handle(TCollection_HAsciiString) (*MoniTool_ValueInterpret) (const Handle(MoniTool_TypedValue)& typval,
|
||||
const Handle(TCollection_HAsciiString)& val,
|
||||
const Standard_Boolean native);
|
||||
|
Reference in New Issue
Block a user