MlpParseHandlers.cpp File Reference

MlpParseHandlers definition. More...

#include <string>
#include <iostream>
#include <xercesc/util/XMLString.hpp>
#include <xercesc/sax2/Attributes.hpp>
#include <libmlp-cpp/MlpParseHandlers.hpp>
#include <libmlp-cpp/MlpConstants.hpp>
#include <libmlp-cpp/MlpTagNames.hpp>
#include <libmlp-cpp/MlpLog.hpp>
#include <libmlp-cpp/MlpXmlString.hpp>
#include <libmlp-cpp/MlpParseException.hpp>
#include <libmlp-cpp/MlpHdr.hpp>
#include <libmlp-cpp/MlpShapePoint.hpp>
#include <libmlp-cpp/MlpGsmNetParams.hpp>
Include dependency graph for MlpParseHandlers.cpp:

Defines

#define MLP_ELSIF(constant)
 Macro that shortens writing of the repeating code.
#define MLP_REPLACE(a, b)   (MlpConstants:: a##b)
 Macro that shortens writing of the repeating code.
#define MLP_ELSIF_ATTRIBUTES(constant_prefix, str)
 Macro that shortens writing of the repeating code.

Detailed Description

MlpParseHandlers definition.

This file contains MlpParseHandlers class definition.

Author:
Petr Vláčil

Define Documentation

#define MLP_ELSIF ( constant   ) 
Value:
else if( 0 == xercesc::XMLString::compareString( localName , \
                _tagNames. constant .asXmlStr() ) ) \
    { \
        _tagStack.push( MlpConstants:: constant ) ;\
    }

Macro that shortens writing of the repeating code.

This macro shortens writing of the same code for the tag comparison in MlpParserHandlers::pushTag method

#define MLP_ELSIF_ATTRIBUTES ( constant_prefix,
str   ) 
Value:
else if( 0 == xercesc::XMLString::compareString( \
                        value.asXmlStr(), \
                        MlpXmlString( #str ).asXmlStr() \
                        ) \
              ) \
            { \
                return MLP_REPLACE(constant_prefix, str); \
            }

Macro that shortens writing of the repeating code.

This help macro shortens writing of code for reading values of attributes of XML tags.

#define MLP_REPLACE ( a,
 )     (MlpConstants:: a##b)

Macro that shortens writing of the repeating code.

This help macro concatenates two arguments to one string


Generated on Tue Jan 19 10:25:56 2010 for "MLP Library" by  doxygen 1.6.1