- Timestamp:
- 05/29/24 19:26:04 (8 months ago)
- Location:
- XIOS3/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/trunk/src/attribute.hpp
r2629 r2633 72 72 73 73 bool canInherite(void) {return _canInherite ;} 74 bool setCannotInherit(void) {_canInherite=false ;} 75 bool setCanInherit(void) {_canInherite=true ;} 74 76 protected : 75 77 bool _canInherite ; -
XIOS3/trunk/src/attribute_map.cpp
r2471 r2633 240 240 this->setAttribute(el.first, el.second); 241 241 } 242 else if (currentAtt->isEmpty() && currentAtt->canInherite() && el.second->isEmpty() && !el.second->canInherite()) 243 { 244 currentAtt->setCannotInherit() ; // propagate non-inheritance 245 } 242 246 } 243 247 else currentAtt->setInheritedValue(*parentAtt);
Note: See TracChangeset
for help on using the changeset viewer.