aknlayoutcompiler/src/MLEqCompData2DHuiML.cpp
changeset 1 b700e12870ca
parent 0 f58d6ec98e88
equal deleted inserted replaced
0:f58d6ec98e88 1:b700e12870ca
    22 #include "MLEqCompData2DHuiML.h"
    22 #include "MLEqCompData2DHuiML.h"
    23 #include "MLEqCompDataParse.h"
    23 #include "MLEqCompDataParse.h"
    24 #include "LayoutCompilerErr.h"
    24 #include "LayoutCompilerErr.h"
    25 #include "FormulaTree.h"
    25 #include "FormulaTree.h"
    26 
    26 
    27 #include <cdlcompilertoolkit/cdltkprocess.h>
    27 #include <CdlCompilerToolkit/CdlTkProcess.h>
    28 
    28 
    29 #include <fstream>
    29 #include <fstream>
    30 #include <iostream>
    30 #include <iostream>
    31 #include <sstream>
    31 #include <sstream>
    32 #include <algorithm>
    32 #include <algorithm>
   186 	theLayout->Compile();
   186 	theLayout->Compile();
   187 
   187 
   188 	cout << "writing dhuiml file " << dhuimlName << endl;
   188 	cout << "writing dhuiml file " << dhuimlName << endl;
   189 	ofstream dhuiml(dhuimlName.c_str());
   189 	ofstream dhuiml(dhuimlName.c_str());
   190 
   190 
   191 	int KIndent = 4;
   191 	//int KIndent = 4;
   192 	TEqLayoutSaxWriter saxWriter(dhuiml);
   192 	TEqLayoutSaxWriter saxWriter(dhuiml);
   193 	saxWriter.StartDocument();
   193 	saxWriter.StartDocument();
   194 
   194 
   195 	stringstream comment1;
   195 	stringstream comment1;
   196 	comment1 << "Generated from list: " << listName;
   196 	comment1 << "Generated from list: " << listName;