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
Merge 'gni/documentation'
[modules/smesh.git]
/
src
/
SMDS
/
SMDS_SetIterator.hxx
diff --git
a/src/SMDS/SMDS_SetIterator.hxx
b/src/SMDS/SMDS_SetIterator.hxx
index e0b3c8b0888938ca1eafaed263dc8bbb4b69e437..f9f1d5b08ea34d0fe914ffd9524023692a528152 100644
(file)
--- a/
src/SMDS/SMDS_SetIterator.hxx
+++ b/
src/SMDS/SMDS_SetIterator.hxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
16
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
20
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-20,7
+20,7
@@
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
-// SMESH SMDS : implementaion of Salome mesh data structure
+// SMESH SMDS : implementa
t
ion of Salome mesh data structure
// File : SMDS_SetIterator.hxx
// Created : Feb 27 2006
// Author : Edward AGAPOV (eap)
// File : SMDS_SetIterator.hxx
// Created : Feb 27 2006
// Author : Edward AGAPOV (eap)
@@
-51,6
+51,11
@@
namespace SMDS {
static VALUE value(VALUE_SET_ITERATOR it) { return (VALUE) it->second; }
};
static VALUE value(VALUE_SET_ITERATOR it) { return (VALUE) it->second; }
};
+ template<typename VALUE,typename VALUE_SET_ITERATOR>
+ struct PointerAccessor {
+ static VALUE value(VALUE_SET_ITERATOR it) { return (VALUE) &(*it); }
+ };
+
///////////////////////////////////////////////////////////////////////////////
/// Filters of value pointed by iterator
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/// Filters of value pointed by iterator
///////////////////////////////////////////////////////////////////////////////