22 #ifndef __SMESHDS_SubMeshHolder_HXX__
23 #define __SMESHDS_SubMeshHolder_HXX__
37 template <
class SUBMESH>
41 std::map< int, SUBMESH* >
myMap;
57 if ( (
int)
myVec.size() <= id )
66 typename std::map< int, SUBMESH* >::const_iterator i2sm =
myMap.find(
id );
67 return (
SUBMESH*) ( i2sm ==
myMap.end() ? NULL : i2sm->second );
76 for (
size_t i = 0; i <
myVec.size(); ++i )
84 typename std::map< int, SUBMESH* >::iterator i2sm =
myMap.begin();
85 for ( ; i2sm !=
myMap.end(); ++i2sm )
86 if (
SUBMESH* sm = i2sm->second )
95 return myMap.empty() ? 0 :
myMap.begin()->first;
110 int firstID,
int endID,
int delta )
143 Iterator* iter =
new Iterator;