SALOME - SMESH
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Handle_SMESH_MeshVSLink.hxx
Go to the documentation of this file.
1
// SMESH SMESH_MeshVSLink : Connection of SMESH with MeshVS from OCC
2
//
3
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5
//
6
// This library is free software; you can redistribute it and/or
7
// modify it under the terms of the GNU Lesser General Public
8
// License as published by the Free Software Foundation; either
9
// version 2.1 of the License.
10
//
11
// This library is distributed in the hope that it will be useful,
12
// but WITHOUT ANY WARRANTY; without even the implied warranty of
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
// Lesser General Public License for more details.
15
//
16
// You should have received a copy of the GNU Lesser General Public
17
// License along with this library; if not, write to the Free Software
18
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
//
20
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21
//
22
// File : SMESH_MeshVSLink.cxx
23
// Created : Mon Dec 1 09:00:00 2008
24
// Author : Sioutis Fotios
25
// Module : SMESH
26
27
#ifndef _Handle_SMESH_MeshVSLink_HeaderFile
28
#define _Handle_SMESH_MeshVSLink_HeaderFile
29
30
#ifndef _Standard_Macro_HeaderFile
31
#include <Standard_Macro.hxx>
32
#endif
33
#ifndef _Standard_HeaderFile
34
#include <Standard.hxx>
35
#endif
36
#ifndef _Handle_MeshVS_DataSource3D_HeaderFile
37
#include <Handle_MeshVS_DataSource3D.hxx>
38
#endif
39
40
class
Standard_Transient;
41
class
Handle_Standard_Type;
42
class
Handle
(
MeshVS_DataSource3D
);
43
class
SMESH_MeshVSLink
;
44
45
Standard_EXPORT Handle_Standard_Type&
STANDARD_TYPE
(
SMESH_MeshVSLink
);
46
47
class
Handle
(
SMESH_MeshVSLink
) :
public
Handle
(MeshVS_DataSource3D) {
48
public
:
49
Handle
(
SMESH_MeshVSLink
)():
Handle
(
MeshVS_DataSource3D
)() {}
50
Handle
(
SMESH_MeshVSLink
)(
const
Handle
(
SMESH_MeshVSLink
)& aHandle) :
Handle
(
MeshVS_DataSource3D
)(aHandle)
51
{
52
}
53
54
Handle
(
SMESH_MeshVSLink
)(
const
SMESH_MeshVSLink
* anItem) :
Handle
(
MeshVS_DataSource3D
)((
MeshVS_DataSource3D
*)anItem)
55
{
56
}
57
58
Handle
(
SMESH_MeshVSLink
)& operator=(
const
Handle
(
SMESH_MeshVSLink
)& aHandle)
59
{
60
Assign(aHandle.Access());
61
return
*
this
;
62
}
63
64
Handle
(
SMESH_MeshVSLink
)& operator=(
const
SMESH_MeshVSLink
* anItem)
65
{
66
Assign((Standard_Transient *)anItem);
67
return
*
this
;
68
}
69
70
SMESH_MeshVSLink
* operator->()
const
71
{
72
return
(
SMESH_MeshVSLink
*)ControlAccess();
73
}
74
75
Standard_EXPORT
static
const
Handle
(
SMESH_MeshVSLink
) DownCast(
const
Handle
(Standard_Transient)& AnObject);
76
};
77
#endif
inc
Handle_SMESH_MeshVSLink.hxx
Generated by
1.8.1.2