Ignore:
Timestamp:
07/27/22 11:49:51 (2 years ago)
Author:
jderouillat
Message:

Move renames of the attributes name in the element classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/trunk/src/node/axis.cpp

    r2388 r2389  
    340340     return distributedHash + globalHash; 
    341341   } 
    342  
     342   
     343   void CAxis::renameAttributesBeforeWriting(CAxis* writtenAxis) 
     344   { 
     345     if (writtenAxis!=NULL) 
     346     { 
     347       this->name = writtenAxis->getAxisOutputName(); 
     348       // + label if necessary, other attributs concerned ? 
     349     } 
     350     else 
     351     { 
     352       this->name =  this->getId(); 
     353       // + label if necessary, other attributs concerned ? 
     354     } 
     355   } 
     356   
    343357   void CAxis::setGeometricAttributes(const CAxis& axisSrc) 
    344358   { 
Note: See TracChangeset for help on using the changeset viewer.