Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Integration of PAL/SALOME V2.1.0c from OCC
[modules/smesh.git]
/
src
/
SMDS
/
SMDS_MeshGroup.hxx
diff --git
a/src/SMDS/SMDS_MeshGroup.hxx
b/src/SMDS/SMDS_MeshGroup.hxx
index c5bfcb43216dcdf8dfbd8a5e10a11381224831a6..69084c5b95771759860b8890f64baaedfcf96f9d 100644
(file)
--- a/
src/SMDS/SMDS_MeshGroup.hxx
+++ b/
src/SMDS/SMDS_MeshGroup.hxx
@@
-28,7
+28,7
@@
#include "SMDS_Mesh.hxx"
#include <set>
#include "SMDS_Mesh.hxx"
#include <set>
-using namespace std;
+
class SMDS_MeshGroup:public SMDS_MeshObject
{
class SMDS_MeshGroup:public SMDS_MeshObject
{
@@
-54,23
+54,23
@@
class SMDS_MeshGroup:public SMDS_MeshObject
bool Contains(const SMDS_MeshElement * theElem) const;
void InitIterator() const
bool Contains(const SMDS_MeshElement * theElem) const;
void InitIterator() const
- { const_cast<
i
terator&>(myIterator) = myElements.begin(); }
+ { const_cast<
TI
terator&>(myIterator) = myElements.begin(); }
bool More() const { return myIterator != myElements.end(); }
const SMDS_MeshElement* Next() const
bool More() const { return myIterator != myElements.end(); }
const SMDS_MeshElement* Next() const
- { return *(const_cast<
i
terator&>(myIterator))++; }
+ { return *(const_cast<
TI
terator&>(myIterator))++; }
private:
SMDS_MeshGroup(SMDS_MeshGroup* theParent,
const SMDSAbs_ElementType theType = SMDSAbs_All);
private:
SMDS_MeshGroup(SMDS_MeshGroup* theParent,
const SMDSAbs_ElementType theType = SMDSAbs_All);
- typedef s
et<const SMDS_MeshElement *>::iterator i
terator;
+ typedef s
td::set<const SMDS_MeshElement *>::iterator TI
terator;
const SMDS_Mesh * myMesh;
SMDSAbs_ElementType myType;
const SMDS_Mesh * myMesh;
SMDSAbs_ElementType myType;
- s
et<const SMDS_MeshElement *>
myElements;
+ s
td::set<const SMDS_MeshElement *>
myElements;
SMDS_MeshGroup * myParent;
SMDS_MeshGroup * myParent;
-
list<const SMDS_MeshGroup*>
myChildren;
-
iterator
myIterator;
+
std::list<const SMDS_MeshGroup*>
myChildren;
+
TIterator
myIterator;
};
#endif
};
#endif