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

#include <Stream.h>

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.
 

Private Attributes

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

Detailed Description

Definition at line 54 of file Stream.h.

Constructor & Destructor Documentation

◆ ByteDelta()

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

Definition at line 60 of file Stream.h.

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 63 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 57 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: