Open CASCADE Technology 7.8.2.dev
Standard_Handle.hxx File Reference

Data Structures

class  opencascade::handle< T >
 Intrusive smart pointer for use with Standard_Transient class and its descendants. More...
 
struct  std::hash< Handle< TheTransientType > >
 

Namespaces

namespace  opencascade
 Namespace opencascade is intended for low-level template classes and functions.
 
namespace  std
 

Macros

#define Handle(Class)
 Define Handle() macro.
 
#define DEFINE_STANDARD_HANDLECLASS(C1, C2, BC)
 For compatibility with previous versions of OCCT, define Handle_Class alias for opencascade::handle<Class>.
 
#define DEFINE_STANDARD_HANDLE(C1, C2)
 
#define DEFINE_STANDARD_PHANDLE(C1, C2)
 

Macro Definition Documentation

◆ DEFINE_STANDARD_HANDLE

#define DEFINE_STANDARD_HANDLE ( C1,
C2 )
Value:
#define DEFINE_STANDARD_HANDLECLASS(C1, C2, BC)
For compatibility with previous versions of OCCT, define Handle_Class alias for opencascade::handle<C...
Definition Standard_Handle.hxx:431
Abstract class which forms the root of the entire Transient class hierarchy.
Definition Standard_Transient.hxx:35

◆ DEFINE_STANDARD_HANDLECLASS

#define DEFINE_STANDARD_HANDLECLASS ( C1,
C2,
BC )
Value:
class C1; typedef Handle(C1) Handle_##C1;
#define Handle(Class)
Define Handle() macro.
Definition Standard_Handle.hxx:399

For compatibility with previous versions of OCCT, define Handle_Class alias for opencascade::handle<Class>.

For other compilers, use simple typedef

◆ DEFINE_STANDARD_PHANDLE

#define DEFINE_STANDARD_PHANDLE ( C1,
C2 )
Value:
Root of "persistent" classes, a legacy support of object oriented databases, now outdated.
Definition Standard_Persistent.hxx:23

◆ Handle

#define Handle ( Class)
Value:
Intrusive smart pointer for use with Standard_Transient class and its descendants.
Definition Standard_Transient.hxx:28

Define Handle() macro.