Danbias/Code/Dokumentation/Resource.uxf

301 lines
7.4 KiB
Plaintext
Raw Normal View History

2014-01-08 12:45:48 +01:00
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2014-02-10 22:25:31 +01:00
<diagram program="umlet" version="12.2">
<zoom_level>6</zoom_level>
2014-01-08 12:45:48 +01:00
<element>
<type>com.umlet.element.Class</type>
<coordinates>
2014-02-10 22:25:31 +01:00
<x>198</x>
<y>300</y>
<w>66</w>
<h>30</h>
2014-01-08 12:45:48 +01:00
</coordinates>
<panel_attributes>&lt;&lt;interface&gt;&gt;
OysterResource</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
2014-02-10 22:25:31 +01:00
<x>186</x>
<y>312</y>
<w>76</w>
<h>60</h>
2014-01-08 12:45:48 +01:00
</coordinates>
<panel_attributes>lt=&gt;&gt;
implements
</panel_attributes>
2014-02-10 22:25:31 +01:00
<additional_attributes>42;48;42;18</additional_attributes>
2014-01-08 12:45:48 +01:00
</element>
<element>
<type>com.umlet.element.Actor</type>
<coordinates>
2014-02-10 22:25:31 +01:00
<x>120</x>
<y>360</y>
<w>48</w>
<h>72</h>
2014-01-08 12:45:48 +01:00
</coordinates>
<panel_attributes>Dev</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
2014-02-10 22:25:31 +01:00
<x>108</x>
<y>282</y>
<w>102</w>
<h>90</h>
2014-01-08 12:45:48 +01:00
</coordinates>
<panel_attributes>lt=&lt;.
interacts&gt;</panel_attributes>
2014-02-10 22:25:31 +01:00
<additional_attributes>90;30;36;30;36;78</additional_attributes>
2014-01-08 12:45:48 +01:00
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
2014-02-10 22:25:31 +01:00
<x>204</x>
<y>486</y>
<w>60</w>
<h>12</h>
2014-01-08 12:45:48 +01:00
</coordinates>
<panel_attributes>CustomLoader</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
2014-02-10 22:25:31 +01:00
<x>204</x>
<y>468</y>
<w>60</w>
<h>12</h>
2014-01-08 12:45:48 +01:00
</coordinates>
<panel_attributes>
ByteLoader</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
2014-02-10 22:25:31 +01:00
<x>162</x>
<y>414</y>
<w>54</w>
<h>72</h>
2014-01-08 12:45:48 +01:00
</coordinates>
<panel_attributes>lt=&lt;&lt;-</panel_attributes>
2014-02-10 22:25:31 +01:00
<additional_attributes>30;18;18;18;18;60;42;60</additional_attributes>
2014-01-08 12:45:48 +01:00
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
2014-02-10 22:25:31 +01:00
<x>126</x>
<y>414</y>
<w>98</w>
<h>90</h>
2014-01-08 12:45:48 +01:00
</coordinates>
<panel_attributes>lt=&lt;&lt;-
implements partly</panel_attributes>
2014-02-10 22:25:31 +01:00
<additional_attributes>66;18;54;18;54;78;78;78</additional_attributes>
2014-01-08 12:45:48 +01:00
</element>
<element>
<id>UMLClass</id>
<coordinates>
2014-02-10 22:25:31 +01:00
<x>192</x>
<y>360</y>
<w>78</w>
<h>48</h>
2014-01-08 12:45:48 +01:00
</coordinates>
<panel_attributes>--
&lt;&lt;interface&gt;&gt;
OResourceHandler
--
elementstyle=wordwrap
valign=center
halign=center</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
2014-02-10 22:25:31 +01:00
<x>192</x>
<y>420</y>
<w>78</w>
<h>30</h>
2014-01-08 12:45:48 +01:00
</coordinates>
<panel_attributes>
OResource
elementstyle=wordwrap
halign=center</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
2014-02-10 22:25:31 +01:00
<x>252</x>
<y>366</y>
<w>66</w>
<h>84</h>
2014-01-08 12:45:48 +01:00
</coordinates>
<panel_attributes>lt=&gt;&gt;&gt;&gt;
manages&gt;</panel_attributes>
2014-02-10 22:25:31 +01:00
<additional_attributes>18;72;36;72;36;18;18;18</additional_attributes>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>108</x>
<y>282</y>
<w>240</w>
<h>234</h>
</coordinates>
<panel_attributes>old
bg=gray</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>402</x>
<y>342</y>
<w>576</w>
<h>204</h>
</coordinates>
<panel_attributes>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&amp; resource)
+ void Clean()
+ void ReleaseResource(const HRESOURCE&amp; resource)
+ void ReleaseResource(const wchar_t filename[])
+ void SetResourceId(const HRESOURCE&amp; resource, unsigned int id)
+ void SetResourceId(const wchar_t filename[], unsigned int id)
+ ResourceType GetResourceType(const HRESOURCE&amp; resource)
+ ResourceType GetResourceType (const wchar_t filename[])
+ const wchar_t* GetResourceFilename(const HRESOURCE&amp; resource);
+ HRESOURCE GetResourceHandle(const wchar_t filename[])
+ int GetResourceId(const HRESOURCE&amp; resource);
+ int GetResourceId(const wchar_t filename[]);
--
- ResourceManager(const ResourceManager&amp; obj);
- const ResourceManager&amp; operator=(const ResourceManager&amp;);
- std::map&lt;std::wstring, ResourceData*&gt; resources;</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>390</x>
<y>198</y>
<w>600</w>
<h>360</h>
</coordinates>
<panel_attributes>Oyster &lt;&lt;namespace&gt;&gt;
--
</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>396</x>
<y>222</y>
<w>588</w>
<h>330</h>
</coordinates>
<panel_attributes>Resource &lt;&lt;namespace&gt;&gt;
--
</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>534</x>
<y>282</y>
<w>126</w>
<h>18</h>
</coordinates>
<panel_attributes>HRESOURCE: void* &lt;&lt;typedef&gt;&gt;</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>534</x>
<y>300</y>
<w>126</w>
<h>18</h>
</coordinates>
<panel_attributes>HBYTE: char &lt;&lt;typedef&gt;&gt;</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>534</x>
<y>318</y>
<w>126</w>
<h>18</h>
</coordinates>
<panel_attributes>HBYTEARRAY: char* &lt;&lt;typedef&gt;&gt;</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>534</x>
<y>246</y>
<w>264</w>
<h>18</h>
</coordinates>
<panel_attributes>UnloadFunction :void(*UnloadFunction)(void* loadedData) &lt;&lt;typedef&gt;&gt;</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>534</x>
<y>264</y>
<w>288</w>
<h>18</h>
</coordinates>
<panel_attributes>LoadFunction :void*(*LoadFunction)(const wchar_t filename[]) &lt;&lt;typedef&gt;&gt;</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>402</x>
<y>246</y>
<w>126</w>
<h>90</h>
</coordinates>
<panel_attributes>ResourceType &lt;&lt;enum&gt;&gt;
--
ResourceType_Byte_Raw
ResourceType_Byte_ANSI
ResourceType_Byte_UTF8
ResourceType_Byte_UNICODE
ResourceType_Byte_UTF16LE
ResourceType_CUSTOM
ResourceType_INVALID
</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>378</x>
<y>174</y>
<w>630</w>
<h>396</h>
</coordinates>
<panel_attributes>New
bg=green</panel_attributes>
<additional_attributes/>
2014-01-08 12:45:48 +01:00
</element>
</diagram>