OpenMS  2.4.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
FidHandler Class Reference

Read-only fid File handler for XMass Analysis. More...

#include <OpenMS/FORMAT/HANDLERS/FidHandler.h>

Inheritance diagram for FidHandler:

Public Member Functions

 FidHandler (const String &filename)
 Constructor with filename. More...
 
 ~FidHandler () override
 Destructor. More...
 
Size getIndex ()
 Get index of current position (without position moving). More...
 
Size getIntensity ()
 Get intensity of current position and move to next position. More...
 

Private Member Functions

 FidHandler ()
 Private default constructor. More...
 

Private Attributes

Size index_
 Index of position. More...
 

Detailed Description

Read-only fid File handler for XMass Analysis.

fid File contains intensity array. Intensity for each point are coded in 4 bytes integer.

Note
Do not use this class directly. It is only needed for XMassFile.

Constructor & Destructor Documentation

◆ FidHandler() [1/2]

FidHandler ( const String filename)
explicit

Constructor with filename.

Open fid File as stream and initialize index.

Parameters
filenameto fid File.

◆ ~FidHandler()

~FidHandler ( )
override

Destructor.

◆ FidHandler() [2/2]

FidHandler ( )
private

Private default constructor.

Member Function Documentation

◆ getIndex()

Size getIndex ( )

Get index of current position (without position moving).

◆ getIntensity()

Size getIntensity ( )

Get intensity of current position and move to next position.

Member Data Documentation

◆ index_

Size index_
private

Index of position.