summaryrefslogtreecommitdiff
path: root/inc/StepData_ECDescr.hxx
blob: cdd3db4cb5c539829929158912238b8f691d3ebf (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
// 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 _StepData_ECDescr_HeaderFile
#define _StepData_ECDescr_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_StepData_ECDescr_HeaderFile
#include <Handle_StepData_ECDescr.hxx>
#endif

#ifndef _TColStd_SequenceOfTransient_HeaderFile
#include <TColStd_SequenceOfTransient.hxx>
#endif
#ifndef _StepData_EDescr_HeaderFile
#include <StepData_EDescr.hxx>
#endif
#ifndef _Handle_StepData_ESDescr_HeaderFile
#include <Handle_StepData_ESDescr.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_TColStd_HSequenceOfAsciiString_HeaderFile
#include <Handle_TColStd_HSequenceOfAsciiString.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_CString_HeaderFile
#include <Standard_CString.hxx>
#endif
#ifndef _Handle_StepData_Described_HeaderFile
#include <Handle_StepData_Described.hxx>
#endif
class StepData_ESDescr;
class TColStd_HSequenceOfAsciiString;
class StepData_Described;


//! Describes a Complex Entity (Plex) as a list of Simple ones <br>
class StepData_ECDescr : public StepData_EDescr {

public:

  //! Creates an ECDescr, empty <br>
  Standard_EXPORT   StepData_ECDescr();
  //! Adds a member <br>
//!  Warning : members are added in alphabetic order <br>
  Standard_EXPORT     void Add(const Handle(StepData_ESDescr)& member) ;
  //! Returns the count of members <br>
  Standard_EXPORT     Standard_Integer NbMembers() const;
  //! Returns a Member from its rank <br>
  Standard_EXPORT     Handle_StepData_ESDescr Member(const Standard_Integer num) const;
  //! Returns the ordered list of types <br>
  Standard_EXPORT     Handle_TColStd_HSequenceOfAsciiString TypeList() const;
  //! Tells if a ESDescr matches a step type : exact or super type <br>
  Standard_EXPORT     Standard_Boolean Matches(const Standard_CString steptype) const;
  //! Returns True <br>
  Standard_EXPORT     Standard_Boolean IsComplex() const;
  //! Creates a described entity (i.e. a complex one, made of one <br>
//!           simple entity per member) <br>
  Standard_EXPORT     Handle_StepData_Described NewEntity() const;




  DEFINE_STANDARD_RTTI(StepData_ECDescr)

protected:




private: 


TColStd_SequenceOfTransient thelist;


};





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


#endif