Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Mantid::DataHandling::PLN2::FileLoader Class Reference

Public Member Functions

 FileLoader (const char *filename)
 
size_t position ()
 
bool read (char *s, std::streamsize n)
 
size_t selected_position ()
 
size_t size () const
 

Private Attributes

std::ifstream _ifs
 
size_t _size
 

Detailed Description

Definition at line 225 of file LoadPLNnxs.cpp.

Constructor & Destructor Documentation

◆ FileLoader()

Mantid::DataHandling::PLN2::FileLoader::FileLoader ( const char *  filename)
inlineexplicit

Definition at line 230 of file LoadPLNnxs.cpp.

References _ifs, and _size.

Member Function Documentation

◆ position()

size_t Mantid::DataHandling::PLN2::FileLoader::position ( )
inline

Definition at line 243 of file LoadPLNnxs.cpp.

References _ifs.

◆ read()

bool Mantid::DataHandling::PLN2::FileLoader::read ( char *  s,
std::streamsize  n 
)
inline

Definition at line 239 of file LoadPLNnxs.cpp.

References _ifs, and n.

◆ selected_position()

size_t Mantid::DataHandling::PLN2::FileLoader::selected_position ( )
inline

Definition at line 245 of file LoadPLNnxs.cpp.

References _ifs.

◆ size()

size_t Mantid::DataHandling::PLN2::FileLoader::size ( ) const
inline

Definition at line 241 of file LoadPLNnxs.cpp.

References _size.

Member Data Documentation

◆ _ifs

std::ifstream Mantid::DataHandling::PLN2::FileLoader::_ifs
private

Definition at line 226 of file LoadPLNnxs.cpp.

Referenced by FileLoader(), position(), read(), and selected_position().

◆ _size

size_t Mantid::DataHandling::PLN2::FileLoader::_size
private

Definition at line 227 of file LoadPLNnxs.cpp.

Referenced by FileLoader(), and size().


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