1 // File generated by CPPExt (Transient)
3 // Copyright (C) 1991,1995 by
5 // MATRA DATAVISION, FRANCE
7 // This software is furnished in accordance with the terms and conditions
8 // of the contract and with the inclusion of the above copyright notice.
9 // This software or any other copy thereof may not be provided or otherwise
10 // be made available to any other person. No title to an ownership of the
11 // software is hereby transferred.
13 // At the termination of the contract, the software and all copies of this
14 // software must be deleted.
16 #ifndef _Handle_SMDS_FacePosition_HeaderFile
17 #define _Handle_SMDS_FacePosition_HeaderFile
19 #ifndef _Standard_Macro_HeaderFile
20 #include <Standard_Macro.hxx>
22 #ifndef _Standard_HeaderFile
23 #include <Standard.hxx>
26 #ifndef _Handle_SMDS_Position_HeaderFile
27 #include "Handle_SMDS_Position.hxx"
30 class Standard_Transient;
31 class Handle_Standard_Type;
32 class Handle(SMDS_Position);
33 class SMDS_FacePosition;
34 Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_FacePosition);
36 class Handle(SMDS_FacePosition) : public Handle(SMDS_Position) {
38 inline void* operator new(size_t,void* anAddress)
42 inline void* operator new(size_t size)
44 return Standard::Allocate(size);
46 inline void operator delete(void *anAddress)
48 if (anAddress) Standard::Free((Standard_Address&)anAddress);
50 // inline void operator delete(void *anAddress, size_t size)
52 // if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
54 Handle(SMDS_FacePosition)():Handle(SMDS_Position)() {}
55 Handle(SMDS_FacePosition)(const Handle(SMDS_FacePosition)& aHandle) : Handle(SMDS_Position)(aHandle)
59 Handle(SMDS_FacePosition)(const SMDS_FacePosition* anItem) : Handle(SMDS_Position)((SMDS_Position *)anItem)
63 Handle(SMDS_FacePosition)& operator=(const Handle(SMDS_FacePosition)& aHandle)
65 Assign(aHandle.Access());
69 Handle(SMDS_FacePosition)& operator=(const SMDS_FacePosition* anItem)
71 Assign((Standard_Transient *)anItem);
75 SMDS_FacePosition* operator->()
77 return (SMDS_FacePosition *)ControlAccess();
80 SMDS_FacePosition* operator->() const
82 return (SMDS_FacePosition *)ControlAccess();
85 Standard_EXPORT ~Handle(SMDS_FacePosition)();
87 Standard_EXPORT static const Handle(SMDS_FacePosition) DownCast(const Handle(Standard_Transient)& AnObject);