<areahref="classcrashpad_1_1internal_1_1MinidumpRVAListWriter.html"title="The writer for a MinidumpRVAList object in a minidump file, containing a list of RVA pointers..."alt="crashpad::internal::MinidumpRVAListWriter"shape="rect"coords="463,56,916,80"/>
<areahref="classcrashpad_1_1internal_1_1MinidumpStreamWriter.html"title="The base class for all second-level objects (“streams”) in a minidump file. "alt="crashpad::internal::MinidumpStreamWriter"shape="rect"coords="463,112,916,136"/>
<areahref="classcrashpad_1_1internal_1_1MinidumpStringWriter.html"title="Writes a variable-length string to a minidump file in accordance with the string type’s characterist..."alt="crashpad::internal::MinidumpStringWriter< Traits >"shape="rect"coords="463,168,916,192"/>
<areahref="classcrashpad_1_1MinidumpContextWriter.html"title="The base class for writers of CPU context structures in minidump files. "alt="crashpad::MinidumpContextWriter"shape="rect"coords="463,224,916,248"/>
<areahref="classcrashpad_1_1MinidumpFileWriter.html"title="The root-level object in a minidump file. "alt="crashpad::MinidumpFileWriter"shape="rect"coords="463,280,916,304"/>
<areahref="classcrashpad_1_1MinidumpMemoryWriter.html"title="The base class for writers of memory ranges pointed to by MINIDUMP_MEMORY_DESCRIPTOR objects in a min..."alt="crashpad::MinidumpMemoryWriter"shape="rect"coords="463,336,916,360"/>
<areahref="classcrashpad_1_1MinidumpModuleCodeViewRecordWriter.html"title="The base class for writers of CodeView records referenced by MINIDUMP_MODULE::CvRecord in minidump fi..."alt="crashpad::MinidumpModuleCodeViewRecordWriter"shape="rect"coords="463,392,916,416"/>
<areahref="classcrashpad_1_1MinidumpModuleCrashpadInfoListWriter.html"title="The writer for a MinidumpModuleCrashpadInfoList object in a minidump file, containing a list of Minid..."alt="crashpad::MinidumpModuleCrashpadInfoListWriter"shape="rect"coords="463,448,916,472"/>
<areahref="classcrashpad_1_1MinidumpModuleCrashpadInfoWriter.html"title="The writer for a MinidumpModuleCrashpadInfo object in a minidump file. "alt="crashpad::MinidumpModuleCrashpadInfoWriter"shape="rect"coords="463,504,916,528"/>
<areahref="classcrashpad_1_1MinidumpModuleMiscDebugRecordWriter.html"title="The writer for an IMAGE_DEBUG_MISC object in a minidump file. "alt="crashpad::MinidumpModuleMiscDebugRecordWriter"shape="rect"coords="463,560,916,584"/>
<areahref="classcrashpad_1_1MinidumpModuleWriter.html"title="The writer for a MINIDUMP_MODULE object in a minidump file. "alt="crashpad::MinidumpModuleWriter"shape="rect"coords="463,616,916,640"/>
<areahref="classcrashpad_1_1MinidumpSimpleStringDictionaryEntryWriter.html"title="The writer for a MinidumpSimpleStringDictionaryEntry object in a minidump file. "alt="crashpad::MinidumpSimpleStringDictionaryEntryWriter"shape="rect"coords="463,672,916,696"/>
<areahref="classcrashpad_1_1MinidumpSimpleStringDictionaryWriter.html"title="The writer for a MinidumpSimpleStringDictionary object in a minidump file, containing a list of Minid..."alt="crashpad::MinidumpSimpleStringDictionaryWriter"shape="rect"coords="463,728,916,752"/>
<areahref="classcrashpad_1_1MinidumpThreadWriter.html"title="The writer for a MINIDUMP_THREAD object in a minidump file. "alt="crashpad::MinidumpThreadWriter"shape="rect"coords="463,784,916,808"/>
<areahref="classcrashpad_1_1MinidumpUnloadedModuleWriter.html"title="The writer for a MINIDUMP_UNLOADED_MODULE object in a minidump file. "alt="crashpad::MinidumpUnloadedModuleWriter"shape="rect"coords="463,840,916,864"/>
<areahref="classcrashpad_1_1test_1_1TestUInt32MinidumpWritable.html"title="An internal::MinidumpWritable that carries a uint32_t for testing. "alt="crashpad::test::TestUInt32MinidumpWritable"shape="rect"coords="463,896,916,920"/>
<trclass="memdesc:a24507e918299cb566c7f15207de83a7f"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Writes an object and all of its children to a minidump file. <ahref="#a24507e918299cb566c7f15207de83a7f">More...</a><br/></td></tr>
<trclass="memdesc:a686683d78f099a07e2a1df8e6b567d37"><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="#a686683d78f099a07e2a1df8e6b567d37">More...</a><br/></td></tr>
<trclass="memdesc:aed263c64ecb0597696d080e395af6400"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Registers a location descriptor as one that should point to the object on which this method is called. <ahref="#aed263c64ecb0597696d080e395af6400">More...</a><br/></td></tr>
<trclass="memitem:ac14e05f291f5fa713b5ec82a208fa7c7"><tdclass="memItemLeft"align="right"valign="top">enum  </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7">State</a><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="memitem:a009f007265d64a5fb416848480a00ae9"><tdclass="memItemLeft"align="right"valign="top">enum  </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#a009f007265d64a5fb416848480a00ae9">Phase</a><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:a773db80946a99c6a3cc29c7d4dd77bd6"><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="#a773db80946a99c6a3cc29c7d4dd77bd6">More...</a><br/></td></tr>
<trclass="memdesc:a1483275a3acbdfcecffb7f3c27cd2feb"><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="#a1483275a3acbdfcecffb7f3c27cd2feb">More...</a><br/></td></tr>
<trclass="memdesc:a32460b7fe2154fbabc3c58bf10dc7861"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the object’s children. <ahref="#a32460b7fe2154fbabc3c58bf10dc7861">More...</a><br/></td></tr>
<trclass="memdesc:a712fac2ada227f53c55eb0c4d042f239"><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="#a712fac2ada227f53c55eb0c4d042f239">More...</a><br/></td></tr>
<trclass="memdesc:a2416cb821816b769d95b92e486713ebf"><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="#a2416cb821816b769d95b92e486713ebf">More...</a><br/></td></tr>
<trclass="memdesc:ab82b1e92ae0eced8b8e2efe957411773"><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="#ab82b1e92ae0eced8b8e2efe957411773">More...</a><br/></td></tr>
<trclass="memdesc:a2d3472b11ec3c12184f5d8f946fbb4a1"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Writes the object’s content. <ahref="#a2d3472b11ec3c12184f5d8f946fbb4a1">More...</a><br/></td></tr>
<trclass="memdesc:ae7c01f317a519213ac16bfeca94125d1"><tdclass="mdescLeft"> </td><tdclass="mdescRight">A size value used to signal failure by methods that return <code>size_t</code>. <ahref="#ae7c01f317a519213ac16bfeca94125d1">More...</a><br/></td></tr>
<p>Objects that are written to a minidump file “late”. </p>
<p>Some objects, such as those capturing memory region snapshots, are written to minidump files after all other objects. This “late” phase identifies such objects. This is useful to improve spatial locality in in minidump files in accordance with expected access patterns: unlike most other data, memory snapshots are large and the entire snapshots do not need to be consulted in order to process a minidump file. </p>
<p>The file offset at which it will be written is known. Pointers to file offsets of other structures are valid when all objects in a tree are in this state. </p>
<p>Returns the object’s desired byte-boundary alignment. </p>
<p>The default implementation returns <code>4</code>. Subclasses may override this as needed.</p>
<dlclass="section note"><dt>Note</dt><dd>Valid in <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7af98547144e0e8d4f878f725ef5c0d611"title="The object is “frozen”. ">kStateFrozen</a> or any subsequent state. </dd></dl>
<p>Reimplemented in <aclass="el"href="classcrashpad_1_1MinidumpContextAMD64Writer.html#a5cd8e0d919c2e260dfb715eed58c096e">crashpad::MinidumpContextAMD64Writer</a>, and <aclass="el"href="classcrashpad_1_1MinidumpMemoryWriter.html#ab77268e3451a9927716f42541e53c4d1">crashpad::MinidumpMemoryWriter</a>.</p>
<dlclass="section note"><dt>Note</dt><dd>Valid in <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7af98547144e0e8d4f878f725ef5c0d611"title="The object is “frozen”. ">kStateFrozen</a> or any subsequent state. </dd></dl>
<p>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>. </p>
<p>The default implementation marks the object as frozen and recursively calls <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#a773db80946a99c6a3cc29c7d4dd77bd6"title="Transitions the object from kStateMutable to kStateFrozen. ">Freeze()</a> on all of its children. Subclasses may override this method to perform processing that should only be done once callers have finished populating an object with data. Typically, a subclass implementation would call <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#a686683d78f099a07e2a1df8e6b567d37"title="Registers a file offset pointer as one that should point to the object on which this method is called...">RegisterRVA()</a> or <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#aed263c64ecb0597696d080e395af6400"title="Registers a location descriptor as one that should point to the object on which this method is called...">RegisterLocationDescriptor()</a> on other objects as appropriate, because at the time <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#a773db80946a99c6a3cc29c7d4dd77bd6"title="Transitions the object from kStateMutable to kStateFrozen. ">Freeze()</a> runs, the in-memory locations of RVAs and location descriptors are known and will not change for the remaining duration of an object’s lifetime.</p>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> on success. <code>false</code> on failure, with an appropriate message logged. </dd></dl>
<p>Registers a location descriptor as one that should point to the object on which this method is called. </p>
<p>Once an object’s size and the file offset at it will be written is known (when it enters <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7af98547144e0e8d4f878f725ef5c0d611"title="The object is “frozen”. ">kStateFrozen</a>), the relevant data in registered location descriptors will be updated.</p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">location_descriptor</td><td>A pointer to a location descriptor that should contain this object’s writable size and file offset, once they are known.</td></tr>
</table>
</dd>
</dl>
<dlclass="section note"><dt>Note</dt><dd>Valid in <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7af98547144e0e8d4f878f725ef5c0d611"title="The object is “frozen”. ">kStateFrozen</a> or any preceding state. </dd></dl>
<p>Registers a file offset pointer as one that should point to the object on which this method is called. </p>
<p>Once the file offset at which an object will be written is known (when it enters <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7a87483823ca30a8257b2a5fbd21805bcd"title="The object is writable. ">kStateWritable</a>), registered RVA pointers will be updated.</p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">rva</td><td>A pointer to storage for the file offset that should contain this object’s writable file offset, once it is known.</td></tr>
</table>
</dd>
</dl>
<dlclass="section note"><dt>Note</dt><dd>Valid in <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7af98547144e0e8d4f878f725ef5c0d611"title="The object is “frozen”. ">kStateFrozen</a> or any preceding state. </dd></dl>
<p>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. </p>
<dlclass="section note"><dt>Note</dt><dd>Valid in <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7af98547144e0e8d4f878f725ef5c0d611"title="The object is “frozen”. ">kStateFrozen</a> or any subsequent state. </dd></dl>
<p>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>. </p>
<p>This method is responsible for determining the final file offset of the object, which may be increased from <em>offset</em> to meet alignment requirements. It calls <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#a2416cb821816b769d95b92e486713ebf"title="Called once an object’s writable file offset is determined, as it transitions into kStateWritable...">WillWriteAtOffsetImpl()</a> for the benefit of subclasses. It populates all RVAs and location descriptors registered with it via <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#a686683d78f099a07e2a1df8e6b567d37"title="Registers a file offset pointer as one that should point to the object on which this method is called...">RegisterRVA()</a> and <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#aed263c64ecb0597696d080e395af6400"title="Registers a location descriptor as one that should point to the object on which this method is called...">RegisterLocationDescriptor()</a>. It also recurses into all known children.</p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">phase</td><td>The phase during which the object will be written. If this does not match <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#a009f007265d64a5fb416848480a00ae9"title="Identifies the phase during which an object will be written to a minidump file. ">Phase()</a>, processing is suppressed, although recursive processing will still occur on all children. This addresses the case where parents and children do not write in the same phase. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">offset</td><td>The file offset at which the object will be written. The offset may need to be adjusted for alignment. </td></tr>
<tr><tdclass="paramdir">[out]</td><tdclass="paramname">write_sequence</td><td>This object will append itself to this list, such that on return from a recursive tree of <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#a712fac2ada227f53c55eb0c4d042f239"title="Prepares the object to be written at a known file offset, transitioning it from kStateFrozen to kStat...">WillWriteAtOffset()</a> calls, elements of the vector will be organized in the sequence that the objects will be written to the minidump file.</td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd>The file size consumed by this object and all children, including any padding inserted to meet alignment requirements. On failure, <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ae7c01f317a519213ac16bfeca94125d1"title="A size value used to signal failure by methods that return size_t. ">kInvalidSize</a>, with an appropriate message logged.</dd></dl>
<dlclass="section note"><dt>Note</dt><dd>This method cannot be overridden. Subclasses that need to perform processing when an object transitions to <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7a87483823ca30a8257b2a5fbd21805bcd"title="The object is writable. ">kStateWritable</a> should implement <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#a2416cb821816b769d95b92e486713ebf"title="Called once an object’s writable file offset is determined, as it transitions into kStateWritable...">WillWriteAtOffsetImpl()</a>, which is called by this method. </dd></dl>
<p>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>. </p>
<p>Subclasses can override this method if they need to provide additional processing once their writable file offset is known. Typically, this will be done by subclasses that handle certain RVAs themselves instead of using the <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#a686683d78f099a07e2a1df8e6b567d37"title="Registers a file offset pointer as one that should point to the object on which this method is called...">RegisterRVA()</a> interface.</p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">offset</td><td>The file offset at which the object will be written. The value passed to this method will already have been adjusted to meet alignment requirements.</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 minidump file should not be written.</dd></dl>
<dlclass="section note"><dt>Note</dt><dd>Valid in <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7af98547144e0e8d4f878f725ef5c0d611"title="The object is “frozen”. ">kStateFrozen</a>. The object will transition to <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7a87483823ca30a8257b2a5fbd21805bcd"title="The object is writable. ">kStateWritable</a> after this method returns. </dd></dl>
<p>Reimplemented in <aclass="el"href="classcrashpad_1_1MinidumpFileWriter.html#ae9b7cef2c519dfdd5a7a06ecdd9766cc">crashpad::MinidumpFileWriter</a>, <aclass="el"href="classcrashpad_1_1MinidumpMemoryWriter.html#adec74e1cb2d532422d8c1384049f7217">crashpad::MinidumpMemoryWriter</a>, and <aclass="el"href="classcrashpad_1_1test_1_1TestMinidumpMemoryWriter.html#a3764ed18a98d9ea979a7f0494eb19bbf">crashpad::test::TestMinidumpMemoryWriter</a>.</p>
<p>Writes an object and all of its children to a minidump file. </p>
<p>Use this on the root object of a tree of <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html"title="The base class for all content that might be written to a minidump file. ">MinidumpWritable</a> objects, typically on a <aclass="el"href="classcrashpad_1_1MinidumpFileWriter.html"title="The root-level object in a minidump file. ">MinidumpFileWriter</a> object.</p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">file_writer</td><td>The file writer to receive the minidump file’s content.</td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> on success. <code>false</code> on failure, with an appropriate message logged.</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>, and transitions the object and the entire tree beneath it through all states to <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#ac14e05f291f5fa713b5ec82a208fa7c7af0d794ed29c320fcf35c71f40cc6a510"title="The object has been written to a minidump file. ">kStateWritten</a>.</dd>
<dd>
This method should rarely be overridden. </dd></dl>
<p>Reimplemented in <aclass="el"href="classcrashpad_1_1MinidumpFileWriter.html#ad8eeea6397f565a17455c091b0a3f6a6">crashpad::MinidumpFileWriter</a>.</p>
<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>
<p>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>. </p>
<p>Writes any padding necessary to meet alignment requirements, and then calls <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#a2d3472b11ec3c12184f5d8f946fbb4a1"title="Writes the object’s content. ">WriteObject()</a> to write the object’s content.</p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<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 with an appropriate message logged.</dd></dl>
<dlclass="section note"><dt>Note</dt><dd>This method cannot be overridden. Subclasses must override <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#a2d3472b11ec3c12184f5d8f946fbb4a1"title="Writes the object’s content. ">WriteObject()</a>. </dd></dl>
<p>The default implementation returns <aclass="el"href="classcrashpad_1_1internal_1_1MinidumpWritable.html#a009f007265d64a5fb416848480a00ae9ac246ac0846defa468dde05d12974ac3e"title="Objects that are written to a minidump file “early”. ">kPhaseEarly</a>. Subclasses may override this method to alter their write phase.</p>
<dlclass="section note"><dt>Note</dt><dd>Valid in any state. </dd></dl>
<p>Reimplemented in <aclass="el"href="classcrashpad_1_1MinidumpMemoryWriter.html#accab8e2d858dc5337c37acc2b13faf38">crashpad::MinidumpMemoryWriter</a>.</p>
</div>
</div>
<h2class="groupheader">Member Data Documentation</h2>