GNU g++  v5.2.1
GNU Standard C++
vstring.h File Reference

This file is a GNU extension to the Standard C++ Library. More...

#include <ext/vstring_util.h>
#include <ext/rc_string_base.h>
#include <ext/sso_string_base.h>
#include "vstring.tcc"
Include dependency graph for vstring.h:

Functions

namespace std _GLIBCXX_VISIBILITY (default)
 

Detailed Description

This file is a GNU extension to the Standard C++ Library.

Function Documentation

namespace std _GLIBCXX_VISIBILITY ( default  )

Read stream into a string.

Parameters
__isInput stream.
__strBuffer to store into.
Returns
Reference to the input stream.

Stores characters from __is into __str until whitespace is found, the end of the stream is encountered, or str.max_size() is reached. If is.width() is non-zero, that is the limit on the number of characters stored into __str. Any previous contents of __str are erased.

Write string to a stream.

Parameters
__osOutput stream.
__strString to write out.
Returns
Reference to the output stream.

Output characters of __str into os following the same rules as for writing a C string.

Read a line from stream into a string.

Parameters
__isInput stream.
__strBuffer to store into.
__delimCharacter marking end of line.
Returns
Reference to the input stream.

Stores characters from __is into __str until __delim is found, the end of the stream is encountered, or str.max_size() is reached. If is.width() is non-zero, that is the limit on the number of characters stored into __str. Any previous contents of __str are erased. If delim was encountered, it is extracted but not stored into __str.

Read a line from stream into a string.

Parameters
__isInput stream.
__strBuffer to store into.
Returns
Reference to the input stream.

Stores characters from is into __str until '
' is found, the end of the stream is encountered, or str.max_size() is reached. If is.width() is non-zero, that is the limit on the number of characters stored into __str. Any previous contents of __str are erased. If end of line was encountered, it is extracted but not stored into __str.