12 #include "boost/spirit/include/classic.hpp"
14 namespace boost {
namespace spirit {
namespace classic { } } }
16 class Mapper :
public boost::spirit::classic::grammar<Mapper> {
20 template <
typename ScannerT>
struct definition;
85 void do_pair(
char const* str,
char const*
end );
ReadMapType< std::map< std::string, double > > pMapMap
void preProcessElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv)
Called by loadAttributes AFTER attributes are loaded.
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv)
Processing the element.
void operator()(char const *str, char const *end) const
DDLMap(DDLElementRegistry *myreg)
ReadMapType< std::map< std::string, double > > & getMapOfMaps(void)
type of data representation of DDCompactView
virtual std::vector< DDXMLAttribute >::const_iterator end(void)
a std::map<std::string,YourType> that offers a const operator[key]; if key is not stored in the std::...
void do_makeName(char const *str, char const *end)
void operator()(char const *str, char const *end) const
void do_pair(char const *str, char const *end)
DDLMap handles Map container.
This is a base class for processing XML elements in the DDD.
void errorOut(const char *str)
The main class for processing parsed elements.
void do_makeDouble(char const *str, char const *end)
void operator()(char const *str, char const *end) const