StringStream

Inheritance:

Methods of StringStream:

Methods of iostream:

Methods of istream:

Methods of ios:

Methods of ostream:

Constants in ios_base:

StringStream
StringStream::StringStream(void);

Description:
Description: This version of the constructor preloads the buffer with the indicated data.

clearData
void StringStream::clear_data(void);

Description: Empties the buffer.

getData
string StringStream::get_data(void);

Description: Returns the contents of the data stream as a string.

getDataSize
unsigned int StringStream::get_data_size(void);

Description: Returns the number of characters available to be read from the data stream.

setData
void StringStream::set_data(string const &data);

Description: Replaces the contents of the data stream. This implicitly reseeks to 0.

swapData
void StringStream::swap_data(vector< unsigned char > &data);

Description: Swaps the indicated buffer for the contents of the internal buffer.

flush
void iostream::flush(void);

Undocumented function.

get
int istream::get(void);

Undocumented function.

seekg
void istream::seekg(unsigned long int pos);

Undocumented function.

tellg
unsigned long int istream::tellg(void);

Undocumented function.

bad
bool ios::bad(void) const;

Undocumented function.

clear
void ios::clear(void);

Undocumented function.

eof
bool ios::eof(void) const;

Undocumented function.

fail
bool ios::fail(void) const;

Undocumented function.

good
bool ios::good(void) const;

Undocumented function.

flush
void ostream::flush(void);

Undocumented function.

put
void ostream::put(char c);

Undocumented function.

seekp
void ostream::seekp(unsigned long int pos);

Undocumented function.

tellp
unsigned long int ostream::tellp(void);

Undocumented function.