WMS:WMLibFileIo

From XMS Wiki
Revision as of 15:46, 10 November 2011 by Cmsmemoe (talk | contribs) (Created page with " == Description == The '''public class FileIo''' class is used to handle file I/O operations in the WMLib. == Functions == *'''public static bool FileCompare(string file1, str...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description

The public class FileIo class is used to handle file I/O operations in the WMLib.

Functions

  • public static bool FileCompare(string file1, string file2)

This function compares two files, file1 and file2. The return value is true if the contents of the files are exactly the same and false otherwise.

  • public static bool ReadTreeFile(string a_fileName, WMLib.HydroTree a_hydroTree)

This function reads a WMS Tree (.tre) file with the name a_filename and stores the tree information in the hydrologic tree a_hydrotree.