holds data to use and close an iostream. More...
Public Member Functions | |
| StreamData () | |
| ~StreamData () | |
| StreamData (const StreamData &sd) | |
| StreamData & | operator= (const StreamData &) |
| void | transferTo (StreamData &) |
| retains fileName() | |
| void | close () |
| bool | usable () const |
| void | setFileName (const char *) |
| const char * | fileName () const |
| Beware: may be NULL. | |
| FILE * | filePtr () const |
Public Attributes | |
| std::istream * | istrm |
| std::ostream * | ostrm |
Protected Member Functions | |
| void | copyFrom (const StreamData &) |
Protected Attributes | |
| FILE * | fp_ |
| bool | ispipe_ |
| char * | fname_ |
Private Member Functions | |
| void | initStrms () |
Friends | |
| class | StreamProvider |
holds data to use and close an iostream.
Usualyy created by StreamProvider. Need to find out what to do with the pipe in windows.
| StreamData::StreamData | ( | ) | [inline] |
| StreamData::~StreamData | ( | ) | [inline] |
| StreamData::StreamData | ( | const StreamData & | sd | ) | [inline] |
| void StreamData::close | ( | ) |
| void StreamData::copyFrom | ( | const StreamData & | ) | [protected] |
| const char* StreamData::fileName | ( | ) | const [inline] |
Beware: may be NULL.
| FILE* StreamData::filePtr | ( | ) | const [inline] |
| void StreamData::initStrms | ( | ) | [inline, private] |
| StreamData& StreamData::operator= | ( | const StreamData & | ) |
| void StreamData::setFileName | ( | const char * | ) |
| void StreamData::transferTo | ( | StreamData & | ) |
retains fileName()
| bool StreamData::usable | ( | ) | const |
friend class StreamProvider [friend] |
char* StreamData::fname_ [protected] |
FILE* StreamData::fp_ [protected] |
bool StreamData::ispipe_ [protected] |
| std::istream* StreamData::istrm |
| std::ostream* StreamData::ostrm |
1.7.1