|
|
|
@ -163,6 +163,12 @@ public: |
|
|
|
|
if (data[0]=='<') { |
|
|
|
|
//Beginning of XML tag.
|
|
|
|
|
accumulator=data; |
|
|
|
|
if(accumulator.length()>1&&accumulator.at(1)=='/'){ |
|
|
|
|
accumulator=""; //Restart because this is an end tag.
|
|
|
|
|
} |
|
|
|
|
if(accumulator.length()>1&&accumulator.find('>')!=std::string::npos){ |
|
|
|
|
accumulator=""; //Restart because this tag has nothing in it!
|
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
//Start reading in data for this layer.
|
|
|
|
|
std::vector<int>rowData; |
|
|
|
|