+ inline SMDS_MeshInfo& operator=(const SMDS_MeshInfo& other);
public:
inline SMDS_MeshInfo();
+ inline SMDS_MeshInfo& operator=(const SMDS_MeshInfo& other);
inline void Clear();
int NbNodes() const { return myNbNodes; }
myNb[ index( SMDSAbs_Volume, 20)] = & myNbQuadHexas;
}
+inline SMDS_MeshInfo& // operator=
+SMDS_MeshInfo::operator=(const SMDS_MeshInfo& other)
+{ for ( int i=0; i<myNb.size(); ++i ) if ( myNb[i] ) (*myNb[i])=(*other.myNb[i]);
+ myNbPolygons = other.myNbPolygons;
+ myNbPolyhedrons = other.myNbPolyhedrons;
+ return *this;
+}
+
inline void // Clear
SMDS_MeshInfo::Clear()
{ for ( int i=0; i<myNb.size(); ++i ) if ( myNb[i] ) (*myNb[i])=0;