Design Pattern Examples
Overview of object-oriented design patterns
Flyweight_ImageList Struct Reference

Represents an expandable list of Flyweight_Image objects. This is managed by the Flyweight_ImageList_Clear() and Flyweight_ImageList_Add() functions. More...

#include <Flyweight_Image.h>

Collaboration diagram for Flyweight_ImageList:
Collaboration graph

Public Attributes

Flyweight_Imageimages
 Dynamic list of Flyweight_Image objects.
 
size_t images_count
 Number of Flyweight_image objects in the list.
 

Detailed Description

Represents an expandable list of Flyweight_Image objects. This is managed by the Flyweight_ImageList_Clear() and Flyweight_ImageList_Add() functions.

Note that this contains a list of Flyweight_Image structures, not pointers to Flyweight_image structures.

Definition at line 40 of file Flyweight_Image.h.

Member Data Documentation

◆ images

◆ images_count

size_t images_count

Number of Flyweight_image objects in the list.

Definition at line 43 of file Flyweight_Image.h.

Referenced by _Flyweight_MoveFlyweights(), _Flyweight_RenderFlyweights(), Flyweight_ImageList_Add(), and Flyweight_ImageList_Clear().


The documentation for this struct was generated from the following file: