# cee::ImageResources

class `ImageResources` : public RefCountedObject

  Class for storing image resources.

  Image resources are a map containing resource names and images (cee::Image).

  Public Functions

  `ImageResources`()

    Constructs an empty image resource object.

  Image *`imageResource`(const Str &resourceName)

    Returns the image belonging to the resource name resourceName.

    Returns NULL if resource name was not found.

  const Image *`imageResource`(const Str &resourceName) const

    Returns the image belonging to the resource name resourceName.

    Returns NULL if resource name was not found.

  void `addImageResource`(const Str &resourceName, Image *image)

    Adds an image resource given by name resourceName and image.

  std::vector<Str> `allResourceNames`() const

    Returns array of resource names for all the image resources stored in the object.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Envision for Desktop or choose a sample question below to start a conversation:

What is HOOPS Envision for Desktop?
What are the latest release notes for HOOPS Envision for Desktop?
How do I start evaluating HOOPS Envision for Desktop?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...