xiostream Class Reference

#include <stream.hpp>

Inheritance diagram for xiostream:

Inheritance graph
[legend]
Collaboration diagram for xiostream:

Collaboration graph
[legend]
List of all members.

Detailed Description

class derived bfrom xistream and xostream.

Definition at line 127 of file stream.hpp.

Public Member Functions

 xiostream (const char *encoding_name=XIMOL_DEFAULT_ENCODING)
xostreamoperator<< (xchar_t c)
xostreamoperator<< (char c)
xistreamoperator>> (xchar_t &c)
xistreamoperator>> (char &c)
::std::string encoding () const
void encoding (const char *encoding_name)
::std::string encoding () const
void encoding (const char *encoding_name)
bool get (xchar_t &xc)
void putback (xchar_t xc)
void putback (const xstring &xstr)
xchar_t front () const
void pop_front ()

Public Attributes

XIMOL_XML_NAMESPACE_PATH::context context
XIMOL_XML_NAMESPACE_PATH::context context


Constructor & Destructor Documentation

xiostream::xiostream const char *  encoding_name = XIMOL_DEFAULT_ENCODING  ) 
 

Definition at line 84 of file stream.cpp.


Member Function Documentation

void xistream::encoding const char *  encoding_name  )  [inherited]
 

Definition at line 244 of file stream.cpp.

References deep_change(), and XIMOL_ENCODERS_USING_NAMESPACE.

std::string xistream::encoding  )  const [inherited]
 

Definition at line 236 of file stream.cpp.

Referenced by operator>>(), read_bom(), read_xml_decl(), use_XML(), xfstream::xfstream(), xifstream::xifstream(), xistream::xistream(), xistringstream::xistringstream(), and xstringstream::xstringstream().

void xostream::encoding const char *  encoding_name  )  [inherited]
 

Definition at line 225 of file stream.cpp.

References deep_change(), and XIMOL_ENCODERS_USING_NAMESPACE.

std::string xostream::encoding  )  const [inherited]
 

Definition at line 217 of file stream.cpp.

Referenced by use_XML(), write_xml_decl(), xfstream::xfstream(), xofstream::xofstream(), xostream::xostream(), xostringstream::xostringstream(), and xstringstream::xstringstream().

xchar_t xistream::front  )  const [inherited]
 

Definition at line 171 of file stream.cpp.

References xchar_t.

Referenced by read_char_ref(), read_doctype_decl(), read_doctype_element(), read_entity_decl(), read_misc(), read_ns_att_name(), read_prolog(), read_prolog_exclamation(), read_prolog_question(), read_qname(), read_reference(), and read_xstring().

bool xistream::get xchar_t xc  )  [inherited]
 

Definition at line 156 of file stream.cpp.

References xistream::pop_front().

Referenced by char_data_content(), is_etag(), is_stag(), xistream::operator>>(), attributes::read(), read_att_list_decl(), read_att_value(), read_bom(), read_char_ref(), read_doctype_decl(), read_doctype_element(), read_element_decl(), read_entity_def(), read_entity_value(), read_misc(), read_notation_decl(), read_open_stag(), read_pe_def(), read_prolog(), read_string_with_forbidden_serie(), and read_xchar().

xostream& xiostream::operator<< char  c  )  [inline]
 

Reimplemented from xostream.

Reimplemented in xfstream, and xstringstream.

Definition at line 136 of file stream.hpp.

References xostream::operator<<(), and xostream.

xostream& xiostream::operator<< xchar_t  c  )  [inline]
 

Reimplemented from xostream.

Reimplemented in xfstream, and xstringstream.

Definition at line 135 of file stream.hpp.

References xostream::operator<<(), and xostream.

xistream& xiostream::operator>> char &  c  )  [inline]
 

Reimplemented from xistream.

Reimplemented in xfstream, and xstringstream.

Definition at line 138 of file stream.hpp.

References xistream::operator>>(), and xistream.

xistream& xiostream::operator>> xchar_t c  )  [inline]
 

Reimplemented from xistream.

Reimplemented in xfstream, and xstringstream.

Definition at line 137 of file stream.hpp.

References xistream::operator>>(), and xistream.

void xistream::pop_front  )  [inherited]
 

Definition at line 185 of file stream.cpp.

References xchar_t.

Referenced by xistream::get(), read_char_ref(), read_doctype_decl(), read_doctype_element(), read_ns_att_name(), read_qname(), and read_xstring().

void xistream::putback const xstring xstr  )  [inherited]
 

Definition at line 207 of file stream.cpp.

References xistream::putback(), and xstring.

void xistream::putback xchar_t  xc  )  [inherited]
 

Definition at line 199 of file stream.cpp.

Referenced by char_data_content(), is_etag(), is_stag(), xistream::putback(), attributes::read(), read_att_value(), read_bom(), read_char_ref(), read_doctype_decl(), read_entity_def(), read_entity_ref(), read_entity_value(), read_external_id(), read_misc(), read_notation_decl(), read_open_stag(), read_pe_def(), read_prolog(), read_string_with_forbidden_serie(), and read_xml_decl().


Member Data Documentation

XIMOL_XML_NAMESPACE_PATH::context xistream::context [inherited]
 

Definition at line 116 of file stream.hpp.

Referenced by is_etag(), is_stag(), operator>>(), attributes::read(), read_doctype_decl(), read_encoding_decl(), read_entity_ref(), read_etag(), read_ge_decl(), read_notation_decl(), read_open_stag(), read_pe_decl(), read_pe_reference(), read_pi(), read_sd_decl(), read_stag(), read_version_info(), read_xml_decl(), and wait_stag().

XIMOL_XML_NAMESPACE_PATH::context xostream::context [inherited]
 

Definition at line 85 of file stream.hpp.

Referenced by operator<<(), attributes::write(), write_encoding_decl(), write_etag(), write_open_stag(), write_sd_decl(), write_stag(), write_version_info(), and write_xml_decl().


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


Donate to the XiMoL project SourceForge.net Logo If you have any questions about XiMoL, you could write to tournois@users.sourceforge.net.