ICP  1
Public Member Functions | Private Attributes | List of all members
DetectorFileASCII Class Reference

#include <DetectorFile.h>

Inheritance diagram for DetectorFileASCII:
Inheritance graph

Public Member Functions

 DetectorFileASCII (const char *filename)
 
void readLine (int &det_no, DETECTOR &det)
 
bool good () const
 
int numLines () const
 
int numUserTables () const
 
 ~DetectorFileASCII ()
 
- Public Member Functions inherited from IDetectorFile
virtual ~IDetectorFile ()
 

Private Attributes

int m_nlines
 
int m_nuse
 
std::ifstream m_file
 
- Private Attributes inherited from ISIS::Base
Poco::Logger * m_logger
 
Poco::LogStream * m_logstr
 
Poco::Mutex m_logger_lock
 

Additional Inherited Members

- Private Member Functions inherited from ISIS::Base
 Base (const std::string &logger_name="UNKNOWN")
 
void setLoggerName (const std::string &logger_name)
 
virtual ~Base ()
 
virtual std::string loggingPrefix () const
 
void setThisLoggerLevel (int level)
 
- Static Private Member Functions inherited from ISIS::Base
static void setAllLoggerLevel (int level)
 

Detailed Description

Definition at line 30 of file DetectorFile.h.

Constructor & Destructor Documentation

DetectorFileASCII::DetectorFileASCII ( const char *  filename)

Definition at line 4 of file DetectorFileASCII.cpp.

References m_file, m_nlines, m_nuse, and ISIS::Base::setLoggerName().

DetectorFileASCII::~DetectorFileASCII ( )
inline

Definition at line 44 of file DetectorFile.h.

References m_file.

Member Function Documentation

bool DetectorFileASCII::good ( ) const
inlinevirtual

Implements IDetectorFile.

Definition at line 40 of file DetectorFile.h.

References m_file.

int DetectorFileASCII::numLines ( ) const
inlinevirtual

Implements IDetectorFile.

Definition at line 42 of file DetectorFile.h.

References m_nlines.

int DetectorFileASCII::numUserTables ( ) const
inlinevirtual

Implements IDetectorFile.

Definition at line 43 of file DetectorFile.h.

References m_nuse.

void DetectorFileASCII::readLine ( int &  det_no,
DETECTOR det 
)
virtual

Member Data Documentation

std::ifstream DetectorFileASCII::m_file
private

Definition at line 35 of file DetectorFile.h.

Referenced by DetectorFileASCII(), good(), readLine(), and ~DetectorFileASCII().

int DetectorFileASCII::m_nlines
private

Definition at line 33 of file DetectorFile.h.

Referenced by DetectorFileASCII(), and numLines().

int DetectorFileASCII::m_nuse
private

Definition at line 34 of file DetectorFile.h.

Referenced by DetectorFileASCII(), numUserTables(), and readLine().


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