[MOAB-dev] r4403 - MOAB/trunk/src

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Tue Dec 21 16:40:24 CST 2010


Author: kraftche
Date: 2010-12-21 16:40:24 -0600 (Tue, 21 Dec 2010)
New Revision: 4403

Modified:
   MOAB/trunk/src/SparseTag.cpp
   MOAB/trunk/src/SparseTag.hpp
   MOAB/trunk/src/VarLenSparseTag.cpp
   MOAB/trunk/src/VarLenSparseTag.hpp
Log:
conform to MOAB convention for naming types

Modified: MOAB/trunk/src/SparseTag.cpp
===================================================================
--- MOAB/trunk/src/SparseTag.cpp	2010-12-21 22:37:26 UTC (rev 4402)
+++ MOAB/trunk/src/SparseTag.cpp	2010-12-21 22:40:24 UTC (rev 4403)
@@ -39,7 +39,7 @@
 
 ErrorCode SparseTag::release_all_data( SequenceManager*, bool )
 {
-  for(myMapType::iterator i = mData.begin(); i != mData.end(); ++i)
+  for(MapType::iterator i = mData.begin(); i != mData.end(); ++i)
     mAllocator.destroy(i->second);
   mData.clear();
   return MB_SUCCESS;
@@ -50,9 +50,9 @@
   ErrorCode ret_val = MB_TAG_NOT_FOUND;
 
 #ifdef HAVE_UNORDERED_MAP
-  myMapType::iterator iterator = mData.find(entity_handle);
+  MapType::iterator iterator = mData.find(entity_handle);
 #else
-  myMapType::iterator iterator = mData.lower_bound(entity_handle);
+  MapType::iterator iterator = mData.lower_bound(entity_handle);
 #endif
   
   // data space already exists
@@ -75,7 +75,7 @@
 
 ErrorCode SparseTag::get_data_ptr(EntityHandle entity_handle, const void*& ptr) const
 {
-  myMapType::const_iterator iter = mData.find(entity_handle);
+  MapType::const_iterator iter = mData.find(entity_handle);
 
   if (iter != mData.end())
     ptr = iter->second;
@@ -98,7 +98,7 @@
 
 ErrorCode SparseTag::remove_data( EntityHandle entity_handle )
 {
-  myMapType::iterator i = mData.find(entity_handle);
+  MapType::iterator i = mData.find(entity_handle);
   if (i == mData.end()) 
     return MB_TAG_NOT_FOUND;
   
@@ -338,11 +338,11 @@
 }
 
 template <class Container> static inline
-void get_tagged( const SparseTag::myMapType& mData,
+void get_tagged( const SparseTag::MapType& mData,
                  EntityType type,
                  Container& output_range )


More information about the moab-dev mailing list