| 147 | {0, false} |
| 148 | }; |
| 149 | static bool |
| 150 | isGenericKnob(const std::string& knobName, |
| 151 | bool *mustSerialize) |
| 152 | { |
| 153 | int i = 0; |
| 154 | |
| 155 | while (genericWriterKnobNames[i].scriptName) { |
| 156 | if (genericWriterKnobNames[i].scriptName == knobName) { |
| 157 | *mustSerialize = genericWriterKnobNames[i].mustKeepValue; |
| 158 | |
| 159 | return true; |
| 160 | } |
| 161 | ++i; |
| 162 | } |
| 163 | |
| 164 | return false; |
| 165 | } |
| 166 | |
| 167 | bool |
| 168 | WriteNode::isBundledWriter(const std::string& pluginID, |