sampleSNPs  0.9
Fast ordered sampling of records from files
Public Member Functions | List of all members
sampFiles::HmpFile Class Reference

Hapmap (HMP) file base class. More...

#include <varfiles.hpp>

Inheritance diagram for sampFiles::HmpFile:
Inheritance graph
Collaboration diagram for sampFiles::HmpFile:
Collaboration graph

Public Member Functions

 HmpFile ()
 Default constructor.
 HmpFile (const string &fileName)
 Constructor with file name. More...
 HmpFile (const HmpFile &in)=default
 Copy constructor.
HmpFileoperator= (const HmpFile &in)=default
 Copy assignment.
 HmpFile (HmpFile &&in)=default
 Move constructor.
HmpFileoperator= (HmpFile &&in)=default
 Move assignment.
 ~HmpFile ()
virtual void open ()
 Open stream (does nothing)
virtual void close ()
 Close stream.
- Public Member Functions inherited from sampFiles::GtxtFile
 GtxtFile ()
 Default constructor.
 GtxtFile (const string &fileName)
 Constructor with file name. More...
 GtxtFile (const string &fileName, const bool &head)
 Constructor with file name and header indicator. More...
 GtxtFile (const GtxtFile &in)=default
 Copy constructor.
GtxtFileoperator= (const GtxtFile &in)=default
 Copy assignment.
 GtxtFile (GtxtFile &&in)=default
 Move constructor.
GtxtFileoperator= (GtxtFile &&in)=default
 Move assignment.
 ~GtxtFile ()
- Public Member Functions inherited from sampFiles::VarFile
 VarFile (const VarFile &in)=default
 Copy constructor.
VarFileoperator= (const VarFile &in)=default
 Copy assignment.
 VarFile (VarFile &&in)=default
 Move constructor.
VarFileoperator= (VarFile &&in)=default
 Move assignment.
 ~VarFile ()

Additional Inherited Members

- Protected Member Functions inherited from sampFiles::VarFile
 VarFile ()
 Default constructor (protected)
- Protected Attributes inherited from sampFiles::GtxtFile
string _fileName
 File name.
bool _head
 Is there a header?
- Protected Attributes inherited from sampFiles::VarFile
fstream _varFile
 Variant file stream.

Detailed Description

Hapmap (HMP) file base class.

Sets up streams for HMP files.

Constructor & Destructor Documentation

◆ HmpFile()

sampFiles::HmpFile::HmpFile ( const string &  fileName)

Constructor with file name.

[in]fileNamefile name
Here is the call graph for this function:

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