xifstream Class Reference

#include <fstream.hpp>

Inheritance diagram for xifstream:

Inheritance graph
[legend]
Collaboration diagram for xifstream:

Collaboration graph
[legend]
List of all members.

Detailed Description

class xifstream

Definition at line 98 of file fstream.hpp.

Public Member Functions

 xifstream ()
 xifstream (const char *name, const char *encoding_name=XIMOL_DEFAULT_ENCODING, std::ios_base::openmode mode=std::ios_base::in)
 xifstream (const char *name, std::ios_base::openmode mode, const char *encoding_name=XIMOL_DEFAULT_ENCODING)
 ~xifstream ()
::std::basic_filebuf< xchar_t > * rdbuf ()
bool is_open () const
void open (const char *filename, openmode mode=std::ios_base::in)
void close ()
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

xifstream::xifstream  ) 
 

Definition at line 139 of file fstream.cpp.

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

xifstream::xifstream const char *  name,
const char *  encoding_name = XIMOL_DEFAULT_ENCODING,
std::ios_base::openmode  mode = std::ios_base::in
[explicit]
 

Definition at line 152 of file fstream.cpp.

References xistream::encoding(), open(), prepare_ios(), and XIMOL_ENCODERS_USING_NAMESPACE.

xifstream::xifstream const char *  name,
std::ios_base::openmode  mode,
const char *  encoding_name = XIMOL_DEFAULT_ENCODING
 

Definition at line 166 of file fstream.cpp.

References xistream::encoding(), open(), prepare_ios(), and XIMOL_ENCODERS_USING_NAMESPACE.

xifstream::~xifstream  ) 
 

Definition at line 180 of file fstream.cpp.


Member Function Documentation

void xifstream::close  ) 
 

Definition at line 212 of file fstream.cpp.

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(), xistream::xistream(), xistringstream::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().

bool xifstream::is_open  )  const
 

Definition at line 195 of file fstream.cpp.

void xifstream::open const char *  filename,
openmode  mode = std::ios_base::in
 

Definition at line 203 of file fstream.cpp.

Referenced by xifstream().

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

Reimplemented from xistream.

Definition at line 124 of file fstream.hpp.

References xistream::operator>>().

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

Reimplemented from xistream.

Definition at line 123 of file fstream.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_filebuf< xchar_t > * xifstream::rdbuf  ) 
 

Definition at line 187 of file fstream.cpp.


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.