Version: 6.3.1
Public Member Functions

TIDCompare Struct Reference

Comparator of elements by ID for usage in std containers. More...

#include <SMDS_MeshElement.hxx>

Public Member Functions

bool operator() (const SMDS_MeshElement *e1, const SMDS_MeshElement *e2) const

Detailed Description

Comparator of elements by ID for usage in std containers.

Definition at line 177 of file SMDS_MeshElement.hxx.


Member Function Documentation

bool TIDCompare.operator() ( const SMDS_MeshElement e1,
const SMDS_MeshElement e2 
) const

Definition at line 178 of file SMDS_MeshElement.hxx.

References SMDS_MeshElement.GetID().

  { return e1->GetID() < e2->GetID(); }
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS