summaryrefslogtreecommitdiff
path: root/inc/PXCAFDoc_GraphNode.hxx
blob: fa9a81a9f6ded41aa8b1d3294da74efa6d9e0ab1 (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
100
101
102
103
104
// 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 _PXCAFDoc_GraphNode_HeaderFile
#define _PXCAFDoc_GraphNode_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_PXCAFDoc_GraphNode_HeaderFile
#include <Handle_PXCAFDoc_GraphNode.hxx>
#endif

#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_PXCAFDoc_GraphNode_HeaderFile
#include <Handle_PXCAFDoc_GraphNode.hxx>
#endif
#ifndef _Standard_GUID_HeaderFile
#include <Standard_GUID.hxx>
#endif
#ifndef _Handle_PXCAFDoc_GraphNodeSequence_HeaderFile
#include <Handle_PXCAFDoc_GraphNodeSequence.hxx>
#endif
#ifndef _PDF_Attribute_HeaderFile
#include <PDF_Attribute.hxx>
#endif
class PXCAFDoc_GraphNodeSequence;
class Standard_GUID;


class PXCAFDoc_GraphNode : public PDF_Attribute {

public:

  
  Standard_EXPORT   PXCAFDoc_GraphNode();
  
  Standard_EXPORT     Standard_Integer SetFather(const Handle(PXCAFDoc_GraphNode)& F) ;
  
  Standard_EXPORT     Standard_Integer SetChild(const Handle(PXCAFDoc_GraphNode)& Ch) ;
  
  Standard_EXPORT     Handle_PXCAFDoc_GraphNode GetFather(const Standard_Integer Findex) const;
  
  Standard_EXPORT     Handle_PXCAFDoc_GraphNode GetChild(const Standard_Integer Chindex) const;
  
  Standard_EXPORT     Standard_Integer FatherIndex(const Handle(PXCAFDoc_GraphNode)& F) const;
  
  Standard_EXPORT     Standard_Integer ChildIndex(const Handle(PXCAFDoc_GraphNode)& Ch) const;
  
  Standard_EXPORT     Standard_Integer NbFathers() const;
  
  Standard_EXPORT     Standard_Integer NbChildren() const;
  
  Standard_EXPORT     void SetGraphID(const Standard_GUID& GUID) ;
  
  Standard_EXPORT     Standard_GUID GetGraphID() const;

PXCAFDoc_GraphNode(const Storage_stCONSTclCOM& a) : PDF_Attribute(a)
{
  
}
    Handle(PXCAFDoc_GraphNodeSequence) _CSFDB_GetPXCAFDoc_GraphNodemyFathers() const { return myFathers; }
    void _CSFDB_SetPXCAFDoc_GraphNodemyFathers(const Handle(PXCAFDoc_GraphNodeSequence)& p) { myFathers = p; }
    Handle(PXCAFDoc_GraphNodeSequence) _CSFDB_GetPXCAFDoc_GraphNodemyChildren() const { return myChildren; }
    void _CSFDB_SetPXCAFDoc_GraphNodemyChildren(const Handle(PXCAFDoc_GraphNodeSequence)& p) { myChildren = p; }
    const Standard_GUID& _CSFDB_GetPXCAFDoc_GraphNodemyGraphID() const { return myGraphID; }



  DEFINE_STANDARD_RTTI(PXCAFDoc_GraphNode)

protected:




private: 


Handle_PXCAFDoc_GraphNodeSequence myFathers;
Handle_PXCAFDoc_GraphNodeSequence myChildren;
Standard_GUID myGraphID;


};





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


#endif