Crashpad
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Loading...
Searching...
No Matches
crashpad::MinidumpUserStreamWriter::SnapshotContentsWriter Class Referencefinal
Inheritance diagram for crashpad::MinidumpUserStreamWriter::SnapshotContentsWriter:
[legend]
Collaboration diagram for crashpad::MinidumpUserStreamWriter::SnapshotContentsWriter:
[legend]

Public Member Functions

 SnapshotContentsWriter (const MemorySnapshot *snapshot)
 
 SnapshotContentsWriter (const SnapshotContentsWriter &)=delete
 
SnapshotContentsWriteroperator= (const SnapshotContentsWriter &)=delete
 
bool WriteContents (FileWriterInterface *writer) override
 
size_t GetSize () const override
 
bool MemorySnapshotDelegateRead (void *data, size_t size) override
 Called by MemorySnapshot::Read() to provide data requested by a call to that method.
 

Member Function Documentation

◆ GetSize()

size_t crashpad::MinidumpUserStreamWriter::SnapshotContentsWriter::GetSize ( ) const
inlineoverridevirtual

◆ MemorySnapshotDelegateRead()

bool crashpad::MinidumpUserStreamWriter::SnapshotContentsWriter::MemorySnapshotDelegateRead ( void * data,
size_t size )
inlineoverridevirtual

Called by MemorySnapshot::Read() to provide data requested by a call to that method.

Parameters
[in]dataA pointer to the data that was read. The callee does not take ownership of this data. This data is only valid for the duration of the call to this method. This parameter may be nullptr if size is 0.
[in]sizeThe size of the data that was read.
Returns
true on success, false on failure. MemoryDelegate::Read() will use this as its own return value.

Implements crashpad::MemorySnapshot::Delegate.

◆ WriteContents()

bool crashpad::MinidumpUserStreamWriter::SnapshotContentsWriter::WriteContents ( FileWriterInterface * writer)
inlineoverridevirtual

The documentation for this class was generated from the following file: