39 #ifndef BLOCXX_STRINGSTREAM_HPP_INCLUDE_GUARD_ 40 #define BLOCXX_STRINGSTREAM_HPP_INCLUDE_GUARD_ 41 #include "blocxx/BLOCXX_config.h" 44 #if defined(BLOCXX_HAVE_OSTREAM) && defined(BLOCXX_HAVE_ISTREAM) 50 #ifdef BLOCXX_HAVE_STREAMBUF 53 #include <streambuf.h> 67 setg(const_cast<char*>(reinterpret_cast<const char*>(
m_buf.
c_str())),
68 const_cast<char*
>(
reinterpret_cast<const char*
>(
m_buf.
c_str())),
74 return (gptr() < egptr()) ?
static_cast<unsigned char>(*gptr()) : EOF;
108 size_t length()
const;
109 const char* c_str()
const;
112 virtual int buffer_to_device(
const char *c,
int n);
135 size_t length()
const;
136 const char* c_str()
const;
This String class is an abstract data type that represents as NULL terminated string of characters...
IStringStreamBase(const String &s)
IStringStreamBuf(const String &s)
const char * c_str() const