Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MynahSA::OSSLStream Class Reference

#include <osslstream.hpp>

Inheritance diagram for MynahSA::OSSLStream:

Inheritance graph
[legend]
Collaboration diagram for MynahSA::OSSLStream:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 OSSLStream (SSL *s)
 constructor - takes an input stream
 OSSLStream (const OSSLStream &s)
 copy constructor - needed to work around unspecified copy constructor behavior in SUNPro c++
 ~OSSLStream ()
 destructor - note: SSL is not freed
virtual OStreamBaseoperator<< (const char)
 ostream char
virtual OStreamBaseoperator<< (const unsigned char)
 ostream unsigned char
virtual OStreamBaseoperator<< (const short)
 ostream short
virtual OStreamBaseoperator<< (const unsigned short)
 ostream unsigned char
virtual OStreamBaseoperator<< (const bool)
 ostream bool
virtual OStreamBaseoperator<< (const int)
 ostream int
virtual OStreamBaseoperator<< (const unsigned int)
 ostream unsigned char
virtual OStreamBaseoperator<< (const double)
 ostream double
virtual OStreamBaseoperator<< (const float)
 ostream float
virtual OStreamBaseoperator<< (const std::string &s)
 output streaming of std strings
void flush ()
 force the internal buffers to be flushed

Detailed Description

class OSSLStream is an output stream designed to place the builtin C++ types onto an SSL stream The class operates by calling SSL_write(...) once for each type.

This class does not take ownership of the SSL object passed into it. The user is responsible for correct cleanup of the SSL, and furthermore, ensuring that isntances of OSSLStream do not use the SSL* after it is closed!

Definition at line 43 of file osslstream.hpp.


The documentation for this class was generated from the following file: