Public Member Functions

CStreamingAsciiFile Class Reference

Detailed Description

Class StreamingAsciiFile to read vector-by-vector from ASCII files.

The object must be initialized like a CAsciiFile.

Definition at line 23 of file StreamingAsciiFile.h.

Inheritance diagram for CStreamingAsciiFile:
Inheritance graph

List of all members.

Public Member Functions

 CStreamingAsciiFile ()
 CStreamingAsciiFile (char *fname, char rw='r')
virtual ~CStreamingAsciiFile ()
bool str_to_bool (char *str)
virtual const char * get_name () const

Constructor & Destructor Documentation

Default constructor

Definition at line 18 of file StreamingAsciiFile.cpp.

CStreamingAsciiFile ( char *  fname,
char  rw = 'r' 

Constructor taking file name argument

fname file name
rw read/write mode

Definition at line 24 of file StreamingAsciiFile.cpp.

~CStreamingAsciiFile (  )  [virtual]


Definition at line 29 of file StreamingAsciiFile.cpp.

Member Function Documentation

virtual const char* get_name ( void   )  const [virtual]
object name

Reimplemented from CStreamingFile.

Definition at line 92 of file StreamingAsciiFile.h.

bool str_to_bool ( char *  str  ) 

Utility function to convert a string to a boolean value

str string to convert
boolean value

Definition at line 52 of file StreamingAsciiFile.h.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation