bool BinTreeNodeReader::nextTree(ProtocolTreeNode& node) { bool result; node.setSize(getOneToplevelStream()); QDataStream in(readBuffer); result = nextTreeInternal(node, in); qDebug() << "read" << node.toString(); return result; }
bool BinTreeNodeReader::nextTree(ProtocolTreeNode& node) { bool result; node.setSize(getOneToplevelStream()); QDataStream in(readBuffer); result = nextTreeInternal(node, in); Utilities::logData(QDateTime::currentDateTime().toString()); Utilities::logData(node.toString()); return result; }
bool BinTreeNodeReader::nextTree(ProtocolTreeNode& node) { bool result; if (!getOneToplevelStream()) { return false; } node.setSize(getOneToplevelStreamSize()); result = nextTreeInternal(node); Utilities::logData("INCOMING:\n" + node.toString()); return result; }