blob: affed7174bc49b030c2bce3a3a2cfe8dfb683e76 (
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
|
// 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 _IGESBasic_SubfigureDef_HeaderFile
#define _IGESBasic_SubfigureDef_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_IGESBasic_SubfigureDef_HeaderFile
#include <Handle_IGESBasic_SubfigureDef.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_TCollection_HAsciiString_HeaderFile
#include <Handle_TCollection_HAsciiString.hxx>
#endif
#ifndef _Handle_IGESData_HArray1OfIGESEntity_HeaderFile
#include <Handle_IGESData_HArray1OfIGESEntity.hxx>
#endif
#ifndef _IGESData_IGESEntity_HeaderFile
#include <IGESData_IGESEntity.hxx>
#endif
#ifndef _Handle_IGESData_IGESEntity_HeaderFile
#include <Handle_IGESData_IGESEntity.hxx>
#endif
#ifndef _Handle_Standard_Transient_HeaderFile
#include <Handle_Standard_Transient.hxx>
#endif
class TCollection_HAsciiString;
class IGESData_HArray1OfIGESEntity;
class Standard_OutOfRange;
class IGESData_IGESEntity;
class Standard_Transient;
//! defines SubfigureDef, Type <308> Form <0> <br>
//! in package IGESBasic <br>
//! This Entity permits a single definition of a detail to <br>
//! be utilized in multiple instances in the creation of <br>
//! the whole picture <br>
class IGESBasic_SubfigureDef : public IGESData_IGESEntity {
public:
Standard_EXPORT IGESBasic_SubfigureDef();
//! This method is used to set the fields of the class <br>
//! SubfigureDef <br>
//! - aDepth : It indicates the amount of nesting <br>
//! - aName : the subfigure name <br>
//! - allAssocEntities : the associated entities <br>
Standard_EXPORT void Init(const Standard_Integer aDepth,const Handle(TCollection_HAsciiString)& aName,const Handle(IGESData_HArray1OfIGESEntity)& allAssocEntities) ;
//! returns depth of the Subfigure <br>
//! if theDepth = 0 - No reference to any subfigure instance. <br>
Standard_EXPORT Standard_Integer Depth() const;
//! returns the name of Subfigure <br>
Standard_EXPORT Handle_TCollection_HAsciiString Name() const;
//! returns number of entities. Is greater than or equal to zero. <br>
Standard_EXPORT Standard_Integer NbEntities() const;
//! returns the specific entity as indicated by Index <br>
//! raises exception if Index <= 0 or Index > NbEntities() <br>
Standard_EXPORT Handle_IGESData_IGESEntity AssociatedEntity(const Standard_Integer Index) const;
//! returns the specific entity as indicated by Index <br>
//! raises exception if Index <= 0 or Index > NbEntities() <br>
Standard_EXPORT Handle_Standard_Transient Value(const Standard_Integer Index) const;
DEFINE_STANDARD_RTTI(IGESBasic_SubfigureDef)
protected:
private:
Standard_Integer theDepth;
Handle_TCollection_HAsciiString theName;
Handle_IGESData_HArray1OfIGESEntity theAssocEntities;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|