cohtml::ImagesList

A list of images. Used for getting all images that are currently loaded by this View. The list can be used to build a collection of resources that must be pre-loaded via native code or JavaScript to avoid dynamic loading when the page is shown.

#include <View.h>

Public Functions

Name
virtual const char *Next() =0
Returns the next image in the list. Will return nullptr when the end is reached.
virtual voidResetIterator() =0
Will reset the internal iterator used by Next() to the beginning of the list.
virtual voidRelease() =0
Frees the underlying data.
virtual~ImagesList()

Public Functions Documentation

function Next

virtual const char * Next() =0

Returns the next image in the list. Will return nullptr when the end is reached.

function ResetIterator

virtual void ResetIterator() =0

Will reset the internal iterator used by Next() to the beginning of the list.

function Release

virtual void Release() =0

Frees the underlying data.

function ~ImagesList

virtual ~ImagesList()