LLVM API Documentation

Public Member Functions | Protected Attributes
llvm::ObjectBufferStream Class Reference

#include <ObjectBuffer.h>

Inheritance diagram for llvm::ObjectBufferStream:
Inheritance graph
[legend]
Collaboration diagram for llvm::ObjectBufferStream:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ObjectBufferStream ()
virtual ~ObjectBufferStream ()
raw_ostreamgetOStream ()
void flush ()

Protected Attributes

SmallVector< char, 4096 > SV
raw_svector_ostream OS

Detailed Description

This class encapsulates the SmallVector and raw_svector_ostream needed to generate an object using MC code emission while providing a common ObjectBuffer interface for access to the memory once the object has been generated.

Definition at line 53 of file ObjectBuffer.h.


Constructor & Destructor Documentation

Definition at line 56 of file ObjectBuffer.h.

virtual llvm::ObjectBufferStream::~ObjectBufferStream ( ) [inline, virtual]

Definition at line 57 of file ObjectBuffer.h.


Member Function Documentation

Definition at line 59 of file ObjectBuffer.h.

References OS.


Member Data Documentation

Definition at line 71 of file ObjectBuffer.h.

Referenced by flush(), and getOStream().

SmallVector<char, 4096> llvm::ObjectBufferStream::SV [protected]

Definition at line 70 of file ObjectBuffer.h.

Referenced by flush().


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