public static int ConsoleGTP(string filename, bool loadSilent) { MemFile lMemFile = new MemFile(filename); if (!lMemFile.IsError()) return ConsoleGTP(lMemFile, loadSilent); Console.WriteLine("unable to load file: " + filename + " because: " + lMemFile.GetErrorMessage()); return -1; }
public bool LoadSGFFile(string filename) { MemFile lMemFile = new MemFile(filename); if (lMemFile.IsError()) { return(SetErrorMessage(lMemFile)); } return(LoadSGFFile(lMemFile)); }
public bool Load(string filename, bool continueOnError) { MemFile lMemFile = new MemFile(filename); if (lMemFile.IsError()) { return(SetErrorMessage(lMemFile)); } return(Load(lMemFile, continueOnError)); }
public static int ConsoleGTP(string filename, bool loadSilent) { MemFile lMemFile = new MemFile(filename); if (!lMemFile.IsError()) { return(ConsoleGTP(lMemFile, loadSilent)); } Console.WriteLine("unable to load file: " + filename + " because: " + lMemFile.GetErrorMessage()); return(-1); }
public DFAMatrix(string filename) { MemFile lMemFile = new MemFile(filename); if (lMemFile.IsError()) { SetErrorMessage(lMemFile); return; } PatternCollection lPatternCollection = new PatternCollection(lMemFile); if (lPatternCollection.IsError()) SetErrorMessage(lPatternCollection); _LoadMatrix(lMemFile, lPatternCollection); }
public DFAMatrix(string filename) { MemFile lMemFile = new MemFile(filename); if (lMemFile.IsError()) { SetErrorMessage(lMemFile); return; } PatternCollection lPatternCollection = new PatternCollection(lMemFile); if (lPatternCollection.IsError()) { SetErrorMessage(lPatternCollection); } _LoadMatrix(lMemFile, lPatternCollection); }
public bool Load(string filename, bool continueOnError) { MemFile lMemFile = new MemFile(filename); if (lMemFile.IsError()) return SetErrorMessage(lMemFile); return Load(lMemFile, continueOnError); }
public bool LoadSGFFile(string filename) { MemFile lMemFile = new MemFile(filename); if (lMemFile.IsError()) return SetErrorMessage(lMemFile); return LoadSGFFile(lMemFile); }