1
0
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:
abv
2015-07-02 16:30:15 +03:00
parent e7195ab476
commit 35c0599a42
139 changed files with 58 additions and 284 deletions

View File

@@ -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;

View File

@@ -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

View File

@@ -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>

View File

@@ -126,6 +126,5 @@ class LDOM_MemManager : public MMgt_TShared
DEFINE_STANDARD_RTTI (LDOM_MemManager, MMgt_TShared)
};
#include <Handle_LDOM_MemManager.hxx>
#endif

View File

@@ -21,7 +21,6 @@
#include <Standard_Macro.hxx>
#include <Standard_TypeDef.hxx>
#include <Handle_LDOM_MemManager.hxx>
#include <LDOMString.hxx>
class LDOM_BasicNode;

View File

@@ -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)

View File

@@ -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: