]> SALOME platform Git repositories - modules/smesh.git/blob - src/SMDS/SMDSControl_MeshBoundary.ixx
Salome HOME
This commit was generated by cvs2git to create branch 'IMPORT'.
[modules/smesh.git] / src / SMDS / SMDSControl_MeshBoundary.ixx
1 // File generated by CPPExt (Transient)
2 //                     Copyright (C) 1991,1995 by
3 //  
4 //                      MATRA DATAVISION, FRANCE
5 //  
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.
11 //  
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
14 //
15 #include "SMDSControl_MeshBoundary.jxx"
16
17 #ifndef _Standard_TypeMismatch_HeaderFile
18 #include "Standard_TypeMismatch.hxx"
19 #endif
20
21 SMDSControl_MeshBoundary::~SMDSControl_MeshBoundary() {}
22  
23
24
25 Standard_EXPORT Handle_Standard_Type& SMDSControl_MeshBoundary_Type_()
26 {
27
28     static Handle_Standard_Type aType1 = STANDARD_TYPE(MMgt_TShared);
29   if ( aType1.IsNull()) aType1 = STANDARD_TYPE(MMgt_TShared);
30   static Handle_Standard_Type aType2 = STANDARD_TYPE(Standard_Transient);
31   if ( aType2.IsNull()) aType2 = STANDARD_TYPE(Standard_Transient);
32  
33
34   static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,NULL};
35   static Handle_Standard_Type _aType = new Standard_Type("SMDSControl_MeshBoundary",
36                                                          sizeof(SMDSControl_MeshBoundary),
37                                                          1,
38                                                          (Standard_Address)_Ancestors,
39                                                          (Standard_Address)NULL);
40
41   return _aType;
42 }
43
44
45 // DownCast method
46 //   allow safe downcasting
47 //
48 const Handle(SMDSControl_MeshBoundary) Handle(SMDSControl_MeshBoundary)::DownCast(const Handle(Standard_Transient)& AnObject) 
49 {
50   Handle(SMDSControl_MeshBoundary) _anOtherObject;
51
52   if (!AnObject.IsNull()) {
53      if (AnObject->IsKind(STANDARD_TYPE(SMDSControl_MeshBoundary))) {
54        _anOtherObject = Handle(SMDSControl_MeshBoundary)((Handle(SMDSControl_MeshBoundary)&)AnObject);
55      }
56   }
57
58   return _anOtherObject ;
59 }
60 const Handle(Standard_Type)& SMDSControl_MeshBoundary::DynamicType() const 
61
62   return STANDARD_TYPE(SMDSControl_MeshBoundary) ; 
63 }
64 Standard_Boolean SMDSControl_MeshBoundary::IsKind(const Handle(Standard_Type)& AType) const 
65
66   return (STANDARD_TYPE(SMDSControl_MeshBoundary) == AType || MMgt_TShared::IsKind(AType)); 
67 }
68 Handle_SMDSControl_MeshBoundary::~Handle_SMDSControl_MeshBoundary() {}
69