xistringstream Class Reference

#include <sstream.hpp>

Inheritance diagram for xistringstream:

Inheritance graph
[legend]
Collaboration diagram for xistringstream:

Collaboration graph
[legend]
List of all members.

Detailed Description

class xistringstream

Definition at line 90 of file sstream.hpp.

Public Member Functions

 xistringstream (std::ios_base::openmode mode=std::ios_base::in)
 xistringstream (const::std::basic_string< xchar_t > &str, std::ios_base::openmode mode=std::ios_base::in)
 ~xistringstream ()
::std::basic_stringbuf< xchar_t > * rdbuf ()
::std::basic_string< xchar_tstr () const
void str (const::std::basic_string< xchar_t > &s)
xistreamoperator>> (xchar_t &c)
xistreamoperator>> (char &c)
::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


Constructor & Destructor Documentation

xistringstream::xistringstream std::ios_base::openmode  mode = std::ios_base::in  )  [explicit]
 

Definition at line 114 of file sstream.cpp.

References xistream::encoding(), prepare_ios(), and XIMOL_DEFAULT_ENCODING.

xistringstream::xistringstream const::std::basic_string< xchar_t > &  str,
std::ios_base::openmode  mode = std::ios_base::in
[explicit]
 

Definition at line 125 of file sstream.cpp.

References xistream::encoding(), prepare_ios(), str(), and XIMOL_DEFAULT_ENCODING.

xistringstream::~xistringstream  ) 
 

Definition at line 137 of file sstream.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(), 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().

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

Reimplemented from xistream.

Definition at line 107 of file sstream.hpp.

References xistream::operator>>().

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

Reimplemented from xistream.

Definition at line 106 of file sstream.hpp.

References xistream::operator>>().

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

std::basic_stringbuf< xchar_t > * xistringstream::rdbuf  ) 
 

Definition at line 144 of file sstream.cpp.

void xistringstream::str const::std::basic_string< xchar_t > &  s  ) 
 

Definition at line 160 of file sstream.cpp.

std::basic_string< xchar_t > xistringstream::str  )  const
 

Definition at line 152 of file sstream.cpp.

Referenced by xistringstream().


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


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.