From 406dc55fefcd7f85f027e99756ec83b0a672de13 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 10 Aug 2011 09:54:13 +0000 Subject: [PATCH] 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported + inline SMDS_MeshInfo& operator=(const SMDS_MeshInfo& other); --- src/SMDS/SMDS_MeshInfo.hxx | 9 +++++++++ 1 file changed, 9 insertions(+) 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