|
| basic_stringstream (std::ios_base::openmode mode) |
|
| basic_stringstream (const _Mystr &str, std::ios_base::openmode mode=std::ios_base::in|std::ios_base::out) |
|
| basic_stringstream (basic_stringstream &&other) |
|
template<class T > |
| basic_stringstream (const T *filename, std::ios_base::openmode mode=std::ios_base::in, int prot=std::ios_base::_Default_open_prot) |
| Initializes stream with content from file.
|
|
template<class _Elem2 , class _Traits2 = std::char_traits<_Elem2>, class _Alloc2 = std::allocator<_Elem2>> |
| basic_stringstream (const std::basic_string< _Elem2, _Traits2, _Alloc2 > &filename, std::ios_base::openmode mode=std::ios_base::in, int prot=std::ios_base::_Default_open_prot) |
| Initializes stream with content from file.
|
|
template<class T > |
void | save (const T *filename, std::ios_base::openmode mode=std::ios_base::out, int prot=std::ios_base::_Default_open_prot) |
| Saves stream content to a file.
|
|
template<class _Elem2 , class _Traits2 = std::char_traits<T>, class _Alloc2 = std::allocator<T>> |
void | save (const std::basic_string< _Elem2, _Traits2, _Alloc2 > &filename, std::ios_base::openmode mode=std::ios_base::out, int prot=std::ios_base::_Default_open_prot) |
|
template<class _Elem, class _Traits, class _Alloc>
class stdex::basic_stringstream< _Elem, _Traits, _Alloc >
String stream.
template<class _Elem , class _Traits , class _Alloc >
template<class _Elem2 , class _Traits2 = std::char_traits<_Elem2>, class _Alloc2 = std::allocator<_Elem2>>
stdex::basic_stringstream< _Elem, _Traits, _Alloc >::basic_stringstream |
( |
const std::basic_string< _Elem2, _Traits2, _Alloc2 > & |
filename, |
|
|
std::ios_base::openmode |
mode = std::ios_base::in , |
|
|
int |
prot = std::ios_base::_Default_open_prot |
|
) |
| |
|
inlineexplicit |
Initializes stream with content from file.
- Parameters
-
[in] | filename | File name |
[in] | mode | Mode flags to open file. The std::stringstream returned is always opened as in|out. |
[in] | prot | Protection flags to open file |