<ahref="#pub-methods">Public Member Functions</a>|
<ahref="#pro-methods">Protected Member Functions</a>|
<ahref="classcrashpad_1_1MinidumpContextMIPS64Writer-members.html">List of all members</a></div>
<divclass="headertitle">
<divclass="title">crashpad::MinidumpContextMIPS64Writer Class Reference<spanclass="mlabels"><spanclass="mlabel">final</span></span></div></div>
</div><!--header-->
<divclass="contents">
<p>The writer for a <aclass="el"href="structcrashpad_1_1MinidumpContextMIPS64.html"title="A 32bit MIPS CPU context (register state) carried in a minidump file. ">MinidumpContextMIPS64</a> structure in a minidump file.
<areahref="classcrashpad_1_1MinidumpContextWriter.html"title="The base class for writers of CPU context structures in minidump files. "alt="crashpad::MinidumpContextWriter"shape="rect"coords="0,56,245,80"/>
<areahref="classcrashpad_1_1internal_1_1MinidumpWritable.html"title="The base class for all content that might be written to a minidump file. "alt="crashpad::internal::MinidumpWritable"shape="rect"coords="0,0,245,24"/>
<trclass="memdesc:a48d9d7b51c4f40726bf246483b36907a"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Initializes the <aclass="el"href="structcrashpad_1_1MinidumpContextMIPS.html"title="A 32bit MIPS CPU context (register state) carried in a minidump file. ">MinidumpContextMIPS</a> based on <em>context_snapshot</em>. <ahref="#a48d9d7b51c4f40726bf246483b36907a">More...</a><br/></td></tr>
<trclass="memdesc:af659cc8b151e66d1a957eee5692716d7"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a pointer to the context structure that this object will write. <ahref="#af659cc8b151e66d1a957eee5692716d7">More...</a><br/></td></tr>
<trclass="inherit_header pub_methods_classcrashpad_1_1internal_1_1MinidumpWritable"><tdcolspan="2"onclick="javascript:toggleInherit('pub_methods_classcrashpad_1_1internal_1_1MinidumpWritable')"><imgsrc="closed.png"alt="-"/> Public Member Functions inherited from <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html">crashpad::internal::MinidumpWritable</a></td></tr>
<trclass="memdesc:a24507e918299cb566c7f15207de83a7f inherit pub_methods_classcrashpad_1_1internal_1_1MinidumpWritable"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Writes an object and all of its children to a minidump file. <ahref="classcrashpad_1_1internal_1_1MinidumpWritable.html#a24507e918299cb566c7f15207de83a7f">More...</a><br/></td></tr>
<trclass="memdesc:a686683d78f099a07e2a1df8e6b567d37 inherit pub_methods_classcrashpad_1_1internal_1_1MinidumpWritable"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Registers a file offset pointer as one that should point to the object on which this method is called. <ahref="classcrashpad_1_1internal_1_1MinidumpWritable.html#a686683d78f099a07e2a1df8e6b567d37">More...</a><br/></td></tr>
<trclass="memdesc:aed263c64ecb0597696d080e395af6400 inherit pub_methods_classcrashpad_1_1internal_1_1MinidumpWritable"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Registers a location descriptor as one that should point to the object on which this method is called. <ahref="classcrashpad_1_1internal_1_1MinidumpWritable.html#aed263c64ecb0597696d080e395af6400">More...</a><br/></td></tr>
<trclass="memdesc:a567c33ac61b869580fa9242d23229d31"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Writes the object’s content. <ahref="#a567c33ac61b869580fa9242d23229d31">More...</a><br/></td></tr>
<trclass="memdesc:a1ee91406ab8a77e62651a8532088d7e9"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the size of the context structure that this object will write. <ahref="#a1ee91406ab8a77e62651a8532088d7e9">More...</a><br/></td></tr>
<trclass="inherit_header pro_methods_classcrashpad_1_1MinidumpContextWriter"><tdcolspan="2"onclick="javascript:toggleInherit('pro_methods_classcrashpad_1_1MinidumpContextWriter')"><imgsrc="closed.png"alt="-"/> Protected Member Functions inherited from <aclass="el"href="classcrashpad_1_1MinidumpContextWriter.html">crashpad::MinidumpContextWriter</a></td></tr>
<trclass="memdesc:abf319fae016a78f99d39a131c9070a0f inherit pro_methods_classcrashpad_1_1MinidumpContextWriter"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the amount of space that this object will consume when written to a minidump file, in bytes, not including any leading or trailing padding necessary to maintain proper alignment. <ahref="classcrashpad_1_1MinidumpContextWriter.html#abf319fae016a78f99d39a131c9070a0f">More...</a><br/></td></tr>
<trclass="inherit_header pro_methods_classcrashpad_1_1internal_1_1MinidumpWritable"><tdcolspan="2"onclick="javascript:toggleInherit('pro_methods_classcrashpad_1_1internal_1_1MinidumpWritable')"><imgsrc="closed.png"alt="-"/> Protected Member Functions inherited from <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html">crashpad::internal::MinidumpWritable</a></td></tr>
<trclass="memdesc:aed27972114564f99cda1e7648aec807a inherit pro_methods_classcrashpad_1_1internal_1_1MinidumpWritable"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The state of the object. <br/></td></tr>
<trclass="memdesc:a773db80946a99c6a3cc29c7d4dd77bd6 inherit pro_methods_classcrashpad_1_1internal_1_1MinidumpWritable"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Transitions the object from <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7a18337604dcbdbdb23ed51810f0587665"title="The object’s properties can be modified. ">kStateMutable</a> to <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7af98547144e0e8d4f878f725ef5c0d611"title="The object is “frozen”. ">kStateFrozen</a>. <ahref="classcrashpad_1_1internal_1_1MinidumpWritable.html#a773db80946a99c6a3cc29c7d4dd77bd6">More...</a><br/></td></tr>
<trclass="memdesc:a8439e05e21ccb78a4d61cd6e817d3bf5 inherit pro_methods_classcrashpad_1_1internal_1_1MinidumpWritable"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Prepares the object to be written at a known file offset, transitioning it from <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7af98547144e0e8d4f878f725ef5c0d611"title="The object is “frozen”. ">kStateFrozen</a> to <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7a87483823ca30a8257b2a5fbd21805bcd"title="The object is writable. ">kStateWritable</a>. <ahref="classcrashpad_1_1internal_1_1MinidumpWritable.html#a8439e05e21ccb78a4d61cd6e817d3bf5">More...</a><br/></td></tr>
<trclass="memdesc:a2416cb821816b769d95b92e486713ebf inherit pro_methods_classcrashpad_1_1internal_1_1MinidumpWritable"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Called once an object’s writable file offset is determined, as it transitions into <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7a87483823ca30a8257b2a5fbd21805bcd"title="The object is writable. ">kStateWritable</a>. <ahref="classcrashpad_1_1internal_1_1MinidumpWritable.html#a2416cb821816b769d95b92e486713ebf">More...</a><br/></td></tr>
<trclass="memdesc:ab82b1e92ae0eced8b8e2efe957411773 inherit pro_methods_classcrashpad_1_1internal_1_1MinidumpWritable"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Writes the object, transitioning it from <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7a87483823ca30a8257b2a5fbd21805bcd"title="The object is writable. ">kStateWritable</a> to <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7af0d794ed29c320fcf35c71f40cc6a510"title="The object has been written to a minidump file. ">kStateWritten</a>. <ahref="classcrashpad_1_1internal_1_1MinidumpWritable.html#ab82b1e92ae0eced8b8e2efe957411773">More...</a><br/></td></tr>
<trclass="inherit_header pub_static_methods_classcrashpad_1_1MinidumpContextWriter"><tdcolspan="2"onclick="javascript:toggleInherit('pub_static_methods_classcrashpad_1_1MinidumpContextWriter')"><imgsrc="closed.png"alt="-"/> Static Public Member Functions inherited from <aclass="el"href="classcrashpad_1_1MinidumpContextWriter.html">crashpad::MinidumpContextWriter</a></td></tr>
<trclass="memdesc:a17ab063669803af6be570ce60c5ab203 inherit pub_static_methods_classcrashpad_1_1MinidumpContextWriter"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a <aclass="el"href="classcrashpad_1_1MinidumpContextWriter.html"title="The base class for writers of CPU context structures in minidump files. ">MinidumpContextWriter</a> based on <em>context_snapshot</em>. <ahref="classcrashpad_1_1MinidumpContextWriter.html#a17ab063669803af6be570ce60c5ab203">More...</a><br/></td></tr>
<trclass="memdesc:ac14e05f291f5fa713b5ec82a208fa7c7"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Identifies the state of an object. <ahref="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7">More...</a><br/></td></tr>
<trclass="memdesc:a009f007265d64a5fb416848480a00ae9"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Identifies the phase during which an object will be written to a minidump file. <ahref="classcrashpad_1_1internal_1_1MinidumpWritable.html#a009f007265d64a5fb416848480a00ae9">More...</a><br/></td></tr>
<trclass="memdesc:ac2b31049c4fedaabb24857d82531d6d6 inherit pro_static_attribs_classcrashpad_1_1internal_1_1MinidumpWritable"><tdclass="mdescLeft"> </td><tdclass="mdescRight">A size value used to signal failure by methods that return <code>size_t</code>. <br/></td></tr>
<divclass="textblock"><p>The writer for a <aclass="el"href="structcrashpad_1_1MinidumpContextMIPS64.html"title="A 32bit MIPS CPU context (register state) carried in a minidump file. ">MinidumpContextMIPS64</a> structure in a minidump file. </p>
</div><h2class="groupheader">Member Function Documentation</h2>
<p>Returns a pointer to the context structure that this object will write. </p>
<dlclass="section attention"><dt>Attention</dt><dd>This returns a non-<code>const</code> pointer to this object’s private data so that a caller can populate the context structure directly. This is done because providing setter interfaces to each field in the context structure would be unwieldy and cumbersome. Care must be taken to populate the context structure correctly. The context structure must only be modified while this object is in the <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7a18337604dcbdbdb23ed51810f0587665"title="The object’s properties can be modified. ">kStateMutable</a> state. </dd></dl>
<p>Returns the size of the context structure that this object will write. </p>
<dlclass="section note"><dt>Note</dt><dd>This method will only be called in <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7af98547144e0e8d4f878f725ef5c0d611"title="The object is “frozen”. ">kStateFrozen</a> or a subsequent state. </dd></dl>
<p>Initializes the <aclass="el"href="structcrashpad_1_1MinidumpContextMIPS.html"title="A 32bit MIPS CPU context (register state) carried in a minidump file. ">MinidumpContextMIPS</a> based on <em>context_snapshot</em>. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">context_snapshot</td><td>The context snapshot to use as source data.</td></tr>
</table>
</dd>
</dl>
<dlclass="section note"><dt>Note</dt><dd>Valid in <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7a18337604dcbdbdb23ed51810f0587665"title="The object’s properties can be modified. ">kStateMutable</a>. No mutation of <aclass="el"href="classcrashpad_1_1MinidumpContextMIPS64Writer.html#af659cc8b151e66d1a957eee5692716d7"title="Returns a pointer to the context structure that this object will write. ">context()</a> may be done before calling this method, and it is not normally necessary to alter <aclass="el"href="classcrashpad_1_1MinidumpContextMIPS64Writer.html#af659cc8b151e66d1a957eee5692716d7"title="Returns a pointer to the context structure that this object will write. ">context()</a> after calling this method. </dd></dl>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">file_writer</td><td>The file writer to receive the object’s content.</td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> on success. <code>false</code> on error, indicating that the content could not be written to the minidump file.</dd></dl>
<dlclass="section note"><dt>Note</dt><dd>Valid in <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7a87483823ca30a8257b2a5fbd21805bcd"title="The object is writable. ">kStateWritable</a>. The object will transition to <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7af0d794ed29c320fcf35c71f40cc6a510"title="The object has been written to a minidump file. ">kStateWritten</a> after this method returns. </dd></dl>