Skip to content

Commit c0b7999

Browse files
1 parent eb85c86 commit c0b7999

File tree

292 files changed

+3875
-3808
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

292 files changed

+3875
-3808
lines changed

doxygen_cxx/classdrake_1_1_memory_file-members.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,10 @@
175175
<tr><td class="entry"><a class="el" href="classdrake_1_1_memory_file.html#a5af83f187188dde845cd7a38142d508c">MemoryFile</a>(std::string contents, std::string extension, std::string filename_hint)</td><td class="entry"><a class="el" href="classdrake_1_1_memory_file.html">MemoryFile</a></td><td class="entry"></td></tr>
176176
<tr class="even"><td class="entry"><a class="el" href="classdrake_1_1_memory_file.html#a709dc7d281f0dcc7d76101a41c1321f5">operator=</a>(const MemoryFile &amp;)=default</td><td class="entry"><a class="el" href="classdrake_1_1_memory_file.html">MemoryFile</a></td><td class="entry"></td></tr>
177177
<tr><td class="entry"><a class="el" href="classdrake_1_1_memory_file.html#a49987be7adad3c9f9e9b54396649234a">operator=</a>(MemoryFile &amp;&amp;)=default</td><td class="entry"><a class="el" href="classdrake_1_1_memory_file.html">MemoryFile</a></td><td class="entry"></td></tr>
178-
<tr class="even"><td class="entry"><a class="el" href="classdrake_1_1_memory_file.html#a8a9f91a7db6a15fc542f14aa08c8e563">sha256</a>() const</td><td class="entry"><a class="el" href="classdrake_1_1_memory_file.html">MemoryFile</a></td><td class="entry"></td></tr>
179-
<tr><td class="entry"><a class="el" href="classdrake_1_1_memory_file.html#ad337b3f5cb6821e21e26c3696144faaa">to_string</a>(int contents_limit=100) const</td><td class="entry"><a class="el" href="classdrake_1_1_memory_file.html">MemoryFile</a></td><td class="entry"></td></tr>
180-
<tr class="even"><td class="entry"><a class="el" href="classdrake_1_1_memory_file.html#a52cbc778bee172892c53e442067d3cdc">~MemoryFile</a>()</td><td class="entry"><a class="el" href="classdrake_1_1_memory_file.html">MemoryFile</a></td><td class="entry"></td></tr>
178+
<tr class="even"><td class="entry"><a class="el" href="classdrake_1_1_memory_file.html#a8e8824802dedfbc36776227f7482b6bc">Serialize</a>(Archive *a)</td><td class="entry"><a class="el" href="classdrake_1_1_memory_file.html">MemoryFile</a></td><td class="entry"></td></tr>
179+
<tr><td class="entry"><a class="el" href="classdrake_1_1_memory_file.html#a8a9f91a7db6a15fc542f14aa08c8e563">sha256</a>() const</td><td class="entry"><a class="el" href="classdrake_1_1_memory_file.html">MemoryFile</a></td><td class="entry"></td></tr>
180+
<tr class="even"><td class="entry"><a class="el" href="classdrake_1_1_memory_file.html#ad337b3f5cb6821e21e26c3696144faaa">to_string</a>(int contents_limit=100) const</td><td class="entry"><a class="el" href="classdrake_1_1_memory_file.html">MemoryFile</a></td><td class="entry"></td></tr>
181+
<tr><td class="entry"><a class="el" href="classdrake_1_1_memory_file.html#a52cbc778bee172892c53e442067d3cdc">~MemoryFile</a>()</td><td class="entry"><a class="el" href="classdrake_1_1_memory_file.html">MemoryFile</a></td><td class="entry"></td></tr>
181182
</table></div><!-- contents -->
182183
</div><!-- doc-content -->
183184
<!-- footer -->

doxygen_cxx/classdrake_1_1_memory_file.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@
159159

160160
<div class="header">
161161
<div class="summary">
162+
<a href="#nested-classes">Classes</a> &#124;
162163
<a href="#pub-methods">Public Member Functions</a> &#124;
163164
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
164165
<a href="classdrake_1_1_memory_file-members.html">List of all members</a> </div>
@@ -196,6 +197,10 @@
196197
<tr class="memitem:ad337b3f5cb6821e21e26c3696144faaa"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrake_1_1_memory_file.html#ad337b3f5cb6821e21e26c3696144faaa">to_string</a> (<a class="el" href="classint.html">int</a> contents_limit=100) const</td></tr>
197198
<tr class="memdesc:ad337b3f5cb6821e21e26c3696144faaa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a string representation. <a href="#ad337b3f5cb6821e21e26c3696144faaa">More...</a><br /></td></tr>
198199
<tr class="separator:ad337b3f5cb6821e21e26c3696144faaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
200+
<tr class="memitem:a8e8824802dedfbc36776227f7482b6bc"><td class="memTemplParams" colspan="2">template&lt;typename Archive &gt; </td></tr>
201+
<tr class="memitem:a8e8824802dedfbc36776227f7482b6bc"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classdrake_1_1_memory_file.html#a8e8824802dedfbc36776227f7482b6bc">Serialize</a> (Archive *a)</td></tr>
202+
<tr class="memdesc:a8e8824802dedfbc36776227f7482b6bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Passes this object to an Archive. <a href="#a8e8824802dedfbc36776227f7482b6bc">More...</a><br /></td></tr>
203+
<tr class="separator:a8e8824802dedfbc36776227f7482b6bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
199204
<tr><td colspan="2"><div class="groupHeader">Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable</div></td></tr>
200205
<tr class="memitem:a75826baed3eae4f9970b9350dc7707ac"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrake_1_1_memory_file.html#a75826baed3eae4f9970b9350dc7707ac">MemoryFile</a> (const <a class="el" href="classdrake_1_1_memory_file.html">MemoryFile</a> &amp;)=default</td></tr>
201206
<tr class="separator:a75826baed3eae4f9970b9350dc7707ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -497,6 +502,32 @@ <h2 class="memtitle"><span class="permalink"><a href="#a709dc7d281f0dcc7d76101a4
497502
</table>
498503
</div><div class="memdoc">
499504

505+
</div>
506+
</div>
507+
<a id="a8e8824802dedfbc36776227f7482b6bc"></a>
508+
<h2 class="memtitle"><span class="permalink"><a href="#a8e8824802dedfbc36776227f7482b6bc">&#9670;&nbsp;</a></span>Serialize()</h2>
509+
510+
<div class="memitem">
511+
<div class="memproto">
512+
<table class="memname">
513+
<tr>
514+
<td class="memname">void Serialize </td>
515+
<td>(</td>
516+
<td class="paramtype">Archive *&#160;</td>
517+
<td class="paramname"><em>a</em></td><td>)</td>
518+
<td></td>
519+
</tr>
520+
</table>
521+
</div><div class="memdoc">
522+
523+
<p>Passes this object to an Archive. </p>
524+
<p>Refer to <a class="el" href="group__yaml__serialization.html">YAML Serialization</a> for background.</p>
525+
<p>When used in yaml, it is important to specify <em>all</em> fields. Applications may depend on the <code>extension</code> value to determine what to do with the file contents. Omitting <code>extension</code> would make it unusable in those cases.</p>
526+
<p>Omitting <code>filename_hint</code> is less dangerous; error messages would lack a helpful identifier, but things would otherwise function.</p>
527+
<p>The value of contents should be a base64-encoded string of the file contents. Yaml's <code>!!binary</code> tag is required to declare the value is such a string. Serializing the MemoryFile will produce such a string. Writing a yaml file by hand will be more challenging.</p>
528+
<p>For this yaml:</p>
529+
<div class="fragment"><div class="line">contents: !!binary VGhpcyBpcyBhbiBleGFtcGxlIG9mIG1</div><div class="line"> lbW9yeSBmaWxlIHRlc3QgY29udGVudHMu</div><div class="line">extension: .txt</div><div class="line">filename_hint: payload.txt</div></div><!-- fragment --><p>we would produce a MemoryFile with contents equal to: </p><pre class="fragment">This is an example of memory file test contents.
530+
</pre>
500531
</div>
501532
</div>
502533
<a id="a8a9f91a7db6a15fc542f14aa08c8e563"></a>

doxygen_cxx/classdrake_1_1_memory_file.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ var classdrake_1_1_memory_file =
1111
[ "Make", "classdrake_1_1_memory_file.html#a633efe7c29146d85642c875e653a2229", null ],
1212
[ "operator=", "classdrake_1_1_memory_file.html#a49987be7adad3c9f9e9b54396649234a", null ],
1313
[ "operator=", "classdrake_1_1_memory_file.html#a709dc7d281f0dcc7d76101a41c1321f5", null ],
14+
[ "Serialize", "classdrake_1_1_memory_file.html#a8e8824802dedfbc36776227f7482b6bc", null ],
1415
[ "sha256", "classdrake_1_1_memory_file.html#a8a9f91a7db6a15fc542f14aa08c8e563", null ],
1516
[ "to_string", "classdrake_1_1_memory_file.html#ad337b3f5cb6821e21e26c3696144faaa", null ]
1617
];

doxygen_cxx/classdrake_1_1geometry_1_1_rgba.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,9 +632,12 @@ <h2 class="memtitle"><span class="permalink"><a href="#a8e8824802dedfbc36776227f
632632
</div><div class="memdoc">
633633

634634
<p>Passes this object to an Archive. </p>
635-
<p>In YAML, an Rgba is represented by an array-like list of three or four numbers. E.g., </p><pre class="fragment"> rgba: [0.5, 0.5, 1.0]
635+
<p>In YAML, an Rgba is represented by a mapping of the symbol <code>rgba</code> to an array-like list of three or four numbers. E.g., </p><pre class="fragment"> rgba: [0.5, 0.5, 1.0]
636636
</pre><p>or </p><pre class="fragment"> rgba: [0.5, 0.5, 1.0, 0.5]
637637
</pre><p>such that the first three values are red, green, and blue, respectively. If no fourth value is provided, alpha is defined a 1.0.</p>
638+
<p>When another struct has an Rgba-valued member (e.g., <a class="el" href="structdrake_1_1systems_1_1sensors_1_1_camera_config.html#a01a2a4e8cf420c179bc1253ca3d3a1c3" title="The &quot;background&quot; color.">systems::sensors::CameraConfig::background</a>), remember to include the full mapping. For example, imagine the struct:</p>
639+
<div class="fragment"><div class="line"><span class="keyword">struct </span>Foo {</div><div class="line"> <a class="code" href="classdrake_1_1geometry_1_1_rgba.html#a81214ead519f4bfb7951aa77291546f5">Rgba</a> color1;</div><div class="line"> <a class="code" href="classdrake_1_1geometry_1_1_rgba.html#a81214ead519f4bfb7951aa77291546f5">Rgba</a> color2;</div><div class="line">};</div></div><!-- fragment --><p>The correct yaml representation of this would be:</p>
640+
<div class="fragment"><div class="line">color1:</div><div class="line"> rgba: [0.5, 0.5, 1.0]</div><div class="line">color2:</div><div class="line"> rgba: [1.0, 0.0, 0.0, 0.5]</div></div><!-- fragment --><p>The <em>values</em> of <code>color1</code> and <code>color2</code> are the mapping from <code>rgba</code> to the desired color tuples.</p>
638641
<p>Refer to <a class="el" href="group__yaml__serialization.html">YAML Serialization</a> for background. </p>
639642

640643
</div>

0 commit comments

Comments
 (0)