#include <NFstream.h>
Public Member Functions | |
NFstream () | |
NFstream (const char *filename, ios_base::openmode mode=ios_base::out) | |
NFstream (bool useFile) | |
NFstream (string filename) | |
~NFstream () | |
void | setUseFile (bool useFile) |
string | getStrName () |
void | open (const char *filename, ios_base::openmode mode=ios_base::out) |
void | close () |
ostream & | write (const char *s, streamsize n) |
ostream & | flush () |
bool | is_open () |
string | str () const |
ios_base::fmtflags | setf (ios_base::fmtflags fmtfl) |
ios_base::fmtflags | setf (ios_base::fmtflags fmtfl, ios_base::fmtflags mask) |
streamsize | precision () const |
streamsize | precision (streamsize prec) |
NFstream & | operator<< (NFstream &(*func)(NFstream &)) |
Static Public Member Functions | |
static void | test () |
Friends | |
NFstream & | endl (NFstream &nfstream) |
template<class T> | |
NFstream & | operator<< (NFstream &nfstream, const T &value) |
NFstream::NFstream | ( | ) |
NFstream::NFstream | ( | const char * | filename, | |
ios_base::openmode | mode = ios_base::out | |||
) |
NFstream::NFstream | ( | bool | useFile | ) |
NFstream::NFstream | ( | string | filename | ) |
NFstream::~NFstream | ( | ) |
void NFstream::setUseFile | ( | bool | useFile | ) |
string NFstream::getStrName | ( | ) |
void NFstream::open | ( | const char * | filename, | |
ios_base::openmode | mode = ios_base::out | |||
) |
void NFstream::close | ( | ) |
ostream & NFstream::write | ( | const char * | s, | |
streamsize | n | |||
) |
ostream & NFstream::flush | ( | ) |
bool NFstream::is_open | ( | ) |
string NFstream::str | ( | ) | const |
ios_base::fmtflags NFstream::setf | ( | ios_base::fmtflags | fmtfl | ) |
ios_base::fmtflags NFstream::setf | ( | ios_base::fmtflags | fmtfl, | |
ios_base::fmtflags | mask | |||
) |
streamsize NFstream::precision | ( | ) | const |
streamsize NFstream::precision | ( | streamsize | prec | ) |
void NFstream::test | ( | ) | [static] |