1 // File generated by CPPExt (Transient)
2 // Copyright (C) 1991,1995 by
4 // MATRA DATAVISION, FRANCE
6 // This software is furnished in accordance with the terms and conditions
7 // of the contract and with the inclusion of the above copyright notice.
8 // This software or any other copy thereof may not be provided or otherwise
9 // be made available to any other person. No title to an ownership of the
10 // software is hereby transferred.
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
15 #include "SMDSControl_BoundaryFaces.jxx"
17 #ifndef _Standard_TypeMismatch_HeaderFile
18 #include <Standard_TypeMismatch.hxx>
21 SMDSControl_BoundaryFaces::~SMDSControl_BoundaryFaces() {}
25 Standard_EXPORT Handle_Standard_Type& SMDSControl_BoundaryFaces_Type_()
28 static Handle_Standard_Type aType1 = STANDARD_TYPE(SMDSControl_MeshBoundary);
29 if ( aType1.IsNull()) aType1 = STANDARD_TYPE(SMDSControl_MeshBoundary);
30 static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
31 if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
32 static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
33 if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
36 static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
37 static Handle_Standard_Type _aType = new Standard_Type("SMDSControl_BoundaryFaces",
38 sizeof(SMDSControl_BoundaryFaces),
40 (Standard_Address)_Ancestors,
41 (Standard_Address)NULL);
48 // allow safe downcasting
50 const Handle(SMDSControl_BoundaryFaces) Handle(SMDSControl_BoundaryFaces)::DownCast(const Handle(Standard_Transient)& AnObject)
52 Handle(SMDSControl_BoundaryFaces) _anOtherObject;
54 if (!AnObject.IsNull()) {
55 if (AnObject->IsKind(STANDARD_TYPE(SMDSControl_BoundaryFaces))) {
56 _anOtherObject = Handle(SMDSControl_BoundaryFaces)((Handle(SMDSControl_BoundaryFaces)&)AnObject);
60 return _anOtherObject ;
62 const Handle(Standard_Type)& SMDSControl_BoundaryFaces::DynamicType() const
64 return STANDARD_TYPE(SMDSControl_BoundaryFaces) ;
66 Standard_Boolean SMDSControl_BoundaryFaces::IsKind(const Handle(Standard_Type)& AType) const
68 return (STANDARD_TYPE(SMDSControl_BoundaryFaces) == AType || SMDSControl_MeshBoundary::IsKind(AType));
70 Handle_SMDSControl_BoundaryFaces::~Handle_SMDSControl_BoundaryFaces() {}