#include <FTP_IOStream.h>
Public Member Functions | |
IOS (std::iostream *stream) | |
~IOS () | |
StreamBuffer * | rdbuf () |
std::iostream * | set_stream (std::iostream *stream) |
Protected Attributes | |
StreamBuffer | streambuf_ |
Definition at line 70 of file FTP_IOStream.h.
ACE::FTP::IOS::IOS | ( | std::iostream * | stream | ) |
Definition at line 62 of file FTP_IOStream.cpp.
: streambuf_ (stream) { ace_ios_init (&this->streambuf_); }
ACE::FTP::IOS::~IOS | ( | ) |
Definition at line 68 of file FTP_IOStream.cpp.
{ try { this->streambuf_.sync(); } catch (...) { } }
StreamBuffer * ACE::FTP::IOS::rdbuf | ( | ) | [inline] |
Definition at line 13 of file FTP_IOStream.inl.
{ return &this->streambuf_; }
std::iostream * ACE::FTP::IOS::set_stream | ( | std::iostream * | stream | ) |
Definition at line 79 of file FTP_IOStream.cpp.
{ std::iostream* old_stream = this->rdbuf ()->set_stream (stream); this->clear (); return old_stream; }
StreamBuffer ACE::FTP::IOS::streambuf_ [protected] |
Definition at line 82 of file FTP_IOStream.h.