Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
absl::strings_internal::OStringStream Class Reference

#include <ostringstream.h>

Inheritance diagram for absl::strings_internal::OStringStream:
Inheritance graph
[legend]

Public Member Functions

 OStringStream (std::string *s)
 
std::string * str ()
 
const std::string * str () const
 
void str (std::string *s)
 

Private Types

using Buf = std::basic_streambuf< char >
 

Private Member Functions

Buf::int_type overflow (int c) override
 
std::streamsize xsputn (const char *s, std::streamsize n) override
 

Private Attributes

std::string * s_
 

Detailed Description

Definition at line 62 of file ostringstream.h.

Member Typedef Documentation

◆ Buf

using absl::strings_internal::OStringStream::Buf = std::basic_streambuf<char>
private

Definition at line 76 of file ostringstream.h.

Constructor & Destructor Documentation

◆ OStringStream()

absl::strings_internal::OStringStream::OStringStream ( std::string *  s)
inlineexplicit

Definition at line 69 of file ostringstream.h.

Member Function Documentation

◆ overflow()

OStringStream::Buf::int_type absl::strings_internal::OStringStream::overflow ( int  c)
overrideprivate

Definition at line 20 of file ostringstream.cc.

◆ str() [1/3]

std::string* absl::strings_internal::OStringStream::str ( )
inline

Definition at line 71 of file ostringstream.h.

◆ str() [2/3]

const std::string* absl::strings_internal::OStringStream::str ( ) const
inline

Definition at line 72 of file ostringstream.h.

◆ str() [3/3]

void absl::strings_internal::OStringStream::str ( std::string *  s)
inline

Definition at line 73 of file ostringstream.h.

◆ xsputn()

std::streamsize absl::strings_internal::OStringStream::xsputn ( const char *  s,
std::streamsize  n 
)
overrideprivate

Definition at line 27 of file ostringstream.cc.

Member Data Documentation

◆ s_

std::string* absl::strings_internal::OStringStream::s_
private

Definition at line 81 of file ostringstream.h.


The documentation for this class was generated from the following files:


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:23