| 276 | } |
| 277 | |
| 278 | bool NodeBase::isActive(bool checkRecursively) const |
| 279 | { |
| 280 | ValueTree p = v_data.getParent(); |
| 281 | |
| 282 | if (!checkRecursively) |
| 283 | return p.isValid(); |
| 284 | |
| 285 | while (p.isValid() && p.getType() != PropertyIds::Network) |
| 286 | { |
| 287 | p = p.getParent(); |
| 288 | } |
| 289 | |
| 290 | return p.getType() == PropertyIds::Network; |
| 291 | } |
| 292 | |
| 293 | void NodeBase::checkValid() const |
| 294 | { |
no test coverage detected