class PersistentCacheObject

Inherits: Resource

Resource used for storing data within a PersistentCache.

Public

Methods

GetObjects

const TInlineArray<SPtr<IReflectable>, 1> &GetObjects() const

Returns all stored objects.

staticCreate

static SPtr<PersistentCacheObject> Create(const SPtr<IReflectable> &object)

Creates the resource holding a single object.

staticCreate

static SPtr<PersistentCacheObject> Create(const TInlineArray<SPtr<IReflectable>, 1> &objects)

Creates the resource holding multiple objects.

staticGetRttiStatic

static RTTIType *GetRttiStatic()

GetRtti

RTTIType *GetRtti() const override

Returns an interface you can use to access class' Run Time Type Information.

Private

Constructors

PersistentCacheObject

PersistentCacheObject(const SPtr<IReflectable> &object)

PersistentCacheObject

PersistentCacheObject(const TInlineArray<SPtr<IReflectable>, 1> &objects)

Fields

mObjects

TInlineArray<SPtr<IReflectable>, 1> mObjects