Definition in file utils.hpp.
#include <xercesc/util/PlatformUtils.hpp>
#include <xercesc/util/XMLUniDefs.hpp>
#include <xercesc/util/XMLString.hpp>
#include <xercesc/util/TransService.hpp>
#include <xercesc/util/TranscodingException.hpp>
#include "xercesc/util/XercesDefs.hpp"
#include "xercesc/sax/InputSource.hpp"
#include "xercesc/sax2/Attributes.hpp"
#include "xercesc/sax2/ContentHandler.hpp"
#include "xercesc/sax/ErrorHandler.hpp"
#include "config/commonincs.hpp"
Include dependency graph for utils.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | _XMLUTILS_HPP |
Functions | |
BEGIN_XDFLENGINE_NS XDFLENGINE_EXPORT char * | XSTR (const XMLCh *totrans, char *p_pszBuffer=0) |
XMLCh to char* converter. //. | |
XDFLENGINE_EXPORT char * | XSTR (XMLTranscoder *fXCoder, const XMLCh *const toFormat, const unsigned int count, char *p_pszBuffer=0) |
XDFLENGINE_EXPORT char * | XSTR (XMLTranscoder *fXCoder, const XMLCh *const toFormat, char *p_pszBuffer=0) |
XDFLENGINE_EXPORT XMLCh * | STRX (const char *totrans) |
char* to XMLCh converter. // | |
XDFLENGINE_EXPORT char * | correctAttrValue (const char *src) |
XDFLENGINE_EXPORT void | SAX_parseXML (InputSource *p_pXMLDOM_inputSrc,ContentHandler *p_pXMLSAX_handlers, ErrorHandler *p_pErrHandler) |
Launches the parsing of given source with given content & error handler. | |
XDFLENGINE_EXPORT char * | SAX_getAttrValue (const Attributes &p_attrs, const char *p_pzName, const char *p_pszDefValue="", char *p_pzBuffer=0) |
Extracts a named attribute from the collection given by parser. | |
XDFLENGINE_EXPORT void | upperize (char *cTxt) |
Makes given string upper case. | |
XDFLENGINE_EXPORT void | lowerize (char *cTxt) |
Makes given string lower case. | |
XDFLENGINE_EXPORT char * | getTimeString (const char *p_cExpression) |
Returns the date formatted as requested in the argument. if DATEFORMAT_USER : jj/mm/aaaa hh:mm:ss if DATEFORMAT_FILE : aaaammjj_hhmmss if DATEFORMAT_SQL : aaaa-mm-ss hh:mm:ss. | |
XDFLENGINE_EXPORT char * | allocCharBuffer (unsigned int p_uiSize) |
XDFLENGINE_EXPORT char * | releaseCharBuffer (char *p_pszBuffer) |
XDFLENGINE_EXPORT char * | copyCharBuffer (const char *p_pszBuffer) |
XDFLENGINE_EXPORT char * | trimCharBuffer (const char *p_pszToTrim) |
XDFLENGINE_EXPORT char * | importCharBuffer (char *p_pszOldBuffer, const char *p_pszNewBuffer) |
XDFLENGINE_EXPORT const char * | exportCharBuffer (char *l_pszBuffer) |
XDFLENGINE_EXPORT char * | concatCharBuffer (char *p_pszBaseBuffer, const char *p_pszToAdd, unsigned int p_uiGrowSize=255) |
XDFLENGINE_EXPORT char * | replaceInCharBuffer (const char *src, const char *srch, const char *rpl) |
Variables | |
XERCES_CPP_NAMESPACE_USE |
|
|
|
Definition at line 263 of file utils.cpp. Referenced by SQLDBValuer::calculateExpression(), concatCharBuffer(), copyCharBuffer(), getTimeString(), trimCharBuffer(), LogStreamer::writeData(), and XSTR(). |
|
|
|
Definition at line 114 of file utils.cpp. References releaseCharBuffer(), and replaceInCharBuffer(). Referenced by DBOBJDefinitionNode::getXML(). |
|
|
Returns the date formatted as requested in the argument. if DATEFORMAT_USER : jj/mm/aaaa hh:mm:ss if DATEFORMAT_FILE : aaaammjj_hhmmss if DATEFORMAT_SQL : aaaa-mm-ss hh:mm:ss.
Definition at line 211 of file utils.cpp. References allocCharBuffer(). Referenced by DateValuer::calculateExpression(). |
|
|
Makes given string lower case.
Definition at line 202 of file utils.cpp. Referenced by AutodescStreamer::completeDefinitionNode(). |
|
|
Definition at line 433 of file utils.cpp. References concatCharBuffer(), and copyCharBuffer(). Referenced by correctAttrValue(), DBOBJSetStreamer::getFieldValue(), and OTL_insertInVar(). |
|
Extracts a named attribute from the collection given by parser.
Definition at line 169 of file utils.cpp. References copyCharBuffer(), STRX(), and XSTR(). Referenced by DBOBJGetStatementSAXBuilder::startElement(), DBObjectSAXBuilder::startElement(), and SAXDBOBJDefinitionBuilder::startElement(). |
|
Launches the parsing of given source with given content & error handler.
|
|
char* to XMLCh converter. //
Definition at line 105 of file utils.cpp. Referenced by SAX_getAttrValue(), StreamInputSource::setEncoding(), and XMLFlowContext::XMLFlowContext(). |
|
Definition at line 300 of file utils.cpp. References allocCharBuffer(). Referenced by SAXValuesHandler::characters(), SAXSystemHandler::characters(), SAXLangHandler::characters(), DBOBJGetStatementSAXBuilder::characters(), and DBObjectSAXBuilder::characters(). |
|
Makes given string upper case.
Definition at line 198 of file utils.cpp. Referenced by AutodescStreamer::completeDefinitionNode(), and SAXSQLHandler::SAXSQLHandler(). |
|
|
Definition at line 73 of file utils.cpp. References allocCharBuffer(). |
|
XMLCh to char* converter. //.
Definition at line 57 of file utils.cpp. References allocCharBuffer(). |
|
|