LLVM  4.0.0
Public Member Functions | Public Attributes | List of all members
llvm::lto::NativeObjectStream Class Reference

This class wraps an output stream for a native object. More...

#include <LTO.h>

Collaboration diagram for llvm::lto::NativeObjectStream:
[legend]

Public Member Functions

 NativeObjectStream (std::unique_ptr< raw_pwrite_stream > OS)
 
virtual ~NativeObjectStream ()=default
 

Public Attributes

std::unique_ptr
< raw_pwrite_stream
OS
 

Detailed Description

This class wraps an output stream for a native object.

Most clients should just be able to return an instance of this base class from the stream callback, but if a client needs to perform some action after the stream is written to, that can be done by deriving from this class and overriding the destructor.

Definition at line 241 of file LTO.h.

Constructor & Destructor Documentation

llvm::lto::NativeObjectStream::NativeObjectStream ( std::unique_ptr< raw_pwrite_stream OS)
inline

Definition at line 243 of file LTO.h.

virtual llvm::lto::NativeObjectStream::~NativeObjectStream ( )
virtualdefault

Member Data Documentation

std::unique_ptr<raw_pwrite_stream> llvm::lto::NativeObjectStream::OS

Definition at line 244 of file LTO.h.


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