| 306 | } |
| 307 | |
| 308 | bool ViewNodeAttribute::empty() const { |
| 309 | if (_hasSingleAttribute) { |
| 310 | return false; |
| 311 | } else if (_hasAttributeCollection) { |
| 312 | return getAttributeValueCollection().values.empty(); |
| 313 | } else { |
| 314 | return true; |
| 315 | } |
| 316 | } |
| 317 | |
| 318 | bool ViewNodeAttribute::requiresView() const { |
| 319 | return _handlerNeedsView; |