73 RelationConfiguration currentRelation; |
73 RelationConfiguration currentRelation; |
74 |
74 |
75 for (int i = 0; i < arguments.size();) { |
75 for (int i = 0; i < arguments.size();) { |
76 string_t option = readNext(arguments, i); |
76 string_t option = readNext(arguments, i); |
77 |
77 |
78 if (option == OPTION_BEFORE_RECORDS) currentRelation.guileBeforeRecords = readNext(arguments, i); |
78 if (option == OPTION_BEFORE_RECORDS) currentRelation.schemeBeforeRecords = readNext(arguments, i); |
79 else if (option == OPTION_AFTER_RECORDS) currentRelation.guileAfterRecords = readNext(arguments, i); |
79 else if (option == OPTION_AFTER_RECORDS) currentRelation.schemeAfterRecords = readNext(arguments, i); |
80 else if (option == OPTION_FOR_EACH) currentRelation.guileForEach = readNext(arguments, i); |
80 else if (option == OPTION_FOR_EACH) currentRelation.schemeForEach = readNext(arguments, i); |
81 else if (option == OPTION_WHERE) currentRelation.guileWhere = readNext(arguments, i); |
81 else if (option == OPTION_WHERE) currentRelation.schemeWhere = readNext(arguments, i); |
82 else if (option == OPTION_HAS_MORE_RECORDS) currentRelation.guileHasMoreRecords = readNext(arguments, i); |
82 else if (option == OPTION_HAS_MORE_RECORDS) currentRelation.schemeHasMoreRecords = readNext(arguments, i); |
83 else if (option == OPTION_DROP) currentRelation.drop = true; |
83 else if (option == OPTION_DROP) currentRelation.drop = true; |
84 else if (option == OPTION_INPUT_ATTRIBUTES_APPEND) currentRelation.inputAttributesAppend = true; |
84 else if (option == OPTION_INPUT_ATTRIBUTES_APPEND) currentRelation.inputAttributesAppend = true; |
85 else if (option == OPTION_INPUT_ATTRIBUTES_PREPEND) currentRelation.inputAttributesPrepend = true; |
85 else if (option == OPTION_INPUT_ATTRIBUTES_PREPEND) currentRelation.inputAttributesPrepend = true; |
86 else if (option == OPTION_DEBUG_VARIABLE_MAPPING) currentRelation.debugVariableMapping = true; |
86 else if (option == OPTION_DEBUG_VARIABLE_MAPPING) currentRelation.debugVariableMapping = true; |
87 else if (option == OPTION_RELATION) { |
87 else if (option == OPTION_RELATION) { |