NumberFile Class Reference

Routines to read lists of numbers from text files. More...

List of all members.

Static Public Member Functions

static IList< int > ReadIntegers (string filename)
 Read a list of integers from a file.
static IList< int > ReadIntegers (StreamReader reader)
 Read a list of integers from a StreamReader.
static IList< long > ReadLongs (string filename)
 Read a list of longs from a file.
static IList< long > ReadLongs (StreamReader reader)
 Read a list of longs from a StreamReader.

Detailed Description

Routines to read lists of numbers from text files.


Member Function Documentation

static IList<int> ReadIntegers ( string  filename  )  [inline, static]

Read a list of integers from a file.

Parameters:
filename the name of the file to be read from
Returns:
a list of integers
static IList<int> ReadIntegers ( StreamReader  reader  )  [inline, static]

Read a list of integers from a StreamReader.

Parameters:
reader the StreamReader to be read from
Returns:
a list of integers
static IList<long> ReadLongs ( string  filename  )  [inline, static]

Read a list of longs from a file.

Parameters:
filename the name of the file to be read from
Returns:
a list of longs
static IList<long> ReadLongs ( StreamReader  reader  )  [inline, static]

Read a list of longs from a StreamReader.

Parameters:
reader the StreamReader to be read from
Returns:
a list of longs

The documentation for this class was generated from the following file:
Generated on Sat Oct 8 18:11:34 2011 for MyMediaLite by  doxygen 1.6.3