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 |
Private Member Functions | |
xml_buffered_writer (const xml_buffered_writer &) | |
xml_buffered_writer & | operator= (const xml_buffered_writer &) |
Definition at line 3692 of file pugixml.cpp.
anonymous enum |
Enumerator | |
---|---|
bufcapacitybytes | |
bufcapacity |
Definition at line 3879 of file pugixml.cpp.
|
private |
|
inline |
Definition at line 3698 of file pugixml.cpp.
References bufcapacity, and PUGI__STATIC_ASSERT.
|
inline |
Definition at line 3703 of file pugixml.cpp.
References buffer, and bufsize.
Referenced by write(), and write_direct().
|
inline |
Definition at line 3710 of file pugixml.cpp.
References convert_buffer_output(), encoding, get_write_native_encoding(), scratch, and writer.
|
private |
|
inline |
Definition at line 3807 of file pugixml.cpp.
References bufcapacity, buffer, bufsize, and flush().
Referenced by node_output(), node_output_attributes(), node_output_comment(), node_output_end(), node_output_pi_value(), node_output_simple(), node_output_start(), text_output_cdata(), text_output_escaped(), and text_output_indent().
|
inline |
Definition at line 3816 of file pugixml.cpp.
References bufcapacity, buffer, bufsize, and flush().
|
inline |
Definition at line 3826 of file pugixml.cpp.
References bufcapacity, buffer, bufsize, and flush().
|
inline |
Definition at line 3837 of file pugixml.cpp.
References bufcapacity, buffer, bufsize, and flush().
|
inline |
Definition at line 3849 of file pugixml.cpp.
References bufcapacity, buffer, bufsize, and flush().
|
inline |
Definition at line 3862 of file pugixml.cpp.
References bufcapacity, buffer, bufsize, and flush().
|
inline |
Definition at line 3767 of file pugixml.cpp.
References bufcapacity, buffer, bufsize, and write_direct().
Referenced by node_output_comment(), node_output_pi_value(), text_output_cdata(), text_output_escaped(), and text_output_indent().
|
inline |
Definition at line 3728 of file pugixml.cpp.
References bufcapacity, buffer, bufsize, encoding, flush(), get_valid_length(), get_write_native_encoding(), and writer.
Referenced by write_buffer(), and write_string().
|
inline |
Definition at line 3782 of file pugixml.cpp.
References bufcapacity, buffer, bufsize, get_valid_length(), strlength(), and write_direct().
Referenced by node_output_attributes(), node_output_end(), node_output_simple(), node_output_start(), and text_output().
char_t xml_buffered_writer::buffer[bufcapacity] |
Definition at line 3891 of file pugixml.cpp.
Referenced by flush(), write(), write_buffer(), write_direct(), and write_string().
size_t xml_buffered_writer::bufsize |
Definition at line 3902 of file pugixml.cpp.
Referenced by flush(), write(), write_buffer(), write_direct(), and write_string().
char_t xml_buffered_writer::data_char[bufcapacity] |
Definition at line 3898 of file pugixml.cpp.
uint16_t xml_buffered_writer::data_u16[2 *bufcapacity] |
Definition at line 3896 of file pugixml.cpp.
uint32_t xml_buffered_writer::data_u32[bufcapacity] |
Definition at line 3897 of file pugixml.cpp.
uint8_t xml_buffered_writer::data_u8[4 *bufcapacity] |
Definition at line 3895 of file pugixml.cpp.
xml_encoding xml_buffered_writer::encoding |
Definition at line 3903 of file pugixml.cpp.
Referenced by flush(), and write_direct().
union { ... } xml_buffered_writer::scratch |
Referenced by flush().
xml_writer& xml_buffered_writer::writer |
Definition at line 3901 of file pugixml.cpp.
Referenced by flush(), and write_direct().