XLE  v0.02.0
Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
Utility::StreamBuf< BufferType > Class Template Reference
Inheritance diagram for Utility::StreamBuf< BufferType >:
Inheritance graph
[legend]

Public Types

using CharType = typename BufferType::char_type
 
- Public Types inherited from Utility::OutputStream
using size_type = size_t
 

Public Member Functions

virtual size_type Tell ()
 
virtual void Write (const void *p, size_type len)
 
virtual void WriteChar (utf8 ch)
 
virtual void WriteChar (ucs2 ch)
 
virtual void WriteChar (ucs4 ch)
 
virtual void Write (StringSection< utf8 >)
 
virtual void Write (StringSection< ucs2 >)
 
virtual void Write (StringSection< ucs4 >)
 
virtual void Flush ()
 
template<typename Buffer = BufferType, typename std::enable_if<(sizeof(StrTest< Buffer >(0)) > 1>
auto AsString () const -> decltype(((Buffer *) nullptr) ->str())
 
template<typename Buffer = BufferType, typename std::enable_if<(sizeof(IsFullTest< Buffer >(0)) > 1>
bool IsFull () const
 
const BufferType & GetBuffer () const
 
template<typename Buffer = BufferType, typename std::enable_if<(sizeof(ConstructorTest< Buffer >(0)) > 1>
 StreamBuf (CharType *buffer, size_t bufferCharCount)
 

Protected Attributes

BufferType _buffer
 

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