Salome HOME
+ const SMDS_MeshNode* GetNodeWrap(const int ind) const { return GetNode( WrappedInd...
authoreap <eap@opencascade.com>
Tue, 19 May 2009 15:13:59 +0000 (15:13 +0000)
committereap <eap@opencascade.com>
Tue, 19 May 2009 15:13:59 +0000 (15:13 +0000)
commit91d01b7efe6062e93c5ad121a4d4bad58e00d2b1
treec307a43c393857d1d59d3d51e0bace8ea3bd3db1
parentb6986ac1b189728ef4f2a486e035957ffa63272d
+  const SMDS_MeshNode* GetNodeWrap(const int ind) const { return GetNode( WrappedIndex( ind )); }

+// ============================================================
+/*!
+ * \brief Comparator of elements by ID for usage in std containers
+ */
+// ============================================================
+
+struct TIDCompare {
+  bool operator () (const SMDS_MeshElement* e1, const SMDS_MeshElement* e2) const
+  { return e1->GetID() < e2->GetID(); }
+};
src/SMDS/SMDS_MeshElement.hxx