]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/collection.h
Chain get_status to fallback collection if one is defined
[libs/datafile.git] / source / collection.h
index 174c7fcabce52812083a7d8184670d2b24eda32e..50905ce0d14972d65b24ac37dc74cdd6b5e21be9 100644 (file)
@@ -255,6 +255,9 @@ private:
        template<typename T>
        CollectionItemTypeBase *get_type() const;
 
+       /// Gets a descriptor with the same type as another descriptor.
+       CollectionItemTypeBase *get_type(const CollectionItemTypeBase &) const;
+
        /// Returns the descriptor for an item, or null if it's of an unknown type.
        CollectionItemTypeBase *get_type_for_item(const Variant &) const;