ximol/io.cpp File Reference


Detailed Description

GetFrom and PutTo operator for common char and xchar_t (Implementation).

Author:
Tournois Florent
Version:
1.0
Id
io.cpp,v 1.11 2004/02/22 10:27:32 tournois Exp
Log
io.cpp,v
Revision 1.11 2004/02/22 10:27:32 tournois Add some doc.

Revision 1.10 2004/02/22 09:54:19 tournois Change years on the copyright.

Revision 1.9 2004/02/15 10:13:36 hfp an additional to_wide_char()-call is needed to compile

Revision 1.8 2004/02/02 19:51:44 tournois Add a control_flow and finish the attribute tutorial.

Revision 1.7 2003/11/27 15:31:55 hfp partially adapted to vc6.

Revision 1.6 2003/11/19 20:52:54 tournois Add new manipulator for stag and etag. Correct bugs and add tests.

Revision 1.5 2003/11/18 18:54:51 tournois Add str_cast and drop the transformation.hpp file.

Revision 1.4 2003/11/02 19:23:01 tournois Go to the boost coding standard. Change all name to lower case.

Revision 1.3 2003/10/25 13:53:39 hfp review and separation

Revision 1.2 2003/10/09 16:59:45 tournois add the stringstream initialisation. add some prolog test. Correct code for VC6.0.

Revision 1.1 2003/09/24 08:28:17 tournois Create the namespace Encoders, Parser, Xml Change the library organization. add VC7.1 project for this organization.

Definition in file io.cpp.

#include <ximol/io.hpp>
#include <ximol/stream.hpp>
#include <ximol/str_cast.hpp>
#include <algorithm>
#include <functional>
#include <locale>

Include dependency graph for io.cpp:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  std

Functions

XIMOL_BEGIN_PRIVATE_NAMESPACE
wchar_t 
to_wide_char (char c)
char to_narrow_char (wchar_t xc)
wchar_t to_wide_char (char c,::std::basic_ios< wchar_t > &ios)
char to_narrow_char (wchar_t xc,::std::basic_ios< wchar_t > &ios)
XIMOL_BEGIN_NAMESPACE XIMOL_TEMPLATE_NULL
xostream
operator<< (xostream &xos, const char c)
XIMOL_TEMPLATE_NULL xostreamoperator<< (xostream &xos, const char *c)
XIMOL_TEMPLATE_NULL xostreamoperator<< (xostream &xostream_, const std::string &str_)
XIMOL_TEMPLATE_NULL xostreamoperator<< (xostream &xos, const xchar_t *c)
XIMOL_TEMPLATE_NULL xostreamoperator<< (xostream &xos, const xstring &c)
xistreamoperator>> (xistream &xis, bool &c)
xistreamoperator>> (xistream &xis, short &c)
xistreamoperator>> (xistream &xis, long &c)
xistreamoperator>> (xistream &xis, unsigned long &c)
xistreamoperator>> (xistream &xis, int &c)
xistreamoperator>> (xistream &xis, unsigned int &c)
xistreamoperator>> (xistream &xis, float &c)
xistreamoperator>> (xistream &xis, double &c)
xistreamoperator>> (xistream &xis, long double &c)
xistreamoperator>> (xistream &xis,::std::basic_istream< xchar_t > &(*fun)(::std::basic_istream< xchar_t > &))
xostreamoperator<< (xostream &xos, bool c)
xostreamoperator<< (xostream &xos, short c)
xostreamoperator<< (xostream &xos, long c)
xostreamoperator<< (xostream &xos, unsigned long c)
xostreamoperator<< (xostream &xos, int c)
xostreamoperator<< (xostream &xos, unsigned int c)
xostreamoperator<< (xostream &xos, float c)
xostreamoperator<< (xostream &xos, double c)
xostreamoperator<< (xostream &xos, long double c)
xostreamoperator<< (xostream &xos,::std::basic_ostream< xchar_t > &(*fun)(::std::basic_ostream< xchar_t > &))


Function Documentation

xostream& operator<< xostream xos,
::std::basic_ostream< xchar_t > &(*  fun)(::std::basic_ostream< xchar_t > &)
 

Definition at line 298 of file io.cpp.

xostream& operator<< xostream xos,
long double  c
 

Definition at line 297 of file io.cpp.

xostream& operator<< xostream xos,
double  c
 

Definition at line 296 of file io.cpp.

xostream& operator<< xostream xos,
float  c
 

Definition at line 295 of file io.cpp.

xostream& operator<< xostream xos,
unsigned int  c
 

Definition at line 294 of file io.cpp.

xostream& operator<< xostream xos,
int  c
 

Definition at line 293 of file io.cpp.

xostream& operator<< xostream xos,
unsigned long  c
 

Definition at line 292 of file io.cpp.

xostream& operator<< xostream xos,
long  c
 

Definition at line 291 of file io.cpp.

xostream& operator<< xostream xos,
short  c
 

Definition at line 290 of file io.cpp.

xostream& operator<< xostream xos,
bool  c
 

Definition at line 289 of file io.cpp.

xistream& operator>> xistream xis,
::std::basic_istream< xchar_t > &(*  fun)(::std::basic_istream< xchar_t > &)
 

Definition at line 287 of file io.cpp.

xistream& operator>> xistream xis,
long double &  c
 

Definition at line 286 of file io.cpp.

xistream& operator>> xistream xis,
double &  c
 

Definition at line 285 of file io.cpp.

xistream& operator>> xistream xis,
float &  c
 

Definition at line 284 of file io.cpp.

xistream& operator>> xistream xis,
unsigned int &  c
 

Definition at line 283 of file io.cpp.

xistream& operator>> xistream xis,
int &  c
 

Definition at line 282 of file io.cpp.

xistream& operator>> xistream xis,
unsigned long &  c
 

Definition at line 281 of file io.cpp.

xistream& operator>> xistream xis,
long &  c
 

Definition at line 280 of file io.cpp.

xistream& operator>> xistream xis,
short &  c
 

Definition at line 279 of file io.cpp.

char to_narrow_char wchar_t  xc,
::std::basic_ios< wchar_t > &  ios
 

Definition at line 100 of file io.cpp.

References XIMOL_USE_FACET.

char to_narrow_char wchar_t  xc  ) 
 

Definition at line 86 of file io.cpp.

References converter< Char_dest, Char_source >::get(), and XIMOL_USING_NAMESPACE.

Referenced by converter< char, wchar_t >::get().

wchar_t to_wide_char char  c,
::std::basic_ios< wchar_t > &  ios
 

Definition at line 92 of file io.cpp.

References XIMOL_USE_FACET.

XIMOL_BEGIN_PRIVATE_NAMESPACE wchar_t to_wide_char char  c  ) 
 

Definition at line 80 of file io.cpp.

References converter< Char_dest, Char_source >::get(), and XIMOL_USING_NAMESPACE.

Referenced by converter< wchar_t, char >::get().



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