Changeset 1671 for XIOS/dev/dev_trunk_omp/src/filter/file_writer_filter.cpp
- Timestamp:
- 06/04/19 10:00:52 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_omp/src/filter/file_writer_filter.cpp
r1670 r1671 16 16 if (buildWorkflowGraph) 17 17 { 18 if(InvalidableObject::count_ptr == 0) InvalidableObject::count_ptr = new std::map< StdString, int>; 19 if(InvalidableObject::count_ptr->find(CWorkflowGraph::my_filename) == InvalidableObject::count_ptr->end()) 20 { 21 (*InvalidableObject::count_ptr)[CWorkflowGraph::my_filename] = 0; 22 } 23 //filterId = InvalidableObject::count; 24 filterId = (*InvalidableObject::count_ptr)[CWorkflowGraph::my_filename]; 25 printf("file_writer_filter ================ filterId = %d\n", (*InvalidableObject::count_ptr)[CWorkflowGraph::my_filename]); 26 (*InvalidableObject::count_ptr)[CWorkflowGraph::my_filename]++; 27 //InvalidableObject::count++; 18 filterId = InvalidableObject::count; 19 InvalidableObject::count++; 28 20 } 29 21 }
Note: See TracChangeset
for help on using the changeset viewer.