From: eap Date: Wed, 10 Aug 2011 09:54:13 +0000 (+0000) Subject: 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported X-Git-Tag: V6_4_0a1~140 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=406dc55fefcd7f85f027e99756ec83b0a672de13;p=modules%2Fsmesh.git 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported + inline SMDS_MeshInfo& operator=(const SMDS_MeshInfo& other); --- diff --git a/src/SMDS/SMDS_MeshInfo.hxx b/src/SMDS/SMDS_MeshInfo.hxx index 54f1bfb27..55a729b7b 100644 --- a/src/SMDS/SMDS_MeshInfo.hxx +++ b/src/SMDS/SMDS_MeshInfo.hxx @@ -35,6 +35,7 @@ class SMDS_EXPORT SMDS_MeshInfo public: inline SMDS_MeshInfo(); + inline SMDS_MeshInfo& operator=(const SMDS_MeshInfo& other); inline void Clear(); int NbNodes() const { return myNbNodes; } @@ -161,6 +162,14 @@ inline SMDS_MeshInfo::SMDS_MeshInfo(): myNb[ index( SMDSAbs_Volume, 20)] = & myNbQuadHexas; } +inline SMDS_MeshInfo& // operator= +SMDS_MeshInfo::operator=(const SMDS_MeshInfo& other) +{ for ( int i=0; i