BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
MpdLibZ Class Reference

#include <MpdGetNumEvents.h>

Public Member Functions

 MpdLibZ (const char *filename)
virtual ~MpdLibZ ()
int open (const char *mode)
int eof ()
int close ()
int write (voidpc buf, unsigned len)
int read (voidp buf, unsigned len)
char * gets (char *buf, int len)
int puts (char *s)
off_t tell ()
off_t seek (off_t pos, int whence)
 MpdLibZ (const char *filename)
virtual ~MpdLibZ ()
int open (const char *mode)
int eof ()
int close ()
int write (voidpc buf, unsigned len)
int read (voidp buf, unsigned len)
char * gets (char *buf, int len)
int puts (char *s)
off_t tell ()
off_t seek (off_t pos, int whence)

Private Attributes

const char * fileName
gzFile file

Detailed Description

Definition at line 8 of file MpdGetNumEvents.h.

Constructor & Destructor Documentation

◆ MpdLibZ() [1/2]

MpdLibZ::MpdLibZ ( const char * filename)

Definition at line 13 of file MpdGetNumEvents.cxx.

References fileName.

Referenced by seek().

Here is the caller graph for this function:

◆ ~MpdLibZ() [1/2]

MpdLibZ::~MpdLibZ ( )
virtual

Definition at line 18 of file MpdGetNumEvents.cxx.

References close(), and file.

Here is the call graph for this function:

◆ MpdLibZ() [2/2]

MpdLibZ::MpdLibZ ( const char * filename)

◆ ~MpdLibZ() [2/2]

virtual MpdLibZ::~MpdLibZ ( )
virtual

Member Function Documentation

◆ close() [1/2]

int MpdLibZ::close ( )

Definition at line 60 of file MpdGetNumEvents.cxx.

References file.

Referenced by ~MpdLibZ(), MpdGetNumEvents::GetNumDCMSMMEvents(), MpdGetNumEvents::GetNumEvents(), MpdGetNumEvents::GetNumPHSDEvents(), MpdGetNumEvents::GetNumQGSMEvents(), MpdGetNumEvents::GetNumURQMDEvents(), and MpdGetNumEvents::GetQGSMEventHeader().

Here is the caller graph for this function:

◆ close() [2/2]

int MpdLibZ::close ( )

◆ eof() [1/2]

int MpdLibZ::eof ( )

Definition at line 52 of file MpdGetNumEvents.cxx.

References file.

Referenced by MpdGetNumEvents::GetNumDCMSMMEvents(), MpdGetNumEvents::GetNumPHSDEvents(), MpdGetNumEvents::GetNumURQMDEvents(), and MpdGetNumEvents::GetQGSMEventHeader().

Here is the caller graph for this function:

◆ eof() [2/2]

int MpdLibZ::eof ( )

◆ gets() [1/2]

char * MpdLibZ::gets ( char * buf,
int len )

Definition at line 82 of file MpdGetNumEvents.cxx.

References file.

Referenced by MpdGetNumEvents::GetNumDCMSMMEvents(), MpdGetNumEvents::GetNumEvents(), MpdGetNumEvents::GetNumPHSDEvents(), MpdGetNumEvents::GetNumQGSMEvents(), MpdGetNumEvents::GetNumURQMDEvents(), and MpdGetNumEvents::GetQGSMEventHeader().

Here is the caller graph for this function:

◆ gets() [2/2]

char * MpdLibZ::gets ( char * buf,
int len )

◆ open() [1/2]

int MpdLibZ::open ( const char * mode)

Definition at line 40 of file MpdGetNumEvents.cxx.

References file, and fileName.

Referenced by MpdGetNumEvents::GetNumDCMSMMEvents(), MpdGetNumEvents::GetNumEvents(), MpdGetNumEvents::GetNumPHSDEvents(), MpdGetNumEvents::GetNumQGSMEvents(), and MpdGetNumEvents::GetNumURQMDEvents().

Here is the caller graph for this function:

◆ open() [2/2]

int MpdLibZ::open ( const char * mode)

◆ puts() [1/2]

int MpdLibZ::puts ( char * s)

Definition at line 72 of file MpdGetNumEvents.cxx.

References file.

◆ puts() [2/2]

int MpdLibZ::puts ( char * s)

◆ read() [1/2]

int MpdLibZ::read ( voidp buf,
unsigned len )

Definition at line 92 of file MpdGetNumEvents.cxx.

References file.

◆ read() [2/2]

int MpdLibZ::read ( voidp buf,
unsigned len )

◆ seek() [1/2]

off_t MpdLibZ::seek ( off_t pos,
int whence )

Definition at line 119 of file MpdGetNumEvents.cxx.

References file.

Referenced by MpdGetNumEvents::GetQGSMEventHeader().

Here is the caller graph for this function:

◆ seek() [2/2]

off_t MpdLibZ::seek ( off_t pos,
int whence )

References MpdLibZ(), file, and fileName.

Here is the call graph for this function:

◆ tell() [1/2]

off_t MpdLibZ::tell ( )

Definition at line 139 of file MpdGetNumEvents.cxx.

References file.

Referenced by MpdGetNumEvents::GetQGSMEventHeader().

Here is the caller graph for this function:

◆ tell() [2/2]

off_t MpdLibZ::tell ( )

◆ write() [1/2]

int MpdLibZ::write ( voidpc buf,
unsigned len )

Definition at line 100 of file MpdGetNumEvents.cxx.

References file.

◆ write() [2/2]

int MpdLibZ::write ( voidpc buf,
unsigned len )

Member Data Documentation

◆ file

gzFile MpdLibZ::file
private

Definition at line 31 of file MpdGetNumEvents.h.

Referenced by ~MpdLibZ(), close(), eof(), gets(), open(), puts(), read(), seek(), tell(), and write().

◆ fileName

const char * MpdLibZ::fileName
private

Definition at line 29 of file MpdGetNumEvents.h.

Referenced by MpdLibZ(), open(), and seek().


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