void AXRController::setRoot(HSSContainer::p newRoot){ this->root = newRoot; if(this->core->getParserHSS()->currentObjectContextSize() == 0){ this->core->getParserHSS()->currentObjectContextAdd(newRoot); } newRoot->setRoot(true); }
void AXRController::setRoot(HSSContainer::p newRoot){ this->root = newRoot; HSSParser::p hssparser = AXRCore::getInstance()->getParserHSS(); if(hssparser->currentObjectContextSize() == 0){ hssparser->currentObjectContextAdd(newRoot); } newRoot->setRoot(true); }