Changeset 2482 for XIOS3/dev/XIOS_ATTACHED/src/node/axis.cpp
- Timestamp:
- 03/28/23 16:42:11 (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/dev/XIOS_ATTACHED/src/node/axis.cpp
r2461 r2482 24 24 : CObjectTemplate<CAxis>() 25 25 , CAxisAttributes(), isChecked(false), relFiles() 26 , hasBounds (false), isCompressible_(false)27 , transformationMap_() , hasValue(false), hasLabel(false)26 , hasBounds_(false), isCompressible_(false) 27 , transformationMap_() 28 28 , clients() 29 29 { … … 33 33 : CObjectTemplate<CAxis>(id) 34 34 , CAxisAttributes(), isChecked(false), relFiles() 35 , hasBounds (false), isCompressible_(false)36 , transformationMap_() , hasValue(false), hasLabel(false)35 , hasBounds_(false), isCompressible_(false) 36 , transformationMap_() 37 37 , clients() 38 38 { … … 167 167 size += CArray<bool,1>::size(n_glo); 168 168 size += CArray<double,1>::size(n_glo); 169 if (hasBounds )169 if (hasBounds_) 170 170 size += CArray<double,2>::size(2*n_glo); 171 if (hasLabel )171 if (hasLabel_) 172 172 size += CArray<StdString,1>::size(n_glo); 173 173 } … … 200 200 size += CArray<bool,1>::size(it->second.size()); 201 201 size += CArray<double,1>::size(it->second.size()); 202 if (hasBounds )202 if (hasBounds_) 203 203 size += CArray<double,2>::size(2 * it->second.size()); 204 if (hasLabel )204 if (hasLabel_) 205 205 size += CArray<StdString,1>::size(it->second.size()); 206 206 … … 459 459 << ") than the one defined by the \'size\' attribute (" << n.getValue() << ").") 460 460 else return false ; 461 this->hasValue = true;461 this->hasValue_ = true; 462 462 } 463 463 … … 569 569 << "Bounds size is "<< bounds.extent(0) << " x " << bounds.extent(1) << ".") 570 570 else return false ; 571 hasBounds = true;572 } 573 else hasBounds = false;571 hasBounds_ = true; 572 } 573 else hasBounds_ = false; 574 574 return true ; 575 575 } … … 587 587 << "label size is "<< label.extent(0)<< " .") 588 588 else return false ; 589 hasLabel = true;590 } 591 else hasLabel = false;589 hasLabel_ = true; 590 } 591 else hasLabel_ = false; 592 592 return true ; 593 593 } … … 1165 1165 CContext* context = CContext::getCurrent(); 1166 1166 1167 if (hasValue )1167 if (hasValue_) 1168 1168 { 1169 1169 { // send level value … … 1175 1175 } 1176 1176 1177 if (hasBounds )1177 if (hasBounds_) 1178 1178 { 1179 1179 { // send bounds level value … … 1185 1185 } 1186 1186 1187 if (hasLabel )1187 if (hasLabel_) 1188 1188 { 1189 1189 { // send label
Note: See TracChangeset
for help on using the changeset viewer.