Ignore:
Timestamp:
03/30/12 15:37:54 (12 years ago)
Author:
ymipsl
Message:

Change namespace xmlioserver -> xios

YM

File:
1 edited

Legend:

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

    r321 r335  
    1515 
    1616 
    17 namespace xmlioserver { 
     17namespace xios { 
    1818namespace tree { 
    1919    
     
    244244 
    245245         if (isOpen) data_out->closeFile() ; 
    246           
    247          data_out=shared_ptr<io::CDataOutput>(new io::CNc4DataOutput(oss.str(), false,server->intraComm,multifile)); 
     246         bool isCollective=true ; 
     247         if (!par_access.isEmpty()) 
     248         { 
     249           if (par_access.getValue()=="independent") isCollective=false ; 
     250           else if (par_access.getValue()=="collective") isCollective=true ; 
     251           else  
     252           { 
     253             ERROR("void Context::createDataOutput(void)", 
     254                        "incorrect file <par_access> attribut : must be <collective> or <indepedent>, " 
     255                        <<"having : <"<<type.getValue()<<">") ; 
     256           } 
     257         } 
     258         data_out=shared_ptr<io::CDataOutput>(new io::CNc4DataOutput(oss.str(), false,server->intraComm,multifile, isCollective)); 
    248259         isOpen=true ; 
    249260 
     
    491502 
    492503} // namespace tree 
    493 } // namespace xmlioserver 
     504} // namespace xios 
Note: See TracChangeset for help on using the changeset viewer.