summaryrefslogtreecommitdiff
path: root/src/RWStepAP214/RWStepAP214.cxx
blob: 93504c159acce51ccd3ba5e3c709c6941c958693 (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

#include <RWStepAP214.ixx>
#include <RWHeaderSection.hxx>

#include <StepAP214_Protocol.hxx>

#include <StepAP214.hxx>
#include <RWStepAP214_ReadWriteModule.hxx>
#include <RWStepAP214_GeneralModule.hxx>
#include <Interface_GeneralLib.hxx>
#include <Interface_ReaderLib.hxx>
#include <StepData_WriterLib.hxx>


static int init = 0;

void RWStepAP214::Init()
	{
	  if (init) return;    init = 1;
	  RWHeaderSection::Init();
	  Handle(StepAP214_Protocol) proto = StepAP214::Protocol();
	  Interface_GeneralLib::SetGlobal (new RWStepAP214_GeneralModule,proto);
	  Interface_ReaderLib::SetGlobal  (new RWStepAP214_ReadWriteModule,proto);
	  StepData_WriterLib::SetGlobal   (new RWStepAP214_ReadWriteModule,proto);
	}