Changeset 470 for XIOS/trunk/src/node/field.cpp
- Timestamp:
- 01/30/14 15:55:42 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/field.cpp
r466 r470 458 458 else isOnceOperation=false; 459 459 isFirstOperation=true; 460 460 461 461 462 #define DECLARE_FUNCTOR(MType, mtype) \ 462 463 if (operation.getValue().compare(#mtype) == 0) \ 463 464 { \ 464 boost::shared_ptr<func::CFunctor> \ 465 foperation_(new C##MType(this->data)); \ 466 this->foperation = foperation_; \ 465 if (!detect_missing_value.isEmpty() && !default_value.isEmpty() && detect_missing_value==true) \ 466 { \ 467 boost::shared_ptr<func::CFunctor> foperation_(new C##MType(this->data,default_value)); \ 468 this->foperation = foperation_; \ 469 } \ 470 else \ 471 { \ 472 boost::shared_ptr<func::CFunctor> foperation_(new C##MType(this->data)); \ 473 this->foperation = foperation_; \ 474 } \ 467 475 return; \ 468 476 }
Note: See TracChangeset
for help on using the changeset viewer.