mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
0021478: EDF 2083 ALL: Write the version of Salome used to create the study in the hdf file
This commit is contained in:
parent
3816b8e97c
commit
c5698502cc
@ -109,7 +109,8 @@ libSMESHEngine_la_CPPFLAGS = \
|
|||||||
-I$(srcdir)/../DriverCGNS \
|
-I$(srcdir)/../DriverCGNS \
|
||||||
-I$(srcdir)/../SMESH \
|
-I$(srcdir)/../SMESH \
|
||||||
-I$(srcdir)/../SMESHUtils \
|
-I$(srcdir)/../SMESHUtils \
|
||||||
-I$(top_builddir)/idl
|
-I$(top_builddir)/idl \
|
||||||
|
-I$(top_builddir)
|
||||||
|
|
||||||
libSMESHEngine_la_LDFLAGS = \
|
libSMESHEngine_la_LDFLAGS = \
|
||||||
../../idl/libSalomeIDLSMESH.la \
|
../../idl/libSalomeIDLSMESH.la \
|
||||||
|
@ -65,6 +65,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "SMESH_Gen_i.hxx"
|
#include "SMESH_Gen_i.hxx"
|
||||||
|
#include "SMESH_version.h"
|
||||||
|
|
||||||
#include "SMDS_EdgePosition.hxx"
|
#include "SMDS_EdgePosition.hxx"
|
||||||
#include "SMDS_FacePosition.hxx"
|
#include "SMDS_FacePosition.hxx"
|
||||||
@ -4914,6 +4915,16 @@ int SMESH_Gen_i::GetCurrentStudyID()
|
|||||||
return myCurrentStudy->_is_nil() || myCurrentStudy->_non_existent() ? -1 : myCurrentStudy->StudyId();
|
return myCurrentStudy->_is_nil() || myCurrentStudy->_non_existent() ? -1 : myCurrentStudy->StudyId();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Version information
|
||||||
|
char* SMESH_Gen_i::getVersion()
|
||||||
|
{
|
||||||
|
#if SMESH_DEVELOPMENT
|
||||||
|
return CORBA::string_dup(SMESH_VERSION_STR"dev");
|
||||||
|
#else
|
||||||
|
return CORBA::string_dup(SMESH_VERSION_STR);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
* SMESHEngine_factory
|
* SMESHEngine_factory
|
||||||
|
@ -441,6 +441,12 @@ public:
|
|||||||
return aResultSO._retn();
|
return aResultSO._retn();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ============
|
||||||
|
// Version information
|
||||||
|
// ============
|
||||||
|
|
||||||
|
virtual char* getVersion();
|
||||||
|
|
||||||
// ============
|
// ============
|
||||||
// Dump python
|
// Dump python
|
||||||
// ============
|
// ============
|
||||||
|
Loading…
Reference in New Issue
Block a user