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

#include "lldb/Utility/Stream.h"

Inheritance diagram for lldb_private::Stream::RawOstreamForward:
Inheritance graph
Collaboration diagram for lldb_private::Stream::RawOstreamForward:
Collaboration graph

Public Member Functions

 RawOstreamForward (Stream &target, bool colors=false)

Private Member Functions

void write_impl (const char *Ptr, size_t Size) override
uint64_t current_pos () const override

Private Attributes


Detailed Description

This is a wrapper class that exposes a raw_ostream interface that just forwards to an LLDB stream, allowing to reuse LLVM algorithms that take a raw_ostream within the LLDB code base.

Definition at line 390 of file Stream.h.

Constructor & Destructor Documentation

◆ RawOstreamForward()

lldb_private::Stream::RawOstreamForward::RawOstreamForward ( Stream target,
bool  colors = false 

Member Function Documentation

◆ current_pos()

uint64_t lldb_private::Stream::RawOstreamForward::current_pos ( ) const

◆ write_impl()

void lldb_private::Stream::RawOstreamForward::write_impl ( const char *  Ptr,
size_t  Size 

Member Data Documentation

◆ m_target

Stream& lldb_private::Stream::RawOstreamForward::m_target

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