mod_servlet
C++Servlets
|
Implementation of input stream object. More...
#include <io.h>
Public Types | |
typedef CharT | char_type |
Cacracter type to be used by this stream. | |
typedef Traits | traits_type |
Type of character traits class to be used by this stream. | |
typedef traits_type::int_type | int_type |
traits_type::int_type | |
typedef traits_type::pos_type | pos_type |
traits_type::pos_type | |
typedef traits_type::off_type | off_type |
traits_type::off_type | |
Public Member Functions | |
template<typename... Args> | |
basic_instream (Args &&...args) | |
Main constructor. More... | |
basic_instream (const basic_instream &)=delete | |
Sopying is prohibited. | |
basic_instream (basic_instream &&other) | |
Move constructor. More... | |
basic_instream & | operator= (basic_instream &&other) |
Move assignment operator. More... | |
~basic_instream () noexceptoverride | |
Destructor. | |
Source & | operator* () |
Provides access to the reference to the Source instance associated with this stream. More... | |
Source * | operator-> () |
Provides access to the pointer to the Source instance associated with this stream. More... | |
const Source & | operator* () const |
Provides access to the constant reference to the Source instance associated with this stream. More... | |
const Source * | operator-> () const |
Provides access to the constant pointer to the Source instance associated with this stream. More... | |
Implementation of input stream object.
This class inherits from std::basic_istream
and can be used as one.
This object uses the Source
provided as a template parameter to write data to. The Source
can be either source or buffer_provider.
Source | source type to use to read data from. |
Buffering | Buffer size to be used. |
CharT | character type for this stream |
Traits | cahracter traits type to be used in this stream. |
|
inlineexplicit |
Main constructor.
This generic constructor will pass received arguments to its buffer, which in turn will pass them to Source
. Thus, generally, these arguments should be the ones to create the Source
Args | types of the arguments to forward to Source constructor |
args | Arguments to be forwarded to construct the Source |
|
inline |
Move constructor.
other | basic_instream which contents and state will be acquired by created object. |
|
inline |
Provides access to the reference to the Source
instance associated with this stream.
Source
instance.
|
inline |
Provides access to the constant reference to the Source
instance associated with this stream.
Source
instance.
|
inline |
Provides access to the pointer to the Source
instance associated with this stream.
Source
instance.
|
inline |
Provides access to the constant pointer to the Source
instance associated with this stream.
Source
instance.
|
inline |
Move assignment operator.
other | basic_instream which contents and state will be acquired by created object. |