Ignore:
Timestamp:
11/18/16 15:04:43 (7 years ago)
Author:
mhnguyen
Message:

Some modifications to make sure there is no strange _undefined_id_ name appearing in netcdf file

+) Improve the algo to search for correct name
+) Some minor changes in code

Test
+) On Curie
+) Names are correct as they should be.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/attribute_map.hpp

    r623 r996  
    2020 
    2121            /// Tests /// 
    22             inline bool hasAttribute(const StdString & key) const; 
     22            bool hasAttribute(const StdString & key) const; 
    2323 
    2424            /// Accesseurs /// 
     
    7272      };  // class CAttributeMap 
    7373 
     74      inline bool CAttributeMap::hasAttribute(const StdString& key) const 
     75      { 
     76         return (this->find(key) != this->end()); 
     77      } 
     78 
    7479} // namespace xios 
    7580 
Note: See TracChangeset for help on using the changeset viewer.