#include <raw_ifstream.h>
◆ raw_ifstream() [1/3]
| raw_ifstream::raw_ifstream |
( |
const std::vector< std::string > & | fnames | ) |
|
Definition at line 43 of file raw_ifstream.cxx.
44 : m_isOpen( false ), m_fnames( fnames ) {
45 if ( m_fnames.empty() ) { throw RawExMessage( "[RawFile] Empty input file list!" ); }
46
47 m_curFile = m_fnames.begin();
48 init_fstream();
49}
Referenced by instance().
◆ ~raw_ifstream() [1/3]
| raw_ifstream::~raw_ifstream |
( |
| ) |
|
|
virtual |
◆ raw_ifstream() [2/3]
| raw_ifstream::raw_ifstream |
( |
const std::vector< std::string > & | fnames | ) |
|
◆ ~raw_ifstream() [2/3]
| virtual raw_ifstream::~raw_ifstream |
( |
| ) |
|
|
virtual |
◆ raw_ifstream() [3/3]
| raw_ifstream::raw_ifstream |
( |
const std::vector< std::string > & | fnames | ) |
|
◆ ~raw_ifstream() [3/3]
| virtual raw_ifstream::~raw_ifstream |
( |
| ) |
|
|
virtual |
◆ currentFile() [1/3]
| std::string raw_ifstream::currentFile |
( |
| ) |
const |
|
inline |
◆ currentFile() [2/3]
| std::string raw_ifstream::currentFile |
( |
| ) |
const |
|
inline |
◆ currentFile() [3/3]
| std::string raw_ifstream::currentFile |
( |
| ) |
const |
|
inline |
◆ fileNameStrings() [1/3]
◆ fileNameStrings() [2/3]
◆ fileNameStrings() [3/3]
◆ fileStartRecord() [1/3]
◆ fileStartRecord() [2/3]
◆ fileStartRecord() [3/3]
◆ instance() [1/3]
| raw_ifstream * raw_ifstream::instance |
( |
const std::vector< std::string > & | fnames | ) |
|
|
static |
◆ instance() [2/3]
| raw_ifstream * raw_ifstream::instance |
( |
const std::vector< std::string > & | fnames | ) |
|
|
static |
◆ instance() [3/3]
| raw_ifstream * raw_ifstream::instance |
( |
const std::vector< std::string > & | fnames | ) |
|
|
static |
◆ lock() [1/3]
| void raw_ifstream::lock |
( |
| ) |
|
|
inlinestatic |
◆ lock() [2/3]
| void raw_ifstream::lock |
( |
| ) |
|
|
inlinestatic |
◆ lock() [3/3]
| void raw_ifstream::lock |
( |
| ) |
|
|
inlinestatic |
◆ next_file() [1/3]
| void raw_ifstream::next_file |
( |
| ) |
|
Definition at line 53 of file raw_ifstream.cxx.
53 {
54 std::cout << "[RawFile] Closing: " << *m_curFile << std::endl;
55 close();
56 m_isOpen = false;
57
58 if ( ++m_curFile == m_fnames.end() )
59 {
60 --m_curFile;
61 throw ReachEndOfFileList();
62 }
63
64 init_fstream();
65}
◆ next_file() [2/3]
| void raw_ifstream::next_file |
( |
| ) |
|
◆ next_file() [3/3]
| void raw_ifstream::next_file |
( |
| ) |
|
◆ release() [1/3]
| void raw_ifstream::release |
( |
| ) |
|
|
static |
Definition at line 26 of file raw_ifstream.cxx.
26 {
28
29 if ( _nHandler > 0 && --_nHandler == 0 )
30 {
31 if ( _instance->m_isOpen )
32 {
33 std::cout << "[RawFile] Closing: " << *( _instance->m_curFile ) << std::endl;
34 _instance->close();
35 }
36 delete _instance;
37 _instance = 0;
38 }
39
41}
Referenced by RawFileReader::~RawFileReader().
◆ release() [2/3]
| void raw_ifstream::release |
( |
| ) |
|
|
static |
◆ release() [3/3]
| void raw_ifstream::release |
( |
| ) |
|
|
static |
◆ runNo() [1/3]
| uint32_t raw_ifstream::runNo |
( |
| ) |
|
Definition at line 67 of file raw_ifstream.cxx.
67{ return m_runParametersRecord.getRecord().run_number; }
◆ runNo() [2/3]
| uint32_t raw_ifstream::runNo |
( |
| ) |
|
◆ runNo() [3/3]
| uint32_t raw_ifstream::runNo |
( |
| ) |
|
◆ runParametersRecord() [1/3]
◆ runParametersRecord() [2/3]
◆ runParametersRecord() [3/3]
◆ unlock() [1/3]
| void raw_ifstream::unlock |
( |
| ) |
|
|
inlinestatic |
◆ unlock() [2/3]
| void raw_ifstream::unlock |
( |
| ) |
|
|
inlinestatic |
◆ unlock() [3/3]
| void raw_ifstream::unlock |
( |
| ) |
|
|
inlinestatic |
The documentation for this class was generated from the following files: