LLDB  mainline
Public Member Functions | Private Attributes | List of all members
lldb_private::Stream::ByteDelta Class Reference

#include <Stream.h>

Collaboration diagram for lldb_private::Stream::ByteDelta:
Collaboration graph
[legend]

Public Member Functions

 ByteDelta (Stream &s)
 
size_t operator* () const
 Returns the number of bytes written to the given Stream since this ByteDelta object was created. More...
 

Private Attributes

Streamm_stream
 
size_t m_start
 Bytes we have written so far when ByteDelta was created. More...
 

Detailed Description

Definition at line 43 of file Stream.h.

Constructor & Destructor Documentation

◆ ByteDelta()

lldb_private::Stream::ByteDelta::ByteDelta ( Stream s)
inline

Member Function Documentation

◆ operator*()

size_t lldb_private::Stream::ByteDelta::operator* ( ) const
inline

Returns the number of bytes written to the given Stream since this ByteDelta object was created.

Examples
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Definition at line 52 of file Stream.h.

References lldb_private::Stream::GetWrittenBytes(), m_start, and m_stream.

Member Data Documentation

◆ m_start

size_t lldb_private::Stream::ByteDelta::m_start
private

Bytes we have written so far when ByteDelta was created.

Examples
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Definition at line 46 of file Stream.h.

Referenced by operator*().

◆ m_stream

Stream* lldb_private::Stream::ByteDelta::m_stream
private

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