mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-05-11 00:40:49 +05:00
"Dump Python". Add GetDumpName()
This commit is contained in:
parent
f724bcc264
commit
368789e640
@ -53,3 +53,18 @@ Engines::TMPFile* GEOM_Gen_i::DumpPython(CORBA::Object_ptr theStudy,
|
|||||||
|
|
||||||
return aStreamFile._retn();
|
return aStreamFile._retn();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//=======================================================================
|
||||||
|
//function : GetDumpName
|
||||||
|
//purpose :
|
||||||
|
//=======================================================================
|
||||||
|
|
||||||
|
char* GEOM_Gen_i::GetDumpName (const char* theStudyEntry)
|
||||||
|
{
|
||||||
|
const char* name = _impl->GetDumpName( theStudyEntry );
|
||||||
|
if ( name && strlen( name ) > 0 )
|
||||||
|
return strdup( name );
|
||||||
|
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -179,6 +179,8 @@ class GEOM_Gen_i: public POA_GEOM::GEOM_Gen, public Engines_Component_i
|
|||||||
CORBA::Boolean isPublished,
|
CORBA::Boolean isPublished,
|
||||||
CORBA::Boolean& isValidScript);
|
CORBA::Boolean& isValidScript);
|
||||||
|
|
||||||
|
char* GetDumpName (const char* theStudyEntry);
|
||||||
|
|
||||||
//********************************************************************************************************//
|
//********************************************************************************************************//
|
||||||
// Internal methods
|
// Internal methods
|
||||||
//********************************************************************************************************//
|
//********************************************************************************************************//
|
||||||
@ -189,7 +191,6 @@ class GEOM_Gen_i: public POA_GEOM::GEOM_Gen, public Engines_Component_i
|
|||||||
::GEOMImpl_Gen* _impl;
|
::GEOMImpl_Gen* _impl;
|
||||||
SALOME_NamingService * name_service;
|
SALOME_NamingService * name_service;
|
||||||
char * _name;
|
char * _name;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user