This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <sstream> | |
#include <fstream> | |
#include <string> | |
// Inherit from this class, passing your node type as T | |
// template argument. Override GetNumChildren, GetChildNode | |
// and GetNodeName to provide a way of accessing node's name, | |
// its children and number of them. | |
template<typename T> |