xostream Class Reference

#include <stream.hpp>

Inheritance diagram for xostream:

Inheritance graph
[legend]
List of all members.

Detailed Description

class ostream with context.
Examples:

tutorial_hello.cpp.

Definition at line 65 of file stream.hpp.

Public Member Functions

 xostream (const char *encoding_name=XIMOL_DEFAULT_ENCODING)
::std::string encoding () const
void encoding (const char *encoding_name)
xostreamoperator<< (xchar_t c)
xostreamoperator<< (char c)

Public Attributes

XIMOL_XML_NAMESPACE_PATH::context context


Constructor & Destructor Documentation

xostream::xostream const char *  encoding_name = XIMOL_DEFAULT_ENCODING  ) 
 

See also:
XIMOL_DEFAULT_ENCODING

Definition at line 93 of file stream.cpp.

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


Member Function Documentation

void xostream::encoding const char *  encoding_name  ) 
 

Definition at line 225 of file stream.cpp.

References deep_change(), and XIMOL_ENCODERS_USING_NAMESPACE.

std::string xostream::encoding  )  const
 

Definition at line 217 of file stream.cpp.

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

xostream & xostream::operator<< char  c  ) 
 

Reimplemented in xofstream, xfstream, xostringstream, xstringstream, and xiostream.

Definition at line 111 of file stream.cpp.

References xchar_t.

xostream & xostream::operator<< xchar_t  c  ) 
 

Reimplemented in xofstream, xfstream, xostringstream, xstringstream, and xiostream.

Definition at line 105 of file stream.cpp.

References xchar_t.

Referenced by xiostream::operator<<(), xstringstream::operator<<(), xostringstream::operator<<(), xfstream::operator<<(), and xofstream::operator<<().


Member Data Documentation

XIMOL_XML_NAMESPACE_PATH::context xostream::context
 

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.