#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.
References ErrorInLine(), getInstance(), getInstanceOpened(), getWordsInLine(), and name().
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(), name(), and Model::readSystemDescription().
ALIbool ALIFileIn::eof | ( | ) |
Definition at line 211 of file ALIFileIn.cc.
References close(), theCurrentFile, and theFiles.
Referenced by getWordsInLine(), name(), DeviationsFromFileSensor2D::readFile(), Model::readMeasurementsFromFile(), and Model::readSystemDescription().
void ALIFileIn::ErrorInLine | ( | ) |
Definition at line 204 of file ALIFileIn.cc.
References MessageLogger_cfi::cerr, theCurrentFile, theLineNo, and theNames.
Referenced by ALIFileIn(), 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(), corrVsCorr::filename, instance, openNewFile(), theCurrentFile, and theInstances.
Referenced by ALIFileIn(), 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 MessageLogger_cfi::cerr, cmsRelvalreport::exit, corrVsCorr::filename, getInstance(), and name().
Referenced by ALIFileIn().
Definition at line 83 of file ALIFileIn.cc.
References MessageLogger_cfi::cerr, comment, eof(), ErrorInLine(), cmsRelvalreport::exit, cuy::ii, openNewFile(), theCurrentFile, theFiles, theLineNo, and groupFilesInBlocks::tt.
Referenced by ALIFileIn(), 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 close(), eof(), corrVsCorr::filename, openNewFile(), and theName.
Referenced by config.CFG::__str__(), ALIFileIn(), 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 MessageLogger_cfi::cerr, cmsRelvalreport::exit, groupFilesInBlocks::fin, theCurrentFile, theFiles, theLineNo, and theNames.
Referenced by getInstance(), getWordsInLine(), and name().
|
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().