Changeset 640 for XIOS/trunk/src/node/context.cpp
- Timestamp:
- 07/17/15 13:58:12 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/context.cpp
r639 r640 46 46 47 47 //---------------------------------------------------------------- 48 48 49 /*! 49 50 \brief Get context group (context root) … … 56 57 } 57 58 58 59 59 //---------------------------------------------------------------- 60 60 61 /*! 61 62 \brief Get calendar of a context … … 68 69 69 70 //---------------------------------------------------------------- 71 70 72 /*! 71 73 \brief Set a context with a calendar … … 386 388 if (hasClient) 387 389 { 390 //this->buildAllExpressionOfEnabledFields(); 391 //buildAllExpressionOfFieldsWithReadAccess(); 392 this->buildFilterGraphOfEnabledFields(); 393 buildFilterGraphOfFieldsWithReadAccess(); 388 394 this->solveAllRefOfEnabledFields(true); 389 this->buildAllExpressionOfEnabledFields();390 buildAllExpressionOfFieldsWithReadAccess();391 395 } 392 396 … … 426 430 { 427 431 this->enabledFiles[i]->buildAllExpressionOfEnabledFields(); 432 } 433 } 434 435 void CContext::buildFilterGraphOfEnabledFields() 436 { 437 int size = this->enabledFiles.size(); 438 for (int i = 0; i < size; ++i) 439 { 440 this->enabledFiles[i]->buildFilterGraphOfEnabledFields(garbageCollector); 428 441 } 429 442 } … … 474 487 for (size_t i = 0; i < fieldsWithReadAccess.size(); ++i) 475 488 fieldsWithReadAccess[i]->buildAllExpressionEnabledField(); 489 } 490 491 void CContext::buildFilterGraphOfFieldsWithReadAccess() 492 { 493 for (size_t i = 0; i < fieldsWithReadAccess.size(); ++i) 494 fieldsWithReadAccess[i]->buildFilterGraph(garbageCollector, true); 476 495 } 477 496
Note: See TracChangeset
for help on using the changeset viewer.