|
ant
A2 ant: class-based analysis framework
|
A tmpfile class which cleans up after itself. More...
#include <tmpfile_t.h>
Collaboration diagram for ant::tmpfile_t:Public Member Functions | |
| tmpfile_t () | |
| tmpfile_t (const tmpfolder_t &folder, const std::string &extension) | |
| void | write_testdata () |
| ~tmpfile_t () | |
| tmpfile_t (tmpfile_t &&)=default | |
| tmpfile_t (const tmpfile_t &)=delete | |
| tmpfile_t & | operator= (tmpfile_t &&)=default |
| tmpfile_t & | operator= (const tmpfile_t &)=delete |
Public Attributes | |
| std::string | filename |
| std::vector< std::uint8_t > | testdata |
Static Public Attributes | |
| static std::size_t | tmpfiles = 0 |
A tmpfile class which cleans up after itself.
Mostly used by tests, but maybe helpful elsewhere
| tmpfile_t::tmpfile_t | ( | ) |
| tmpfile_t::tmpfile_t | ( | const tmpfolder_t & | folder, |
| const std::string & | extension | ||
| ) |
| tmpfile_t::~tmpfile_t | ( | ) |
|
default |
|
delete |
| void tmpfile_t::write_testdata | ( | ) |
| std::string ant::tmpfile_t::filename |
| std::vector<std::uint8_t> ant::tmpfile_t::testdata |
|
static |