| 76 | } |
| 77 | |
| 78 | VdfOutput * |
| 79 | VdfNode::GetOutput(const TfToken &name) |
| 80 | { |
| 81 | VdfOutput *output = GetOptionalOutput(name); |
| 82 | |
| 83 | if (!output) { |
| 84 | TF_CODING_ERROR("Output connector '" + name.GetString() + |
| 85 | "' does not exist."); |
| 86 | } |
| 87 | |
| 88 | return output; |
| 89 | } |
| 90 | |
| 91 | VdfOutput * |
| 92 | VdfNode::GetOptionalOutput(const TfToken &name) |