Code: Select all
CXMLReader::CXMLReader(wchar_t* rawdata)
: Reader(0), P(0), TextBegin(0), TextSize(0), CurrentNodeType(EXN_NONE)
{
if(t) {
P = t;
TextBegin = P;
TextSize = wstrlen(t);
}
}
Code: Select all
//! Creates a XML Reader from a file.
IXMLReader* CSomething::createXMLReader(wchar_t* rawdata)
{
if (!rawdata)
return 0;
IXMLReader* reader = createXMLReader(rawdata);
return reader;
}
But anyway this is directed at niko, if it would be a possible addition to the engine. Personally, I would find something like this incredibly useful.