summaryrefslogtreecommitdiff
path: root/inc/PNaming_NamedShape.hxx
blob: 0dc440df0d834afcef11ae0f93ee67f825fcf1d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _PNaming_NamedShape_HeaderFile
#define _PNaming_NamedShape_HeaderFile

#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Handle_PNaming_NamedShape_HeaderFile
#include <Handle_PNaming_NamedShape.hxx>
#endif

#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_PTopoDS_HArray1OfShape1_HeaderFile
#include <Handle_PTopoDS_HArray1OfShape1.hxx>
#endif
#ifndef _PDF_Attribute_HeaderFile
#include <PDF_Attribute.hxx>
#endif
class PTopoDS_HArray1OfShape1;


class PNaming_NamedShape : public PDF_Attribute {

public:

  //! Creates a mutable NamedShape from PNaming. <br>
  Standard_EXPORT   PNaming_NamedShape();
  //! Returns the number of shapes. <br>
  Standard_EXPORT     Standard_Integer NbShapes() const;
  //! Sets the field <myOldShapes>. <br>
  Standard_EXPORT     void OldShapes(const Handle(PTopoDS_HArray1OfShape1)& theShapes) ;
  //! Returns the field <myOldShapes>. <br>
  Standard_EXPORT     Handle_PTopoDS_HArray1OfShape1 OldShapes() const;
  //! Sets the field <myNewShapes>. <br>
  Standard_EXPORT     void NewShapes(const Handle(PTopoDS_HArray1OfShape1)& theShapes) ;
  //! Returns the field <myNewShapes>. <br>
  Standard_EXPORT     Handle_PTopoDS_HArray1OfShape1 NewShapes() const;
  //! Sets the field <myShapeStatus>. <br>
  Standard_EXPORT     void ShapeStatus(const Standard_Integer theShapeStatus) ;
  //! Returns the field <myShapeStatus>. <br>
  Standard_EXPORT     Standard_Integer ShapeStatus() const;
  //! Sets the field <myVersion>. <br>
  Standard_EXPORT     void Version(const Standard_Integer theVersion) ;
  //! Returns the field <myVersion>. <br>
  Standard_EXPORT     Standard_Integer Version() const;

PNaming_NamedShape(const Storage_stCONSTclCOM& a) : PDF_Attribute(a)
{
  
}
    Handle(PTopoDS_HArray1OfShape1) _CSFDB_GetPNaming_NamedShapemyOldShapes() const { return myOldShapes; }
    void _CSFDB_SetPNaming_NamedShapemyOldShapes(const Handle(PTopoDS_HArray1OfShape1)& p) { myOldShapes = p; }
    Handle(PTopoDS_HArray1OfShape1) _CSFDB_GetPNaming_NamedShapemyNewShapes() const { return myNewShapes; }
    void _CSFDB_SetPNaming_NamedShapemyNewShapes(const Handle(PTopoDS_HArray1OfShape1)& p) { myNewShapes = p; }
    Standard_Integer _CSFDB_GetPNaming_NamedShapemyShapeStatus() const { return myShapeStatus; }
    void _CSFDB_SetPNaming_NamedShapemyShapeStatus(const Standard_Integer p) { myShapeStatus = p; }
    Standard_Integer _CSFDB_GetPNaming_NamedShapemyVersion() const { return myVersion; }
    void _CSFDB_SetPNaming_NamedShapemyVersion(const Standard_Integer p) { myVersion = p; }



  DEFINE_STANDARD_RTTI(PNaming_NamedShape)

protected:




private: 


Handle_PTopoDS_HArray1OfShape1 myOldShapes;
Handle_PTopoDS_HArray1OfShape1 myNewShapes;
Standard_Integer myShapeStatus;
Standard_Integer myVersion;


};





// other Inline functions and methods (like "C++: function call" methods)


#endif