Skip to content

Commit

Permalink
deploy: 1359140
Browse files Browse the repository at this point in the history
  • Loading branch information
RiscadoA committed Sep 25, 2023
1 parent 1c11b4b commit d07cc8b
Show file tree
Hide file tree
Showing 1,288 changed files with 325 additions and 266,732 deletions.
3 changes: 2 additions & 1 deletion annotated.html
Original file line number Diff line number Diff line change
Expand Up @@ -448,10 +448,11 @@ <h1>Classes</h1>
</ul>
</li>
<li>struct <a href="structColorTrait.html" class="m-doc">ColorTrait</a> <span class="m-doc">[<a href="structPosition.html" class="m-doc">Position</a> definition]</span></li>
<li>struct <a href="structMyAsset.html" class="m-doc">MyAsset</a> <span class="m-doc">A simple serializable type which we will be saving and loading.</span></li>
<li>struct <a href="structIntegerAsset.html" class="m-doc">IntegerAsset</a> <span class="m-doc">[Asset type]</span></li>
<li>struct <a href="structPerson.html" class="m-doc">Person</a> <span class="m-doc">[<a href="structPerson.html" class="m-doc">Person</a> definition]</span></li>
<li>struct <a href="structPosition.html" class="m-doc">Position</a> <span class="m-doc">[<a href="structPerson.html" class="m-doc">Person</a> reflection]</span></li>
<li>struct <a href="structScale.html" class="m-doc">Scale</a> <span class="m-doc">[<a href="structScale.html" class="m-doc">Scale</a> declaration]</span></li>
<li>struct <a href="structStrings.html" class="m-doc">Strings</a> <span class="m-doc"></span></li>
<li>class <a href="classTextBridge.html" class="m-doc">TextBridge</a> <span class="m-doc"></span></li>
</ul>
<script>
Expand Down
63 changes: 7 additions & 56 deletions classTextBridge.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
<div class="m-col-l-10 m-push-l-1">
<h1>
TextBridge <span class="m-thin">class</span>
<div class="m-doc-include m-code m-inverted m-text-right"><span class="cp">#include</span> <a class="cpf" href="engine_2samples_2assets_2bridge_2main_8cpp.html">&lt;assets/bridge/main.cpp&gt;</a></div>
</h1>
<nav class="m-block m-default">
<h3>Contents</h3>
Expand All @@ -59,7 +58,7 @@ <h3>Contents</h3>
</li>
</ul>
</nav>
<p>This bridge inherits from the FileBridge, since it will be loading/saving assets from/to single files.</p>
<p>[<a href="classTextBridge.html" class="m-doc">TextBridge</a>] This bridge inherits from the FileBridge, since it will be loading/saving assets from/to single files.</p>
<section id="base-classes">
<h2><a href="#base-classes">Base classes</a></h2>
<dl class="m-doc">
Expand All @@ -77,13 +76,13 @@ <h2><a href="#pub-methods">Public functions</a></h2>
const <a href="classcubos_1_1engine_1_1AnyAsset.html" class="m-doc">AnyAsset</a>&amp; handle,
<a href="classcubos_1_1core_1_1memory_1_1Stream.html" class="m-doc">Stream</a>&amp; stream) -&gt; bool <span class="m-label m-flat m-warning">override</span></span>
</dt>
<dd>Loads an asset from a file stream.</dd>
<dd>[<a href="classTextBridge.html" class="m-doc">TextBridge</a>]</dd>
<dt>
<span class="m-doc-wrap-bumper">auto <a href="#ab47df805a79332ae10e53a6a84671373" class="m-doc">saveToFile</a>(</span><span class="m-doc-wrap">const <a href="classcubos_1_1engine_1_1Assets.html" class="m-doc">Assets</a>&amp; assets,
const <a href="classcubos_1_1engine_1_1AnyAsset.html" class="m-doc">AnyAsset</a>&amp; handle,
<a href="classcubos_1_1core_1_1memory_1_1Stream.html" class="m-doc">Stream</a>&amp; stream) -&gt; bool <span class="m-label m-flat m-warning">override</span></span>
</dt>
<dd>Saves an asset to a file stream.</dd>
<dd>[<a href="classTextBridge.html#a52a874d22ac0452ce9b43df8732d624a" class="m-doc">TextBridge::<wbr />loadFromFile</a>]</dd>
</dl>
</section>
<section>
Expand All @@ -94,65 +93,17 @@ <h3>
const <a href="classcubos_1_1engine_1_1AnyAsset.html" class="m-doc">AnyAsset</a>&amp; handle,
<a href="classcubos_1_1core_1_1memory_1_1Stream.html" class="m-doc">Stream</a>&amp; stream) <span class="m-label m-warning">override</span></span></span>
</h3>
<p>Loads an asset from a file stream.</p>
<table class="m-table m-fullwidth m-flat">
<thead>
<tr><th colspan="2">Parameters</th></tr>
</thead>
<tbody>
<tr>
<td style="width: 1%">assets</td>
<td>Manager to write into.</td>
</tr>
<tr>
<td>handle</td>
<td>Handle of the asset being loaded.</td>
</tr>
<tr>
<td>stream</td>
<td>File stream.</td>
</tr>
</tbody>
<tfoot>
<tr>
<th>Returns</th>
<td>Whether the asset was successfully loaded.</td>
</tr>
</tfoot>
</table>
<p>[<a href="classTextBridge.html" class="m-doc">TextBridge</a>]</p>
<p>[<a href="classTextBridge.html#a52a874d22ac0452ce9b43df8732d624a" class="m-doc">TextBridge::<wbr />loadFromFile</a>]</p>
</div></section>
<section class="m-doc-details" id="ab47df805a79332ae10e53a6a84671373"><div>
<h3>
<span class="m-doc-wrap-bumper">bool TextBridge::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#ab47df805a79332ae10e53a6a84671373" class="m-doc-self">saveToFile</a>(</span><span class="m-doc-wrap">const <a href="classcubos_1_1engine_1_1Assets.html" class="m-doc">Assets</a>&amp; assets,
const <a href="classcubos_1_1engine_1_1AnyAsset.html" class="m-doc">AnyAsset</a>&amp; handle,
<a href="classcubos_1_1core_1_1memory_1_1Stream.html" class="m-doc">Stream</a>&amp; stream) <span class="m-label m-warning">override</span></span></span>
</h3>
<p>Saves an asset to a file stream.</p>
<table class="m-table m-fullwidth m-flat">
<thead>
<tr><th colspan="2">Parameters</th></tr>
</thead>
<tbody>
<tr>
<td style="width: 1%">assets</td>
<td>Manager to read from.</td>
</tr>
<tr>
<td>handle</td>
<td>Handle of the asset being saved.</td>
</tr>
<tr>
<td>stream</td>
<td>File stream.</td>
</tr>
</tbody>
<tfoot>
<tr>
<th>Returns</th>
<td>Whether the asset was successfully saved.</td>
</tr>
</tfoot>
</table>
<p>[<a href="classTextBridge.html#a52a874d22ac0452ce9b43df8732d624a" class="m-doc">TextBridge::<wbr />loadFromFile</a>]</p>
<p>[<a href="classTextBridge.html#ab47df805a79332ae10e53a6a84671373" class="m-doc">TextBridge::<wbr />saveToFile</a>]</p>
</div></section>
</section>
</div>
Expand Down
121 changes: 0 additions & 121 deletions engine_2samples_2assets_2bridge_2main_8cpp.html

This file was deleted.

121 changes: 0 additions & 121 deletions engine_2samples_2assets_2json_2main_8cpp.html

This file was deleted.

Loading

0 comments on commit d07cc8b

Please sign in to comment.