<p>Declaration :</p><ul><li>C++ : class AssetManager </li></ul><p>Facade for the Asset subsystem<br/></p><p>Artifact : <ahref="index.html#refartifact136197"><b>assetmanager</b></a></p><divclass="sub">
<table><tr><td><divclass="element">Operation <b>getAsset</b></div></td></tr></table><p>Declaration :</p><ul><li>Uml : + getAsset(in id : long) : KIND, exceptions : <ahref="class136069.html#refclass136069"><b>Invalid</b></a></li><li>C++ : public: template<class KIND> KIND getAsset (long & id) throw (<ahref="class136069.html#refclass136069"><b>Invalid</b></a>)</li></ul><p>find and return corresponging object<br/></p><aname="refoperation132613"></a>
<table><tr><td><divclass="element">Operation <b>known</b></div></td></tr></table><p>Declaration :</p><ul><li>Uml : + known(in id : long) : bool</li><li>C++ : public: bool known (long id) </li></ul><p>@return true if the given id is registered in the internal asset DB<br/></p><aname="refoperation132741"></a>
<table><tr><td><divclass="element">Operation <b>remove</b></div></td></tr></table><p>Declaration :</p><ul><li>Uml : + remove(in id : long) : void, exceptions : <ahref="class136069.html#refclass136069"><b>Invalid</b></a>, <ahref="class135941.html#refclass135941"><b>State</b></a></li><li>C++ : public: void remove (long id) throw (<ahref="class136069.html#refclass136069"><b>Invalid</b></a>, <ahref="class135941.html#refclass135941"><b>State</b></a>)</li></ul><p>remove the given asset <i>together with all its dependants</i> from the internal DB<br/></p><aname="refoperation132357"></a>
<table><tr><td><divclass="element">Operation <b>reg</b></div></td></tr></table><p>Declaration :</p><ul><li>Uml : static, # reg(inout name : string, inout category : string, inout org : string, inout uint : version) : long, exceptions : Invalid</li><li>C++ : protected: static long reg (string & name, string & category, string & org, version& uint) throw (Invalid)</li></ul><p>registers an asset object in the internal DB, providing its unique key<br/></p><aname="refrelation142085"></a>
<table><tr><td><divclass="element">Relation <b>registry (<unidirectional association>)</b></div></td></tr></table><p>Declaration :</p><ul><li>Uml : # registry : <ahref="class138373.html#refclass138373"><b>DB</b></a>, multiplicity : 1</li><li>C++ : protected: <ahref="class138373.html#refclass138373"><b>DB</b></a>* registry</li></ul><p>@internal Table or DB holding all registered asset instances.<br/></p></div>