00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef SADParser_hpp
00025 #define SADParser_hpp 1
00026
00027 #include "Translate/TranslateCore.hpp"
00028
00029
00030
00031 class SADParser : public TranslateCore {
00032 public:
00033
00036 SADParser();
00037
00038 private:
00039
00040 StrVec a_vec;
00041 StrVec b_vec;
00042
00043
00044
00045
00046
00047 void init_lists_sad ();
00048
00049 bool aml_ele_to_x_class (UAPNode* aml_ele, std::string& x_class);
00050
00051 bool custom_x_element_to_x_file (UAPNode* x_node, std::string& comment,
00052 StreamStruct& x_out);
00053
00054
00055
00056 bool custom_aml_node_to_x (UAPNode* aml_ele, UAPNode* x_rep);
00057 bool custom_aml_element_attribute_to_x(UAPNode* aml_root, UAPNode* aml_ele,
00058 UAPNode* aml_attrib, UAPNode* x_ele);
00059 void custom2_aml_element_attribute_to_x (UAPNode* aml_ele, UAPNode* x_rep);
00060
00061
00062
00063 void custom_aml_rep_to_x (UAPNode* lab, UAPNode* x_rep);
00064
00065
00066
00067
00068 };
00069
00070 #endif