CFEL - ASG Software Suite  2.5.0
CASS
Public Types | Public Member Functions | Public Attributes | List of all members
cass::FilePointer Struct Reference

A resource that will point at a specific location within a file. More...

#include <cass.h>

Public Types

typedef std::tr1::shared_ptr< std::ifstream > filestream_t
 defining a shared pointer to the stream More...
 

Public Member Functions

std::ifstream & getStream ()
 

Public Attributes

std::streampos _pos
 the position with the file More...
 
filestream_t _filestream
 the stream to the file More...
 

Detailed Description

A resource that will point at a specific location within a file.

Author
Lutz Foucar

Definition at line 84 of file cass.h.

Member Typedef Documentation

typedef std::tr1::shared_ptr<std::ifstream> cass::FilePointer::filestream_t

defining a shared pointer to the stream

Definition at line 87 of file cass.h.

Member Function Documentation

std::ifstream& cass::FilePointer::getStream ( )
inline
Returns
a stream to the right position within the file

Definition at line 96 of file cass.h.

Referenced by cass::MultiFileInput::readEventData().

Member Data Documentation

filestream_t cass::FilePointer::_filestream

the stream to the file

Definition at line 93 of file cass.h.

Referenced by cass::MultiFileInput::runthis().

std::streampos cass::FilePointer::_pos

the position with the file

Definition at line 90 of file cass.h.

Referenced by cass::MultiFileInput::runthis().


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