22 #ifndef _INTERFACES_GENERATOR_PARSER_H_
23 #define _INTERFACES_GENERATOR_PARSER_H_
26 #include "enum_constant.h"
29 #include "pseudomap.h"
45 std::vector<InterfaceField>
getFields(xmlpp::Node * node,
46 const std::set<std::string> &reserved_names);
47 std::vector<InterfacePseudoMap>
getPseudoMaps(xmlpp::Node * node,
48 std::vector<InterfaceField> &fields);
51 void printFields(std::vector<InterfaceField> &fields);
54 void printParsed(std::vector<InterfaceConstant> & constants,
55 std::vector<InterfaceEnumConstant> &enum_constants,
56 std::vector<InterfaceField> & data_fields,
57 std::vector<InterfacePseudoMap> & pseudo_maps,
58 std::vector<InterfaceMessage> & messages);
72 xmlpp::DomParser *dom;
77 std::string creation_date;
78 std::string data_comment;
80 std::vector<InterfaceConstant> constants;
81 std::vector<InterfaceEnumConstant> enum_constants;
82 std::vector<InterfaceField> data_fields;
83 std::vector<InterfacePseudoMap> pseudo_maps;
84 std::vector<InterfaceMessage> messages;