#include <ALIFileIn.h>
Public Member Functions | |
ALIFileIn () | |
void | close () |
ALIbool | eof () |
void | ErrorInLine () |
ALIint | getWordsInLine (std::vector< ALIstring > &wl) |
const ALIstring & | name () |
const ALIint | nline () |
~ALIFileIn () | |
Static Public Member Functions | |
static ALIFileIn & | getInstance (const ALIstring &name) |
static ALIFileIn & | getInstanceOpened (const ALIstring &name) |
Private Member Functions | |
ALIFileIn (const ALIstring &name) | |
void | openNewFile (const char *filename) |
Private Attributes | |
int | theCurrentFile |
std::vector< std::ifstream * > | theFiles |
std::vector< ALIint > | theLineNo |
ALIstring | theName |
Name of file. More... | |
std::vector< ALIstring > | theNames |
Static Private Attributes | |
static std::vector< ALIFileIn * > | theInstances |
Definition at line 20 of file ALIFileIn.h.
|
inline |
|
inline |
Definition at line 23 of file ALIFileIn.h.
|
inlineprivate |
Definition at line 26 of file ALIFileIn.h.
void ALIFileIn::close | ( | ) |
Definition at line 217 of file ALIFileIn.cc.
References theCurrentFile, and theFiles.
Referenced by eof(), esMonitoring.AsyncLineReaderMixin::handle_close(), and esMonitoring.FDJsonServer::handle_close().
ALIbool ALIFileIn::eof | ( | ) |
Definition at line 200 of file ALIFileIn.cc.
References close(), theCurrentFile, and theFiles.
Referenced by getWordsInLine(), and DeviationsFromFileSensor2D::readFile().
void ALIFileIn::ErrorInLine | ( | ) |
Definition at line 195 of file ALIFileIn.cc.
References DMR_cfg::cerr, theCurrentFile, theLineNo, and theNames.
Referenced by MeasurementDiffEntry::buildOptONamesList(), Entry::fill(), Entry::fillFromInputFileQuality(), Entry::fillFromInputFileSigma(), Entry::fillFromInputFileValue(), getWordsInLine(), and Model::readSystemDescription().
Definition at line 21 of file ALIFileIn.cc.
References ALIFileIn(), corrVsCorr::filename, instance, and theInstances.
Referenced by MeasurementDiffEntry::buildOptONamesList(), CocoaDaqReaderText::CocoaDaqReaderText(), Measurement::construct(), OpticalObject::construct(), Entry::fill(), OptOSensor2D::fillExtraEntry(), Entry::fillFromInputFileQuality(), Entry::fillFromInputFileSigma(), Entry::fillFromInputFileValue(), FittedEntriesReader::FittedEntriesReader(), getInstanceOpened(), ErrorCorrelationMgr::readFromReportFile(), Model::readMeasurementsFromFile(), and Model::readSystemDescription().
Definition at line 59 of file ALIFileIn.cc.
References DMR_cfg::cerr, beamvalidation::exit(), ConfigBuilder::filein, corrVsCorr::filename, and getInstance().
Definition at line 73 of file ALIFileIn.cc.
References DMR_cfg::cerr, eof(), ErrorInLine(), beamvalidation::exit(), cuy::ii, openNewFile(), theCurrentFile, theFiles, and theLineNo.
Referenced by OptOSensor2D::fillExtraEntry(), FittedEntriesReader::FittedEntriesReader(), DeviationsFromFileSensor2D::readFile(), and FittedEntriesReader::readFittedEntriesFromFile().
|
inline |
Definition at line 43 of file ALIFileIn.h.
References theName.
Referenced by config.CFG::__str__(), validation.Sample::digest(), VIDSelectorBase.VIDSelectorBase::initialize(), and DeviationsFromFileSensor2D::readFile().
|
inline |
Definition at line 41 of file ALIFileIn.h.
References theCurrentFile, and theLineNo.
Referenced by Model::readSystemDescription().
|
private |
Definition at line 37 of file ALIFileIn.cc.
References DMR_cfg::cerr, beamvalidation::exit(), corrVsCorr::filename, groupFilesInBlocks::fin, theCurrentFile, theFiles, theLineNo, and theNames.
Referenced by getWordsInLine().
|
private |
Definition at line 56 of file ALIFileIn.h.
Referenced by close(), eof(), ErrorInLine(), getWordsInLine(), nline(), and openNewFile().
|
private |
Definition at line 52 of file ALIFileIn.h.
Referenced by close(), eof(), getWordsInLine(), and openNewFile().
|
staticprivate |
Definition at line 60 of file ALIFileIn.h.
Referenced by getInstance().
|
private |
Definition at line 54 of file ALIFileIn.h.
Referenced by ErrorInLine(), getWordsInLine(), nline(), and openNewFile().
|
private |
|
private |
Definition at line 55 of file ALIFileIn.h.
Referenced by ErrorInLine(), and openNewFile().