6
com.umlet.element.Class
198
300
66
30
<<interface>>
OysterResource
com.umlet.element.Relation
186
312
76
60
lt=>>
implements
42;48;42;18
com.umlet.element.Actor
120
360
48
72
Dev
com.umlet.element.Relation
108
282
102
90
lt=<.
interacts>
90;30;36;30;36;78
com.umlet.element.Class
204
486
60
12
CustomLoader
com.umlet.element.Class
204
468
60
12
ByteLoader
com.umlet.element.Relation
162
414
54
72
lt=<<-
30;18;18;18;18;60;42;60
com.umlet.element.Relation
126
414
98
90
lt=<<-
implements partly
66;18;54;18;54;78;78;78
UMLClass
192
360
78
48
--
<<interface>>
OResourceHandler
--
elementstyle=wordwrap
valign=center
halign=center
UMLClass
192
420
78
30
OResource
elementstyle=wordwrap
halign=center
com.umlet.element.Relation
252
366
66
84
lt=>>>>
manages>
18;72;36;72;36;18;18;18
UMLClass
108
282
240
234
old
bg=gray
UMLClass
402
342
576
204
ResourceManager
--
+ ResourceManager() :void
+ ~ResourceManager() :void
+ HBYTEARRAY LoadBytes(const wchar_t filename[], ResourceType type, int customId = -1, bool force = false)
+ HRESOURCE LoadResource(const wchar_t filename[], LoadFunction loadFnc = 0, UnloadFunction unloadFnc = 0, int customId = -1, bool force = false)
+ HRESOURCE ReloadResource(const wchar_t filename[])
+ HRESOURCE ReloadResource(HRESOURCE& resource)
+ void Clean()
+ void ReleaseResource(const HRESOURCE& resource)
+ void ReleaseResource(const wchar_t filename[])
+ void SetResourceId(const HRESOURCE& resource, unsigned int id)
+ void SetResourceId(const wchar_t filename[], unsigned int id)
+ ResourceType GetResourceType(const HRESOURCE& resource)
+ ResourceType GetResourceType (const wchar_t filename[])
+ const wchar_t* GetResourceFilename(const HRESOURCE& resource);
+ HRESOURCE GetResourceHandle(const wchar_t filename[])
+ int GetResourceId(const HRESOURCE& resource);
+ int GetResourceId(const wchar_t filename[]);
--
- ResourceManager(const ResourceManager& obj);
- const ResourceManager& operator=(const ResourceManager&);
- std::map<std::wstring, ResourceData*> resources;
UMLClass
390
198
600
360
Oyster <<namespace>>
--
UMLClass
396
222
588
330
Resource <<namespace>>
--
UMLClass
534
282
126
18
HRESOURCE: void* <<typedef>>
UMLClass
534
300
126
18
HBYTE: char <<typedef>>
UMLClass
534
318
126
18
HBYTEARRAY: char* <<typedef>>
UMLClass
534
246
264
18
UnloadFunction :void(*UnloadFunction)(void* loadedData) <<typedef>>
UMLClass
534
264
288
18
LoadFunction :void*(*LoadFunction)(const wchar_t filename[]) <<typedef>>
UMLClass
402
246
126
90
ResourceType <<enum>>
--
ResourceType_Byte_Raw
ResourceType_Byte_ANSI
ResourceType_Byte_UTF8
ResourceType_Byte_UNICODE
ResourceType_Byte_UTF16LE
ResourceType_CUSTOM
ResourceType_INVALID
UMLClass
378
174
630
396
New
bg=green