Public Member Functions | Protected Attributes

ACE::FTP::IOS Class Reference

#include <FTP_IOStream.h>

Inheritance diagram for ACE::FTP::IOS:
Inheritance graph
[legend]
Collaboration diagram for ACE::FTP::IOS:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 IOS (std::iostream *stream)
 ~IOS ()
StreamBufferrdbuf ()
std::iostream * set_stream (std::iostream *stream)

Protected Attributes

StreamBuffer streambuf_

Detailed Description

Definition at line 70 of file FTP_IOStream.h.


Constructor & Destructor Documentation

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 (...)
          {
          }
      }


Member Function Documentation

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;
      }


Member Data Documentation

Definition at line 82 of file FTP_IOStream.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines