| 120 | } |
| 121 | |
| 122 | std::shared_ptr<class Meta::VersionList> Component::getVersionList() const |
| 123 | { |
| 124 | // FIXME: what if the metadata index isn't loaded yet? |
| 125 | if(APPLICATION->metadataIndex()->hasUid(m_uid)) |
| 126 | { |
| 127 | return APPLICATION->metadataIndex()->get(m_uid); |
| 128 | } |
| 129 | return nullptr; |
| 130 | } |
| 131 | |
| 132 | int Component::getOrder() |
| 133 | { |
no test coverage detected