LLVM API Documentation

llvm::raw_svector_ostream Class Reference

#include <raw_ostream.h>

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

List of all members.

Public Member Functions

 raw_svector_ostream (SmallVectorImpl< char > &O)
 ~raw_svector_ostream ()
virtual void flush_impl ()


Detailed Description

raw_svector_ostream - A raw_ostream that writes to an SmallVector or SmallString. This is a simple adaptor class.

Definition at line 259 of file raw_ostream.h.


Constructor & Destructor Documentation

llvm::raw_svector_ostream::raw_svector_ostream ( SmallVectorImpl< char > &  O  )  [inline]

Definition at line 262 of file raw_ostream.h.

raw_svector_ostream::~raw_svector_ostream (  ) 

Definition at line 327 of file raw_ostream.cpp.

References llvm::raw_ostream::flush().


Member Function Documentation

void raw_svector_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 334 of file raw_ostream.cpp.

References llvm::SmallVectorImpl< T >::append(), llvm::raw_ostream::HandleFlush(), llvm::raw_ostream::OutBufCur, and llvm::raw_ostream::OutBufStart.


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