#include <isslstream.hpp>
Inheritance diagram for MynahSA::ISSLStream:
Public Member Functions | |
ISSLStream (SSL *s) | |
constructor - takes an input stream | |
ISSLStream (const ISSLStream &i) | |
~ISSLStream () | |
destructor - note: SSL is not freed | |
virtual IStreamBase & | operator>> (char &) |
instream a char | |
virtual IStreamBase & | operator>> (unsigned char &) |
instream an unsigned char | |
virtual IStreamBase & | operator>> (short &) |
instream a short | |
virtual IStreamBase & | operator>> (unsigned short &) |
instream an unsigned short | |
virtual IStreamBase & | operator>> (bool &) |
instream a bool | |
virtual IStreamBase & | operator>> (int &) |
instream an int | |
virtual IStreamBase & | operator>> (unsigned int &) |
instream an unsigned int | |
virtual IStreamBase & | operator>> (long long &) |
instream a long long | |
virtual IStreamBase & | operator>> (unsigned long long &) |
instream an unsigned long long | |
virtual IStreamBase & | operator>> (double &) |
instream a double | |
virtual IStreamBase & | operator>> (float &) |
instream a float | |
virtual IStreamBase & | operator>> (std::string &s) |
input streaming of std strings | |
bool | is_open () const |
virtual void | get (char &) |
get function implements character level input - it is unformatted - and will read 1 chr at a time |
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 ISSLStream do not use the SSL* after it is closed!
Note: This class makes no attempt to abstract buffering of data. Should it be necessary, this will be implemented later on.
Definition at line 46 of file isslstream.hpp.
|
Copy constructor - use with caution! This constructor takes direct copies of the underlying ssl pointer and open variable. It is inteneded to be used only when the parent object is going to be destroyed immediately. This constructor is added for Sun's SUNPro compiler compatibility. |