SpectMorph
Public Types | Public Member Functions | Public Attributes | List of all members
xml_buffered_writer Class Reference

Public Types

enum  { bufcapacitybytes , bufcapacity = bufcapacitybytes / (sizeof(char_t) + 4) }
 

Public Member Functions

 xml_buffered_writer (xml_writer &writer_, xml_encoding user_encoding)
 
size_t flush ()
 
void flush (const char_t *data, size_t size)
 
void write_direct (const char_t *data, size_t length)
 
void write_buffer (const char_t *data, size_t length)
 
void write_string (const char_t *data)
 
void write (char_t d0)
 
void write (char_t d0, char_t d1)
 
void write (char_t d0, char_t d1, char_t d2)
 
void write (char_t d0, char_t d1, char_t d2, char_t d3)
 
void write (char_t d0, char_t d1, char_t d2, char_t d3, char_t d4)
 
void write (char_t d0, char_t d1, char_t d2, char_t d3, char_t d4, char_t d5)
 

Public Attributes

char_t buffer [bufcapacity]
 
union {
   uint8_t   data_u8 [4 *bufcapacity]
 
   uint16_t   data_u16 [2 *bufcapacity]
 
   uint32_t   data_u32 [bufcapacity]
 
   char_t   data_char [bufcapacity]
 
scratch
 
xml_writer & writer
 
size_t bufsize
 
xml_encoding encoding
 

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