blob: 84733001d4f48d105a3c15a40bcbd235b5608aa6 (
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
|
// 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_DescrProtocol_HeaderFile
#define _StepData_DescrProtocol_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_StepData_DescrProtocol_HeaderFile
#include <Handle_StepData_DescrProtocol.hxx>
#endif
#ifndef _TCollection_AsciiString_HeaderFile
#include <TCollection_AsciiString.hxx>
#endif
#ifndef _StepData_FileProtocol_HeaderFile
#include <StepData_FileProtocol.hxx>
#endif
#ifndef _Standard_CString_HeaderFile
#include <Standard_CString.hxx>
#endif
//! A DescrProtocol is a protocol dynamically (at execution time) <br>
//! defined with : <br>
//! - a list of resources (inherits FileProtocol) <br>
//! - a list of entity descriptions <br>
//! i.e. it can be defined with only C++ writing to initialize it <br>
//! Its initialization must : <br>
//! - set its schema name <br>
//! - define its resources (which can also be other DescrProtocol) <br>
//! - define its entity descriptions <br>
//! - record it in the system by calling RecordLib <br>
class StepData_DescrProtocol : public StepData_FileProtocol {
public:
Standard_EXPORT StepData_DescrProtocol();
//! Defines a specific Schema Name for this Protocol <br>
Standard_EXPORT void SetSchemaName(const Standard_CString name) ;
//! Records this Protocol in the service libraries, with a <br>
//! DescrGeneral and a DescrReadWrite <br>
//! Does nothing if the Protocol brings no proper description <br>
Standard_EXPORT void LibRecord() const;
//! Returns the Schema Name attached to each class of Protocol <br>
//! here, returns the SchemaName set by SetSchemaName <br>
//! was C++ : return const <br>
Standard_EXPORT virtual Standard_CString SchemaName() const;
DEFINE_STANDARD_RTTI(StepData_DescrProtocol)
protected:
private:
TCollection_AsciiString thename;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|