| 159 | {0, false} |
| 160 | }; |
| 161 | static bool |
| 162 | isGenericKnob(const std::string& knobName, |
| 163 | bool *mustSerialize) |
| 164 | { |
| 165 | int i = 0; |
| 166 | |
| 167 | while (genericReaderKnobNames[i].scriptName) { |
| 168 | if (genericReaderKnobNames[i].scriptName == knobName) { |
| 169 | *mustSerialize = genericReaderKnobNames[i].mustKeepValue; |
| 170 | |
| 171 | return true; |
| 172 | } |
| 173 | ++i; |
| 174 | } |
| 175 | |
| 176 | return false; |
| 177 | } |
| 178 | |
| 179 | bool |
| 180 | ReadNode::isBundledReader(const std::string& pluginID, |