blob: a8ac3ba5d0db73fa2c8a52ed2bd926a4d1e16db0 (
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
|
#include <HeaderSection_Protocol.ixx>
#include <HeaderSection_FileName.hxx>
#include <HeaderSection_FileDescription.hxx>
#include <HeaderSection_FileSchema.hxx>
#include <StepData_UndefinedEntity.hxx>
static Standard_CString schemaName = "header_section";
HeaderSection_Protocol::HeaderSection_Protocol () { }
Standard_Integer HeaderSection_Protocol::TypeNumber(const
Handle(Standard_Type)& atype) const
{
if (atype == STANDARD_TYPE(HeaderSection_FileName)) return 1;
else if (atype == STANDARD_TYPE(HeaderSection_FileDescription)) return 2;
else if (atype == STANDARD_TYPE(HeaderSection_FileSchema)) return 3;
else if (atype == STANDARD_TYPE(StepData_UndefinedEntity)) return 4;
else return 0;
}
Standard_CString HeaderSection_Protocol::SchemaName() const
{ return schemaName; }
|