Ignore:
Timestamp:
10/30/15 16:33:49 (8 years ago)
Author:
rlacroix
Message:

Axis/Domain?: Use the new infrastructure to get the output name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/domain.cpp

    r764 r772  
    18291829      for (size_t i = 0; i < refDomains.size(); ++i) 
    18301830        refDomains[i]->setTransformations(domain->getAllTransformations()); 
    1831  
    1832     // Try to inherit the id of the referenced object as the domain name 
    1833     // when no name was been defined and a defaut id is used. 
    1834     if (name.isEmpty()) 
    1835     { 
    1836       static const std::string defId("__domain_undef_id_"); 
    1837       const std::string& id = getId(); 
    1838       if (id.size() > defId.size() && id.compare(0, defId.size(), defId) == 0) 
    1839         name = domain->getId(); 
    1840     } 
    18411831  } 
    18421832 
Note: See TracChangeset for help on using the changeset viewer.