1 //NOTE: This is an intreface to a function for the Import Export operation.
4 #include "GEOM_Function.hxx"
10 class GEOMImpl_IImportExport
14 GEOMImpl_IImportExport(Handle(GEOM_Function) theFunction): _func(theFunction) {}
16 void SetOriginal(Handle(GEOM_Function) theOriginal) { _func->SetReference(EXP_ARG_REF, theOriginal); }
18 Handle(GEOM_Function) GetOriginal() { return _func->GetReference(EXP_ARG_REF); }
20 void SetFileName(const TCollection_AsciiString& theFileName) { _func->SetString(EXP_ARG_FILE, theFileName); }
22 TCollection_AsciiString GetFileName() { return _func->GetString(EXP_ARG_FILE); }
24 void SetPluginName(const TCollection_AsciiString& theFormatName)
25 { _func->SetString(EXP_ARG_PLUG, theFormatName); }
27 TCollection_AsciiString GetPluginName() { return _func->GetString(EXP_ARG_PLUG); }
31 Handle(GEOM_Function) _func;