X-Git-Url: http://git.tdb.fi/?p=libs%2Fdatafile.git;a=blobdiff_plain;f=source%2Fcollection.h;fp=source%2Fcollection.h;h=50905ce0d14972d65b24ac37dc74cdd6b5e21be9;hp=174c7fcabce52812083a7d8184670d2b24eda32e;hb=41230218ca007b56932fd34b79b6f3e3e70764f6;hpb=b39ce68f12c30eedb272b65fe78baec5864d89ca diff --git a/source/collection.h b/source/collection.h index 174c7fc..50905ce 100644 --- a/source/collection.h +++ b/source/collection.h @@ -255,6 +255,9 @@ private: template 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;