RTEMS Linker
0.0.1
RTEMS Tools Project
|
#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) |
Handle the output files from the process.
rld::process::tempfile::tempfile | ( | ) |
Get a temporary file name.
rld::process::tempfile::~tempfile | ( | ) |
Clean up the temporary file.
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.