ximol/macros.hpp File Reference


Detailed Description

Define XiMoL macros.

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

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

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

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 macros.hpp.

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define XIMOL_DEFAULT_ENCODING   "UTF-8"
 Default value for the encoding in XiMoL.

#define XIMOL_NO_THROW
#define XIMOL_TEMPLATE_NULL
#define XIMOL_MIN(a, b)   ((b) < (a) ? (b) : (a))
#define XIMOL_STANDARD_FACET
#define XIMOL_HAS_FACET(locale_name, facet_name)   ::std::has_facet< facet_name >( locale_name )
#define XIMOL_USE_FACET(locale_name, facet_name)   ::std::use_facet< facet_name >( locale_name )
#define XIMOL_ADD_FACET(locale_name, facet_name)   ::std::locale( locale_name , facet_name )


Define Documentation

#define XIMOL_ADD_FACET locale_name,
facet_name   )     ::std::locale( locale_name , facet_name )
 

Definition at line 69 of file macros.hpp.

Referenced by BeforeBOM(), and prepare_ios().

#define XIMOL_DEFAULT_ENCODING   "UTF-8"
 

Default value for the encoding in XiMoL.

Definition at line 51 of file macros.hpp.

Referenced by context::context(), xifstream::xifstream(), xistringstream::xistringstream(), xofstream::xofstream(), xostringstream::xostringstream(), and xstringstream::xstringstream().

#define XIMOL_HAS_FACET locale_name,
facet_name   )     ::std::has_facet< facet_name >( locale_name )
 

Definition at line 67 of file macros.hpp.

#define XIMOL_MIN a,
 )     ((b) < (a) ? (b) : (a))
 

Definition at line 59 of file macros.hpp.

Referenced by codecvt_ximol_raw_data::do_in(), codecvt_ximol_raw_data::do_length(), codecvt::do_length(), and codecvt_ximol_raw_data::do_out().

#define XIMOL_NO_THROW
 

Definition at line 53 of file macros.hpp.

#define XIMOL_STANDARD_FACET
 

Definition at line 62 of file macros.hpp.

#define XIMOL_TEMPLATE_NULL
 

Definition at line 56 of file macros.hpp.

#define XIMOL_USE_FACET locale_name,
facet_name   )     ::std::use_facet< facet_name >( locale_name )
 

Definition at line 68 of file macros.hpp.

Referenced by deep_change(), test_ios(), to_narrow_char(), and to_wide_char().



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