Changeset 1646 for XIOS/dev/dev_trunk_omp/src/object_template_impl.hpp
- Timestamp:
- 01/31/19 12:12:52 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_omp/src/object_template_impl.hpp
r1628 r1646 109 109 template <class T> 110 110 void CObjectTemplate<T>::parse(xml::CXMLNode & node) 111 TRY 111 112 { 112 113 xml::THashAttributes attributes = node.getAttributes(); 113 114 CAttributeMap::setAttributes(attributes); 114 115 } 116 CATCH 115 117 116 118 //--------------------------------------------------------------- … … 362 364 *buffer>>attrId; 363 365 CAttribute* attr=attrMap[attrId]; 364 info(50) << "attribut recu " << attrId << " "; 365 if (attr->isEmpty()) info(50) << "--> empty" << endl; 366 else info(50) /*<attr->getValue()*/ << endl; 366 #pragma omp critical (_output) 367 { 368 info(50) << "attribut recu " << attrId << " "; 369 } 370 if (attr->isEmpty()) 371 { 372 #pragma omp critical (_output) 373 { 374 info(50) << "--> empty" << endl; 375 } 376 } 377 else 378 { 379 #pragma omp critical (_output) 380 { 381 info(50) /*<attr->getValue()*/ << endl; 382 } 383 } 367 384 *buffer>>*attr; 368 info(50) << "attribut recu " << attrId << " "; 369 if (attr->isEmpty()) info(50) << "--> empty" << endl; 370 else info(50) /*attr->getValue()*/ << endl; 385 #pragma omp critical (_output) 386 { 387 info(50) << "attribut recu " << attrId << " "; 388 } 389 if (attr->isEmpty()) 390 { 391 #pragma omp critical (_output) 392 { 393 info(50) << "--> empty" << endl; 394 } 395 } 396 else 397 { 398 #pragma omp critical (_output) 399 { 400 info(50) /*attr->getValue()*/ << endl; 401 } 402 } 371 403 } 372 404 … … 481 513 oss << iendl; 482 514 oss << "#include <boost/multi_array.hpp>" << iendl; 483 oss << "#include <boostXXX/shared_ptr.hpp>" << iendl;484 515 oss << "#include \"xios.hpp\"" << iendl; 485 516 oss << "#include \"attribute_template.hpp\"" << iendl; … … 515 546 oss << "INTERFACE" << iendl++; 516 547 oss << "! Do not call directly / interface FORTRAN 2003 <-> C99"; 517 SuperClassMap::generateFortran2003Interface(oss, className);548 SuperClassMap::generateFortran2003Interface(oss, className); 518 549 oss << iendl--; 519 550 oss << "END INTERFACE" << iendl--;
Note: See TracChangeset
for help on using the changeset viewer.