#include <DRCEFileStream.hpp>
Public Types |
typedef std::ios_base::openmode | OpenMode |
Static Public Member Functions |
static std::string | getDataFileName (const std::string &dir, unsigned int taskId) |
static std::string | getStatusFileName (const std::string &dir, unsigned int taskId) |
static std::string | getRequestFileName (const std::string &dir, unsigned int taskId) |
static std::string | getDumpFileName (const std::string &dir, const std::string &nodeName) |
static bool | isStatusFileName (const std::string &fileName) |
Static Public Attributes |
static const OpenMode | write = (std::fstream::trunc|std::fstream::binary|std::fstream::out) |
static const OpenMode | read = (std::fstream::binary|std::fstream::in) |
Detailed Description
Definition at line 25 of file DRCEFileStream.hpp.
Member Typedef Documentation
Constructor & Destructor Documentation
HCE::drce::FileStream::FileStream |
( |
void |
| ) |
|
HCE::drce::FileStream::FileStream |
( |
const std::string & |
fileName, |
|
|
OpenMode |
openMode = write |
|
) |
| |
HCE::drce::FileStream::~FileStream |
( |
void |
| ) |
|
Member Function Documentation
void HCE::drce::FileStream::close |
( |
void |
| ) |
|
std::string HCE::drce::FileStream::getDataFileName |
( |
const std::string & |
dir, |
|
|
unsigned int |
taskId |
|
) |
| |
|
static |
std::string HCE::drce::FileStream::getDumpFileName |
( |
const std::string & |
dir, |
|
|
const std::string & |
nodeName |
|
) |
| |
|
static |
std::string HCE::drce::FileStream::getRequestFileName |
( |
const std::string & |
dir, |
|
|
unsigned int |
taskId |
|
) |
| |
|
static |
std::string HCE::drce::FileStream::getStatusFileName |
( |
const std::string & |
dir, |
|
|
unsigned int |
taskId |
|
) |
| |
|
static |
bool HCE::drce::FileStream::isOpen |
( |
void |
| ) |
const |
bool HCE::drce::FileStream::isStatusFileName |
( |
const std::string & |
fileName | ) |
|
|
static |
void HCE::drce::FileStream::open |
( |
const std::string & |
fileName, |
|
|
OpenMode |
openMode = write |
|
) |
| |
FileStream & HCE::drce::FileStream::operator<< |
( |
const std::string & |
data | ) |
|
FileStream & HCE::drce::FileStream::operator>> |
( |
std::string & |
data | ) |
|
Member Data Documentation
const OpenMode HCE::drce::FileStream::read = (std::fstream::binary|std::fstream::in) |
|
static |
const OpenMode HCE::drce::FileStream::write = (std::fstream::trunc|std::fstream::binary|std::fstream::out) |
|
static |
The documentation for this class was generated from the following files: