xistream Class Reference

#include <stream.hpp>

Inheritance diagram for xistream:

Inheritance graph
[legend]
List of all members.

Detailed Description

class istream with context.
Examples:

tutorial_hello.cpp.

Definition at line 92 of file stream.hpp.

Public Member Functions

 xistream (const char *encoding_name=XIMOL_DEFAULT_ENCODING)
::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 ()
xistreamoperator>> (xchar_t &c)
xistreamoperator>> (char &c)

Public Attributes

XIMOL_XML_NAMESPACE_PATH::context context


Constructor & Destructor Documentation

xistream::xistream const char *  encoding_name = XIMOL_DEFAULT_ENCODING  ) 
 

Definition at line 120 of file stream.cpp.

References encoding(), prepare_ios(), xchar_t, and XIMOL_ENCODERS_USING_NAMESPACE.


Member Function Documentation

void xistream::encoding const char *  encoding_name  ) 
 

Definition at line 244 of file stream.cpp.

References deep_change(), and XIMOL_ENCODERS_USING_NAMESPACE.

std::string xistream::encoding  )  const
 

Definition at line 236 of file stream.cpp.

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

xchar_t xistream::front  )  const
 

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  ) 
 

Definition at line 156 of file stream.cpp.

References pop_front().

Referenced by char_data_content(), is_etag(), is_stag(), 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().

xistream & xistream::operator>> char &  c  ) 
 

Reimplemented in xifstream, xfstream, xistringstream, xstringstream, and xiostream.

Definition at line 144 of file stream.cpp.

References xchar_t.

xistream & xistream::operator>> xchar_t c  ) 
 

Reimplemented in xifstream, xfstream, xistringstream, xstringstream, and xiostream.

Definition at line 133 of file stream.cpp.

References get().

Referenced by xiostream::operator>>(), xstringstream::operator>>(), xistringstream::operator>>(), xfstream::operator>>(), and xifstream::operator>>().

void xistream::pop_front  ) 
 

Definition at line 185 of file stream.cpp.

References xchar_t.

Referenced by 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  ) 
 

Definition at line 207 of file stream.cpp.

References putback(), and xstring.

void xistream::putback xchar_t  xc  ) 
 

Definition at line 199 of file stream.cpp.

Referenced by char_data_content(), is_etag(), is_stag(), 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
 

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().


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.