LLVM API Documentation

llvm::raw_os_ostream Class Reference

#include <raw_ostream.h>

Inheritance diagram for llvm::raw_os_ostream:
[legend]
Collaboration diagram for llvm::raw_os_ostream:
[legend]

List of all members.

Public Member Functions

 raw_os_ostream (std::ostream &O)
 ~raw_os_ostream ()
virtual void flush_impl ()


Detailed Description

raw_os_ostream - A raw_ostream that writes to an std::ostream. This is a simple adaptor class.

Definition at line 224 of file raw_ostream.h.


Constructor & Destructor Documentation

llvm::raw_os_ostream::raw_os_ostream ( std::ostream &  O  )  [inline]

Definition at line 227 of file raw_ostream.h.

raw_os_ostream::~raw_os_ostream (  ) 

Definition at line 293 of file raw_ostream.cpp.

References llvm::raw_ostream::flush().


Member Function Documentation

void raw_os_ostream::flush_impl (  )  [virtual]

flush_impl - The is the piece of the class that is implemented by subclasses. This outputs the currently buffered data and resets the buffer to empty.

flush_impl - The is the piece of the class that is implemented by subclasses. This outputs the currently buffered data and resets the buffer to empty.

Implements llvm::raw_ostream.

Definition at line 300 of file raw_ostream.cpp.

References llvm::raw_ostream::HandleFlush(), llvm::raw_ostream::OutBufCur, and llvm::raw_ostream::OutBufStart.


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