| 199 | |
| 200 | |
| 201 | PortIndex |
| 202 | Connection:: |
| 203 | getPortIndex(PortType portType) const |
| 204 | { |
| 205 | PortIndex result = INVALID; |
| 206 | |
| 207 | switch (portType) |
| 208 | { |
| 209 | case PortType::In: |
| 210 | result = _inPortIndex; |
| 211 | break; |
| 212 | |
| 213 | case PortType::Out: |
| 214 | result = _outPortIndex; |
| 215 | |
| 216 | break; |
| 217 | |
| 218 | default: |
| 219 | break; |
| 220 | } |
| 221 | |
| 222 | return result; |
| 223 | } |
| 224 | |
| 225 | |
| 226 | void |
nothing calls this directly
no outgoing calls
no test coverage detected