Changeset 369 for XIOS/trunk/src/node/file.cpp
- Timestamp:
- 10/16/12 13:04:44 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/file.cpp
r352 r369 216 216 nbDomain=setDomain.size() ; 217 217 218 if (!AllDomainEmpty || type .getValue()=="one_file")218 if (!AllDomainEmpty || type == type_attr::one_file) 219 219 { 220 220 StdString filename = (!name.isEmpty()) ? name.getValue() : getId(); … … 228 228 if (!type.isEmpty()) 229 229 { 230 if (type .getValue()=="one_file") multifile=false ;231 else if (type .getValue()=="multi_file") multifile=true ;230 if (type==type_attr::one_file) multifile=false ; 231 else if (type==type_attr::multiple_file) multifile=true ; 232 232 else ERROR("void Context::createDataOutput(void)", 233 233 "incorrect file <type> attribut : must be <multi_file> or <one_file>, " … … 280 280 delete lastSync ; 281 281 delete lastSplit ; 282 if (!AllDomainEmpty || type .getValue()=="one_file")282 if (!AllDomainEmpty || type==type_attr::one_file) 283 283 if (isOpen) 284 284 { … … 349 349 350 350 //--------------------------------------------------------------- 351 351 /* 352 352 void CFile::toBinary (StdOStream & os) const 353 353 { … … 382 382 383 383 } 384 384 */ 385 385 386 CField* CFile::addField(const string& id) 386 387 {
Note: See TracChangeset
for help on using the changeset viewer.