Writer.cpp File Reference

#include <xml/Writer.h>

Defines

#define WriteData(str, len)   err = write_xml_data(m_stream, (str), (len)); if (err != B_OK) return err;
#define WriteString(str)   err = m_stream->Write((str), strlen((str))); if (err < 0) return err;
#define WriteStringLength(str, len)   err = m_stream->Write((str), (len)); if (err < 0) return err;

Functions

status_t write_xml_data (const sptr< IByteOutput > &stream, const char *data, int32_t size)

Variables

char g_chars [] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}


Define Documentation

#define WriteData str,
len   )     err = write_xml_data(m_stream, (str), (len)); if (err != B_OK) return err;
 

#define WriteString str   )     err = m_stream->Write((str), strlen((str))); if (err < 0) return err;
 

#define WriteStringLength str,
len   )     err = m_stream->Write((str), (len)); if (err < 0) return err;
 


Function Documentation

status_t write_xml_data const sptr< IByteOutput > &  stream,
const char *  data,
int32_t  size
 


Variable Documentation

char g_chars[] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}