Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
for_each_category [2012/02/10 02:21]
admin
for_each_category [2026/08/28 03:20] (current)
hermann Sync from local documentation review
Line 1: Line 1:
-====== For Each Category ====== ​+====== For Each Category ======
  
 ===== Description ===== ===== Description =====
  
-This container ​executes the contained ​functors once per each class or category ​of a categorical map specified as input.+Container that executes the functors ​it contains ​once for every class or category ​present in a categorical map.
  
 ===== Inputs ===== ===== Inputs =====
  
-^ Name ^ Type ^ Description ^ +^ Name  ^ Type  ^ Description ​ 
- Map  | [[ Categorical Map Type| Categorical Map  ​]]  |  Map of classes or categories. ​ |+| Map  | [[Categorical Map Type]] ​ | Map of classes or categories ​the contained functors are executed for.  |
  
 ===== Optional Inputs ===== ===== Optional Inputs =====
 +
 +None.
  
 ===== Outputs ===== ===== Outputs =====
 +
 +None.
  
 ===== Internal Outputs ===== ===== Internal Outputs =====
  
 ^ Name  ^ Type  ^ Description ​ ^ ^ Name  ^ Type  ^ Description ​ ^
-| Step  | [[Int Type|Int]]((**[Dinamica 1.9 and above]**))  ​| ​Current category.  |+| Step  | [[Integer Value Type]] ​ | Category being processed in the current execution.  |
  
 ===== Group ===== ===== Group =====
Line 23: Line 27:
 [[Functor List#​Control | Control]] [[Functor List#​Control | Control]]
  
-===== Internal Name ===== +===== Notes ===== 
 + 
 +Executions for different categories can run simultaneously when there is no dependency between them. 
 + 
 +When Map has zero categories and the results produced by the contained functors are used outside this container, connect a Junction so that a result is still provided by another functor in that case. 
 + 
 +See Lesson 14, "Using For Each Category and Region Manager,"​ for a practical example of this functor. 
 + 
 +===== Internal Name =====
  
 ForEachCategory ForEachCategory
 +
 +===== Usage examples =====
 +
 +See practical examples of this functor in [[lesson_14|Lesson 14: Using For Each Category and Region Manager]]