All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Config.h File Reference

Configuration flags for the XML API of TerraLib. More...

#include "../Config.h"

Go to the source code of this file.

Macros

#define TE_XML_MODULE_NAME   "te.xml"
 
XML Module Config

Configuration flags for XML module.

#define TE_XML_DEFAULT_READER_TYPE   "XERCES"
 The default implementation to be used when creating a XML reader. More...
 
#define TE_XML_READER_MAX_BUFFSIZE   65536
 It defines the default internal buffer size for parsing a XML file. More...
 
Internationalization Defines

Flags for TerraLib code internationalization.

#define TE_XML_TEXT_DOMAIN   "texml"
 It contains the name of the text domain used in the translation of messages in TerraLib XML module. More...
 
#define TE_XML_TEXT_DOMAIN_DIR   "locale"
 It contains the translation catalog directory. More...
 
#define TR_XML(message)   TR(message, TE_XML_TEXT_DOMAIN)
 It marks a string in order to get translated. This is a special mark used in the XML module of TerraLib. More...
 
#define TR_PLURAL_XML(message1, message2, n)   TR_PLURAL(TE_XML_TEXT_DOMAIN, message1, message2, n)
 This mark can be used when you have a plural phrase to be translated. This is a special mark used in the XML module of TerraLib. More...
 
DLL/LIB Module

Flags for building TerraLib as a DLL or as a Static Library

#define TEXMLEXPORT
 You can use this macro in order to export/import classes and functions from this module. More...
 

Detailed Description

Configuration flags for the XML API of TerraLib.

Definition in file Config.h.

Macro Definition Documentation

#define TE_XML_DEFAULT_READER_TYPE   "XERCES"

The default implementation to be used when creating a XML reader.

Definition at line 44 of file Config.h.

#define TE_XML_MODULE_NAME   "te.xml"

Definition at line 32 of file Config.h.

Referenced by te::xml::Module::Module(), and te::xml::Module::~Module().

#define TE_XML_READER_MAX_BUFFSIZE   65536

It defines the default internal buffer size for parsing a XML file.

Definition at line 51 of file Config.h.

#define TE_XML_TEXT_DOMAIN   "texml"

It contains the name of the text domain used in the translation of messages in TerraLib XML module.

Definition at line 65 of file Config.h.

Referenced by te::xml::Module::Module().

#define TE_XML_TEXT_DOMAIN_DIR   "locale"

It contains the translation catalog directory.

Definition at line 72 of file Config.h.

Referenced by te::xml::Module::Module().

#define TEXMLEXPORT

You can use this macro in order to export/import classes and functions from this module.

Note
If you want to compile TerraLib as DLL in Windows, remember to insert TEXMLDLL into the project's list of defines.
If you want to compile TerraLib as an Static Library under Windows, remember to insert the TEXMLSTATIC flag into the project list of defines.

Definition at line 119 of file Config.h.

#define TR_PLURAL_XML (   message1,
  message2,
 
)    TR_PLURAL(TE_XML_TEXT_DOMAIN, message1, message2, n)

This mark can be used when you have a plural phrase to be translated. This is a special mark used in the XML module of TerraLib.

Definition at line 86 of file Config.h.

#define TR_XML (   message)    TR(message, TE_XML_TEXT_DOMAIN)

It marks a string in order to get translated. This is a special mark used in the XML module of TerraLib.

Definition at line 79 of file Config.h.

Referenced by te::xml::Module::finalize(), and te::xml::Module::initialize().