LeviLamina
Loading...
Searching...
No Matches
ContentItemCollection Class Reference

Classes

struct  ContentViewSource
struct  ItemCollection

Public Types

using OnReload = ::brstd::move_only_function<void(::ContentItemCollection&)>
using SortPredicate = bool (*)(::ContentItem const&, ::ContentItem const&)
using FilterPredicate = ::brstd::move_only_function<bool(::ContentItem const&)>

Public Member Functions

MCAPI ContentItemCollection (::ContentCollectionOptions &&options)
MCAPI void createItemCollection (::gsl::not_null<::std::shared_ptr<::ContentItem > > itemProxy, ::brstd::move_only_function< bool(::ContentItem const &)> predicate)
MCAPI void forceReload ()
MCAPI ::std::vector<::gsl::not_null<::std::shared_ptr<::ContentItem const > > > getCollection (::ContentItem const &item)
MCAPI ::std::shared_ptr<::ContentItem const > getItem (::brstd::move_only_function< bool(::ContentItem const &)> predicate)
MCAPI uint64 getTotalSize ()
MCAPI bool tryReload ()
MCAPI void * $ctor (::ContentCollectionOptions &&options)
MCAPI void $dtor ()

Public Attributes

::ll::TypedStorage< 8, 16, ::gsl::not_null<::std::shared_ptr<::ReadOnlyContentItemCollection > > > mAllItems
::ll::TypedStorage< 8, 24, ::std::vector<::ContentItemCollection::ContentViewSource > > mContentViewSources
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::ContentItemCollection::ItemCollection > > > mItemCollections
::ll::TypedStorage< 8, 64, ::brstd::move_only_function< void(::ContentItemCollection &)> > mOnReloaded
::ll::TypedStorage< 8, 64, ::brstd::move_only_function< bool(::ContentItem const &)> > mFilter
::ll::TypedStorage< 8, 8, bool(*)(::ContentItem const &, ::ContentItem const &)> mSort

The documentation for this class was generated from the following files: