RTEMS Linker  0.0.1
RTEMS Tools Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
rld::process::tempfile Class Reference

#include <rld-process.h>

Public Member Functions

 tempfile ()
 
 ~tempfile ()
 
void open ()
 
void close ()
 
const std::string & name () const
 
size_t size ()
 
void get (std::string &all)
 
void getline (std::string &line)
 
void output (const std::string &prefix, std::ostream &out, bool line_numbers=false)
 
void output (std::ostream &out)
 

Detailed Description

Handle the output files from the process.

Constructor & Destructor Documentation

rld::process::tempfile::tempfile ( )

Get a temporary file name.

rld::process::tempfile::~tempfile ( )

Clean up the temporary file.

Member Function Documentation

void rld::process::tempfile::close ( )

Close the temporary file.

void rld::process::tempfile::get ( std::string &  all)

Get all the file.

void rld::process::tempfile::getline ( std::string &  line)

Get time.

const std::string & rld::process::tempfile::name ( ) const

The name of the temp file.

void rld::process::tempfile::open ( )

Open the temporary file.

void rld::process::tempfile::output ( const std::string &  prefix,
std::ostream &  out,
bool  line_numbers = false 
)

Output the file.

void rld::process::tempfile::output ( std::ostream &  out)

Output the file.

size_t rld::process::tempfile::size ( )

Size of the file.


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