class raw_os_ostream

Declaration

class raw_os_ostream : public raw_ostream { /* full declaration omitted */ };

Description

raw_os_ostream - A raw_ostream that writes to an std::ostream. This is a simple adaptor class. It does not check for output errors; clients should use the underlying stream to detect errors.

Declared at: llvm/include/llvm/Support/raw_os_ostream.h:24

Inherits from: raw_ostream

Member Variables

private std::ostream& OS

Inherited from raw_ostream:

public static BLACK = Colors::BLACK
public static RED = Colors::RED
public static GREEN = Colors::GREEN
public static YELLOW = Colors::YELLOW
public static BLUE = Colors::BLUE
public static MAGENTA = Colors::MAGENTA
public static CYAN = Colors::CYAN
public static WHITE = Colors::WHITE
public static SAVEDCOLOR = Colors::SAVEDCOLOR
public static RESET = Colors::RESET

Method Overview

Inherited from raw_ostream:

Methods

uint64_t current_pos() const

Description

current_pos - Return the current position within the stream, not counting the bytes currently in the buffer.

Declared at: llvm/include/llvm/Support/raw_os_ostream.h:32

raw_os_ostream(std::ostream& O)

Declared at: llvm/include/llvm/Support/raw_os_ostream.h:35

Parameters

std::ostream& O

void write_impl(const char* Ptr, size_t Size)

Description

write_impl - See raw_ostream::write_impl.

Declared at: llvm/include/llvm/Support/raw_os_ostream.h:28

Parameters

const char* Ptr
size_t Size

~raw_os_ostream()

Declared at: llvm/include/llvm/Support/raw_os_ostream.h:36