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>
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. | |
MlpParseHandlers definition.
This file contains MlpParseHandlers class definition.
| #define MLP_ELSIF | ( | constant | ) |
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 | ) |
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, | |||
| b | ) | (MlpConstants:: a##b) |
Macro that shortens writing of the repeating code.
This help macro concatenates two arguments to one string
1.6.1