LLVM API Documentation
#include <raw_os_ostream.h>
Public Member Functions | |
raw_os_ostream (std::ostream &O) | |
~raw_os_ostream () | |
![]() | |
raw_ostream (bool unbuffered=false) | |
virtual | ~raw_ostream () |
uint64_t | tell () const |
tell - Return the current offset with the file. More... | |
void | SetBuffered () |
void | SetBufferSize (size_t Size) |
size_t | GetBufferSize () const |
void | SetUnbuffered () |
size_t | GetNumBytesInBuffer () const |
void | flush () |
raw_ostream & | operator<< (char C) |
raw_ostream & | operator<< (unsigned char C) |
raw_ostream & | operator<< (signed char C) |
raw_ostream & | operator<< (StringRef Str) |
raw_ostream & | operator<< (const char *Str) |
raw_ostream & | operator<< (const std::string &Str) |
raw_ostream & | operator<< (unsigned long N) |
raw_ostream & | operator<< (long N) |
raw_ostream & | operator<< (unsigned long long N) |
raw_ostream & | operator<< (long long N) |
raw_ostream & | operator<< (const void *P) |
raw_ostream & | operator<< (unsigned int N) |
raw_ostream & | operator<< (int N) |
raw_ostream & | operator<< (double N) |
raw_ostream & | write_hex (unsigned long long N) |
write_hex - Output N in hexadecimal, without any prefix or padding. More... | |
raw_ostream & | write_escaped (StringRef Str, bool UseHexEscapes=false) |
raw_ostream & | write (unsigned char C) |
raw_ostream & | write (const char *Ptr, size_t Size) |
raw_ostream & | operator<< (const format_object_base &Fmt) |
raw_ostream & | indent (unsigned NumSpaces) |
indent - Insert 'NumSpaces' spaces. More... | |
virtual raw_ostream & | changeColor (enum Colors Color, bool Bold=false, bool BG=false) |
virtual raw_ostream & | resetColor () |
virtual raw_ostream & | reverseColor () |
Reverses the forground and background colors. More... | |
virtual bool | is_displayed () const |
virtual bool | has_colors () const |
This function determines if this stream is displayed and supports colors. More... | |
Additional Inherited Members | |
![]() | |
enum | Colors { BLACK =0, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE, SAVEDCOLOR } |
![]() | |
void | SetBuffer (char *BufferStart, size_t Size) |
virtual size_t | preferred_buffer_size () const |
const char * | getBufferStart () const |
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.
Definition at line 25 of file raw_os_ostream.h.
|
inline |
Definition at line 36 of file raw_os_ostream.h.
raw_os_ostream::~raw_os_ostream | ( | ) |
Definition at line 22 of file raw_os_ostream.cpp.
References llvm::raw_ostream::flush().