mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0024023: Revamp the OCCT Handle -- automatic
Automatic upgrade by command "occt_upgrade . -handle"
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <TCollection_ExtendedString.hxx>
|
||||
|
||||
class Handle(LDOM_MemManager);
|
||||
class LDOM_NullPtr;
|
||||
class TCollection_AsciiString;
|
||||
class TCollection_ExtendedString;
|
||||
|
@@ -17,7 +17,6 @@
|
||||
#define LDOMString_HeaderFile
|
||||
|
||||
#include <LDOMBasicString.hxx>
|
||||
#include <Handle_LDOM_MemManager.hxx>
|
||||
|
||||
// Class LDOMString
|
||||
// Represents various object types which can be mapped to XML strings
|
||||
|
@@ -17,7 +17,6 @@
|
||||
#define LDOM_Document_HeaderFile
|
||||
|
||||
#include <LDOM_Element.hxx>
|
||||
#include <Handle_LDOM_MemManager.hxx>
|
||||
#include <LDOM_Text.hxx>
|
||||
#include <LDOM_CDATASection.hxx>
|
||||
#include <LDOM_Comment.hxx>
|
||||
|
@@ -126,6 +126,5 @@ class LDOM_MemManager : public MMgt_TShared
|
||||
DEFINE_STANDARD_RTTI (LDOM_MemManager, MMgt_TShared)
|
||||
};
|
||||
|
||||
#include <Handle_LDOM_MemManager.hxx>
|
||||
|
||||
#endif
|
||||
|
@@ -21,7 +21,6 @@
|
||||
|
||||
#include <Standard_Macro.hxx>
|
||||
#include <Standard_TypeDef.hxx>
|
||||
#include <Handle_LDOM_MemManager.hxx>
|
||||
#include <LDOMString.hxx>
|
||||
|
||||
class LDOM_BasicNode;
|
||||
|
@@ -24,7 +24,7 @@
|
||||
//purpose : Constructor
|
||||
//=======================================================================
|
||||
LDOM_SBuffer::LDOM_StringElem::LDOM_StringElem
|
||||
( const int theLength, const Handle_NCollection_BaseAllocator& theAlloc )
|
||||
( const int theLength, const Handle(NCollection_BaseAllocator)& theAlloc )
|
||||
: buf (reinterpret_cast<char*>(theAlloc->Allocate (theLength))),
|
||||
len (0),
|
||||
next(0)
|
||||
|
@@ -53,7 +53,7 @@ class LDOM_SBuffer : public streambuf
|
||||
|
||||
DEFINE_NCOLLECTION_ALLOC
|
||||
|
||||
LDOM_StringElem(const int, const Handle_NCollection_BaseAllocator&);
|
||||
LDOM_StringElem(const int, const Handle(NCollection_BaseAllocator)&);
|
||||
~LDOM_StringElem();
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user