18 #ifndef __H__OCULAR_RESOURCES_MULTI_RESOURCE__H__
19 #define __H__OCULAR_RESOURCES_MULTI_RESOURCE__H__
21 #include "Resource.hpp"
22 #include <unordered_map>
67 virtual void addSubResource(
Resource* resource, std::string
const& name);
72 virtual Resource* getSubResource(std::string
const& name);
77 virtual void getSubResourceNames(std::vector<std::string>& names);
82 virtual void getSubResources(std::vector<Resource*>& resources);
87 virtual uint32_t getNumSubResources()
const;
91 std::unordered_map<std::string, Resource*> m_SubResources;
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: MultiResource.hpp:55
Definition: Resource.hpp:46