#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 21 of file ALIFileIn.h.
|
inline |
|
inline |
Definition at line 25 of file ALIFileIn.h.
|
inlineprivate |
Definition at line 27 of file ALIFileIn.h.
void ALIFileIn::close | ( | ) |
Definition at line 229 of file ALIFileIn.cc.
References theCurrentFile, and theFiles.
Referenced by eof(), lumiQTWidget.ApplicationWindow::fileQuit(), esMonitoring.AsyncLineReaderMixin::handle_close(), esMonitoring.FDJsonServer::handle_close(), Vispa.Gui.BoxContentDialog.BoxContentDialog::keyPressEvent(), Vispa.Gui.FindDialog.FindDialog::keyPressEvent(), and Model::readSystemDescription().
ALIbool ALIFileIn::eof | ( | ) |
Definition at line 211 of file ALIFileIn.cc.
References close(), theCurrentFile, and theFiles.
Referenced by getWordsInLine(), DeviationsFromFileSensor2D::readFile(), Model::readMeasurementsFromFile(), and Model::readSystemDescription().
void ALIFileIn::ErrorInLine | ( | ) |
Definition at line 204 of file ALIFileIn.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, theCurrentFile, theLineNo, and theNames.
Referenced by MeasurementDiffEntry::buildOptONamesList(), OpticalObject::createComponentOptOs(), Entry::fill(), Entry::fillFromInputFileQuality(), Entry::fillFromInputFileSigma(), Entry::fillFromInputFileValue(), getWordsInLine(), OpticalObject::readCoordinates(), Model::readMeasurementsFromFile(), Model::readSystemDescription(), and GlobalOptionMgr::setGlobalOption().
Definition at line 23 of file ALIFileIn.cc.
References ALIFileIn(), lut2db_cfg::filename, instance, openNewFile(), theCurrentFile, 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 66 of file ALIFileIn.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, cmsRelvalreport::exit, lut2db_cfg::filename, getInstance(), and name().
Definition at line 83 of file ALIFileIn.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, comment, eof(), ErrorInLine(), cmsRelvalreport::exit, cuy::ii, openNewFile(), theCurrentFile, theFiles, theLineNo, and groupFilesInBlocks::tt.
Referenced by Measurement::construct(), OpticalObject::createComponentOptOs(), OptOSensor2D::fillExtraEntry(), FittedEntriesReader::FittedEntriesReader(), OpticalObject::readCoordinates(), OpticalObject::readData(), OpticalObject::readExtraEntries(), DeviationsFromFileSensor2D::readFile(), FittedEntriesReader::readFittedEntriesFromFile(), ErrorCorrelationMgr::readFromReportFile(), Model::readMeasurementsFromFile(), and Model::readSystemDescription().
|
inline |
Definition at line 44 of file ALIFileIn.h.
References theName.
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), config.CFG::__str__(), validation.Sample::digest(), getInstanceOpened(), VIDSelectorBase.VIDSelectorBase::initialize(), DeviationsFromFileSensor2D::readFile(), and Vispa.Views.PropertyView.Property::valueChanged().
|
inline |
Definition at line 42 of file ALIFileIn.h.
References theCurrentFile, and theLineNo.
Referenced by Model::readSystemDescription().
|
private |
Definition at line 41 of file ALIFileIn.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, cmsRelvalreport::exit, groupFilesInBlocks::fin, theCurrentFile, theFiles, theLineNo, and theNames.
Referenced by getInstance(), and getWordsInLine().
|
private |
Definition at line 57 of file ALIFileIn.h.
Referenced by close(), eof(), ErrorInLine(), getInstance(), getWordsInLine(), nline(), and openNewFile().
|
private |
Definition at line 53 of file ALIFileIn.h.
Referenced by close(), eof(), getWordsInLine(), and openNewFile().
|
staticprivate |
Definition at line 61 of file ALIFileIn.h.
Referenced by getInstance().
|
private |
Definition at line 55 of file ALIFileIn.h.
Referenced by ErrorInLine(), getWordsInLine(), nline(), and openNewFile().
|
private |
Name of file.
Definition at line 64 of file ALIFileIn.h.
Referenced by twikiExport.Constituent::__str__(), twikiExport.Material::__str__(), and name().
|
private |
Definition at line 56 of file ALIFileIn.h.
Referenced by ErrorInLine(), and openNewFile().