HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
 

Detailed Description

Definition at line 3671 of file pugixml.cpp.

Member Enumeration Documentation

anonymous enum
Enumerator
bufcapacitybytes 
bufcapacity 

Definition at line 3858 of file pugixml.cpp.

Constructor & Destructor Documentation

xml_buffered_writer::xml_buffered_writer ( xml_writer &  writer_,
xml_encoding  user_encoding 
)
inline

Definition at line 3677 of file pugixml.cpp.

Member Function Documentation

size_t xml_buffered_writer::flush ( )
inline

Definition at line 3682 of file pugixml.cpp.

void xml_buffered_writer::flush ( const char_t data,
size_t  size 
)
inline

Definition at line 3689 of file pugixml.cpp.

void xml_buffered_writer::write ( char_t  d0)
inline

Definition at line 3786 of file pugixml.cpp.

void xml_buffered_writer::write ( char_t  d0,
char_t  d1 
)
inline

Definition at line 3795 of file pugixml.cpp.

void xml_buffered_writer::write ( char_t  d0,
char_t  d1,
char_t  d2 
)
inline

Definition at line 3805 of file pugixml.cpp.

void xml_buffered_writer::write ( char_t  d0,
char_t  d1,
char_t  d2,
char_t  d3 
)
inline

Definition at line 3816 of file pugixml.cpp.

void xml_buffered_writer::write ( char_t  d0,
char_t  d1,
char_t  d2,
char_t  d3,
char_t  d4 
)
inline

Definition at line 3828 of file pugixml.cpp.

void xml_buffered_writer::write ( char_t  d0,
char_t  d1,
char_t  d2,
char_t  d3,
char_t  d4,
char_t  d5 
)
inline

Definition at line 3841 of file pugixml.cpp.

void xml_buffered_writer::write_buffer ( const char_t data,
size_t  length 
)
inline

Definition at line 3746 of file pugixml.cpp.

void xml_buffered_writer::write_direct ( const char_t data,
size_t  length 
)
inline

Definition at line 3707 of file pugixml.cpp.

void xml_buffered_writer::write_string ( const char_t data)
inline

Definition at line 3761 of file pugixml.cpp.

Member Data Documentation

char_t xml_buffered_writer::buffer[bufcapacity]

Definition at line 3870 of file pugixml.cpp.

size_t xml_buffered_writer::bufsize

Definition at line 3881 of file pugixml.cpp.

char_t xml_buffered_writer::data_char[bufcapacity]

Definition at line 3877 of file pugixml.cpp.

uint16_t xml_buffered_writer::data_u16[2 *bufcapacity]

Definition at line 3875 of file pugixml.cpp.

uint32_t xml_buffered_writer::data_u32[bufcapacity]

Definition at line 3876 of file pugixml.cpp.

uint8_t xml_buffered_writer::data_u8[4 *bufcapacity]

Definition at line 3874 of file pugixml.cpp.

xml_encoding xml_buffered_writer::encoding

Definition at line 3882 of file pugixml.cpp.

union { ... } xml_buffered_writer::scratch
xml_writer& xml_buffered_writer::writer

Definition at line 3880 of file pugixml.cpp.


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