|
Open CASCADE Technology
7.7.0
|
#include <Standard_Address.hxx>#include <Standard_Std.hxx>#include <Standard_Stream.hxx>#include <Standard_Transient.hxx>#include <Standard_Macro.hxx>Data Structures | |
| class | opencascade::handle< T > |
| Intrusive smart pointer for use with Standard_Transient class and its descendants. More... | |
Namespaces | |
| opencascade | |
| Namespace opencascade is intended for low-level template classes and functions. | |
Macros | |
| #define | Handle(Class) opencascade::handle<Class> |
| Define Handle() macro. More... | |
| #define | DEFINE_STANDARD_HANDLECLASS(C1, C2, BC) class C1; typedef Handle(C1) Handle_##C1; |
| For compatibility with previous versions of OCCT, define Handle_Class alias for opencascade::handle<Class>. More... | |
| #define | DEFINE_STANDARD_HANDLE(C1, C2) DEFINE_STANDARD_HANDLECLASS(C1,C2,Standard_Transient) |
| #define | DEFINE_STANDARD_PHANDLE(C1, C2) DEFINE_STANDARD_HANDLECLASS(C1,C2,Standard_Persistent) |
Functions | |
| template<class TheTransientType > | |
| Standard_Integer | HashCode (const Handle< TheTransientType > &theHandle, const Standard_Integer theUpperBound) |
| Computes a hash code for the standard handle, in the range [1, theUpperBound]. More... | |
| #define DEFINE_STANDARD_HANDLE | ( | C1, | |
| C2 | |||
| ) | DEFINE_STANDARD_HANDLECLASS(C1,C2,Standard_Transient) |
| #define DEFINE_STANDARD_HANDLECLASS | ( | C1, | |
| C2, | |||
| BC | |||
| ) | class C1; typedef Handle(C1) Handle_##C1; |
For compatibility with previous versions of OCCT, define Handle_Class alias for opencascade::handle<Class>.
For other compilers, use simple typedef
| #define DEFINE_STANDARD_PHANDLE | ( | C1, | |
| C2 | |||
| ) | DEFINE_STANDARD_HANDLECLASS(C1,C2,Standard_Persistent) |
| #define Handle | ( | Class | ) | opencascade::handle<Class> |
Define Handle() macro.
| Standard_Integer HashCode | ( | const Handle< TheTransientType > & | theHandle, |
| const Standard_Integer | theUpperBound | ||
| ) |
Computes a hash code for the standard handle, in the range [1, theUpperBound].
| theHandle | the handle which hash code is to be computed |
| theUpperBound | the upper bound of the range a computing hash code must be within |
1.8.13