|
GL Studio SCECpp Runtime Library
|
#include <gls_image.h>
Public Member Functions | |
| ImageList (const GlsUInt32 maxNumImages) | |
| void | AddImage (GlsImage *const image) |
| GlsImage * | FindImageFromInlineImage (const InlineImage &inlineImage) const |
Protected Member Functions | |
| virtual | ~ImageList () |
Protected Attributes | |
| GlsUInt32 | _numImages |
| GlsPointerArray | _images |
This class implements a list of image pointers used for maintaining a list of images that have been instantiated. This list is used when checking for duplicate images
| GlsImage::ImageList::ImageList | ( | const GlsUInt32 | maxNumImages | ) |
Constructor - create an empty image list
| maxNumImages | maximum number of image pointers to hold in list |
|
protectedvirtual |
Destructor - shall never be called
| void GlsImage::ImageList::AddImage | ( | GlsImage *const | image | ) |
Add an image to the image list
| image | image to add |
| GlsImage* GlsImage::ImageList::FindImageFromInlineImage | ( | const InlineImage & | inlineImage | ) | const |
Find an image in the list that corresponds to the given inline image
| inlineImage | inline image in question |
|
protected |
array of image pointers
|
protected |
number of images added to _images array
1.8.10