smesh/src/SMDS/Handle_SMDSControl_BoundaryFaces.hxx
2003-05-19 13:49:00 +00:00

90 lines
2.8 KiB
C++

// File generated by CPPExt (Transient)
//
// Copyright (C) 1991,1995 by
//
// MATRA DATAVISION, FRANCE
//
// This software is furnished in accordance with the terms and conditions
// of the contract and with the inclusion of the above copyright notice.
// This software or any other copy thereof may not be provided or otherwise
// be made available to any other person. No title to an ownership of the
// software is hereby transferred.
//
// At the termination of the contract, the software and all copies of this
// software must be deleted.
#ifndef _Handle_SMDSControl_BoundaryFaces_HeaderFile
#define _Handle_SMDSControl_BoundaryFaces_HeaderFile
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Handle_SMDSControl_MeshBoundary_HeaderFile
#include "Handle_SMDSControl_MeshBoundary.hxx"
#endif
class Standard_Transient;
class Handle_Standard_Type;
class Handle(SMDSControl_MeshBoundary);
class SMDSControl_BoundaryFaces;
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDSControl_BoundaryFaces);
class Handle(SMDSControl_BoundaryFaces) : public Handle(SMDSControl_MeshBoundary) {
public:
inline void* operator new(size_t,void* anAddress)
{
return anAddress;
}
inline void* operator new(size_t size)
{
return Standard::Allocate(size);
}
inline void operator delete(void *anAddress)
{
if (anAddress) Standard::Free((Standard_Address&)anAddress);
}
// inline void operator delete(void *anAddress, size_t size)
// {
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
// }
Handle(SMDSControl_BoundaryFaces)():Handle(SMDSControl_MeshBoundary)() {}
Handle(SMDSControl_BoundaryFaces)(const Handle(SMDSControl_BoundaryFaces)& aHandle) : Handle(SMDSControl_MeshBoundary)(aHandle)
{
}
Handle(SMDSControl_BoundaryFaces)(const SMDSControl_BoundaryFaces* anItem) : Handle(SMDSControl_MeshBoundary)((SMDSControl_MeshBoundary *)anItem)
{
}
Handle(SMDSControl_BoundaryFaces)& operator=(const Handle(SMDSControl_BoundaryFaces)& aHandle)
{
Assign(aHandle.Access());
return *this;
}
Handle(SMDSControl_BoundaryFaces)& operator=(const SMDSControl_BoundaryFaces* anItem)
{
Assign((Standard_Transient *)anItem);
return *this;
}
SMDSControl_BoundaryFaces* operator->()
{
return (SMDSControl_BoundaryFaces *)ControlAccess();
}
SMDSControl_BoundaryFaces* operator->() const
{
return (SMDSControl_BoundaryFaces *)ControlAccess();
}
Standard_EXPORT ~Handle(SMDSControl_BoundaryFaces)();
Standard_EXPORT static const Handle(SMDSControl_BoundaryFaces) DownCast(const Handle(Standard_Transient)& AnObject);
};
#endif