From: eap Date: Fri, 7 Mar 2014 10:47:59 +0000 (+0400) Subject: 22501: [CEA 1076] Impossible to mesh at its position a translated without copy shape... X-Git-Tag: V7_4_0a1~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f095bd173389938e2fe872a27ccfb1ca7bd6c541;p=modules%2Fgeom.git 22501: [CEA 1076] Impossible to mesh at its position a translated without copy shape if the shape has already been meshed --- diff --git a/idl/GEOM_Gen.idl b/idl/GEOM_Gen.idl index f7af6efcb..dcb9de5a0 100644 --- a/idl/GEOM_Gen.idl +++ b/idl/GEOM_Gen.idl @@ -273,6 +273,11 @@ module GEOM */ long GetType(); + /*! + * \brief Get value of a modification counter of the object + */ + long GetTick(); + /*! * \brief Set a Study entry where this object was published. */ diff --git a/src/GEOM_I/GEOM_BaseObject_i.cc b/src/GEOM_I/GEOM_BaseObject_i.cc index 79a943099..f63c3c5e8 100644 --- a/src/GEOM_I/GEOM_BaseObject_i.cc +++ b/src/GEOM_I/GEOM_BaseObject_i.cc @@ -105,6 +105,17 @@ CORBA::Long GEOM_BaseObject_i::GetType() return _impl->GetType(); } +//============================================================================= +/*! + * GetTick + */ +//============================================================================= + +CORBA::Long GEOM_BaseObject_i::GetTick() +{ + return _impl->GetTic(); +} + //============================================================================= /*! * SetName diff --git a/src/GEOM_I/GEOM_BaseObject_i.hh b/src/GEOM_I/GEOM_BaseObject_i.hh index 6a89e7fe8..bd72cd7a9 100644 --- a/src/GEOM_I/GEOM_BaseObject_i.hh +++ b/src/GEOM_I/GEOM_BaseObject_i.hh @@ -46,6 +46,8 @@ class GEOM_I_EXPORT GEOM_BaseObject_i : public virtual POA_GEOM::GEOM_BaseObject virtual CORBA::Long GetType(); + virtual CORBA::Long GetTick(); + virtual void SetName(const char* theName); virtual char* GetName();