Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes

alize::LabelFileReader Class Reference

#include <LabelFileReader.h>

Inheritance diagram for alize::LabelFileReader:
Inheritance graph
[legend]
Collaboration diagram for alize::LabelFileReader:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LabelFileReader (const FileName &f, const Config &c)
virtual ~LabelFileReader ()
virtual void readLabels (LabelSet &s)
virtual String getClassName () const

Static Public Member Functions

static LabelFileReadercreate (const FileName &f, const Config &c)

Private Member Functions

bool operator== (const LabelFileReader &) const
bool operator!= (const LabelFileReader &) const
const LabelFileReaderoperator= (const LabelFileReader &)
 LabelFileReader (const LabelFileReader &)

Private Attributes

FileReader_pReader

Detailed Description

Convenient class used to read Label file

Deprecated:
since jan 2005
Author:
Frederic Wils frederic.wils@lia.univ-avignon.fr
Version:
1.0
Date:
2004

Definition at line 84 of file LabelFileReader.h.


Constructor & Destructor Documentation

alize::LabelFileReader::LabelFileReader ( const FileName f,
const Config c 
) [explicit]

Creates a new LabelFileReader object

Parameters:
fthe file to read
cthe configuration to use
virtual alize::LabelFileReader::~LabelFileReader (  ) [virtual]
alize::LabelFileReader::LabelFileReader ( const LabelFileReader  ) [private]

Not implemented


Member Function Documentation

static LabelFileReader& alize::LabelFileReader::create ( const FileName f,
const Config c 
) [static]

Creates a new LabelFileReader object to read parameters from a raw file.

Parameters:
fthe file to use
cthe configuration to use
virtual String alize::LabelFileReader::getClassName (  ) const [virtual]

Returns the name of the class

Returns:
the name of the class of the object as a String

Implements alize::Object.

bool alize::LabelFileReader::operator!= ( const LabelFileReader  ) const [private]

Not implemented

const LabelFileReader& alize::LabelFileReader::operator= ( const LabelFileReader  ) [private]

Not implemented

bool alize::LabelFileReader::operator== ( const LabelFileReader  ) const [private]
virtual void alize::LabelFileReader::readLabels ( LabelSet s ) [virtual]

Reads all the data from the file and stores them in a LabelSet object

Parameters:
sLabelSet object to store the loaded data
Exceptions:
IOExceptionif an I/O error occurs
FileNotFoundException

Referenced by alize::LabelSet::load().


Member Data Documentation

Definition at line 117 of file LabelFileReader.h.


The documentation for this class was generated from the following file: