My Project
Public Member Functions
ReadTextFile Class Reference

List of all members.

Public Member Functions

 ReadTextFile ()
 ~ReadTextFile ()
void SetFileName (string TargetFileName)
void Dump ()
UInt4 PutSize ()
string Put (UInt4 IndexNumber)
vector< string > Put (UInt4 IndexNumber, string Delimiter)

Constructor & Destructor Documentation

Constructor.

Destructor.


Member Function Documentation

Dump the contents of target file to STD-out.

string ReadTextFile::Put ( UInt4  IndexNumber)

Returns IndexNumber-th value in string type format.

vector< string > ReadTextFile::Put ( UInt4  IndexNumber,
string  Delimiter 
)

Returns a vector whose size is defined by the second argument. The IndexNumber-th line is devided by using the second argument as a delimiter.

Returns the number of lines contained in the target file.

void ReadTextFile::SetFileName ( string  TargetFileName)

Set the target file name in the string type. The file size of the target file is estimated in this method. The line number of the file can be obtained with "PutSize()".


The documentation for this class was generated from the following files:
 All Classes Functions Variables Friends