loggingXMLParser::XMLParser

NAME
SYNOPSIS
Detailed Description
Member Function Documentation
Author

NAME

loggingXMLParser::XMLParser −

SYNOPSIS

#include <loggingXMLParser.h>

Static Public Member Functions

static XMLElement * parseString (const ACE_TCHAR *xml, bool skipValueParsing=false)

static int parseElementType (const ACE_TCHAR *xml, ACE_CString &elementType)

Detailed Description

Simple non-validating XML parser This XML parser is used to parse attributes and a value of <Archive ...>value</Archive> It does not support parsing of sub-elements (only one level). (This is due to lack of time of the programmer, give me 2h and ...)

Author:

Matej Sekoranja, Jozef Stefan Institute, Slovenia

Version:

Member Function Documentation

static int loggingXMLParser::XMLParser::parseElementType (const ACE_TCHAR * xml, ACE_CString & elementType) [static] Parse XML element type

Parameters:

xml XML formatted string
entryType
redtuned element typed if found

Returns:

0 on success

static XMLElement* loggingXMLParser::XMLParser::parseString (const ACE_TCHAR * xml, bool skipValueParsing = false) [static] Parse XML string

Parameters:

xml XML formatted string
skipValueParsing
if true, only element name and its attributes will be parsed

Returns:

pointer to XMLEntry, 0 if failed to parse given string

Author

Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code.