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
- private uint64_t current_pos() const
- public raw_os_ostream(std::ostream & O)
- private void write_impl(const char * Ptr, size_t Size)
- public ~raw_os_ostream()
Inherited from raw_ostream:
- public GetBufferSize
- public GetNumBytesInBuffer
- protected SetBuffer
- public SetBufferSize
- public SetBuffered
- public SetUnbuffered
- public changeColor
- public colors_enabled
- public enable_colors
- public flush
- protected getBufferStart
- public get_kind
- public has_colors
- public indent
- public is_displayed
- protected preferred_buffer_size
- public reserveExtraSpace
- public resetColor
- public reverseColor
- public tell
- public tie
- public write
- public write
- public write_escaped
- public write_hex
- public write_uuid
- public write_zeros
Methods
¶uint64_t current_pos() const
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)
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)
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()
~raw_os_ostream()
Declared at: llvm/include/llvm/Support/raw_os_ostream.h:36