Sample SNPs
Fast ordered sampling of rows from large text or binary files. Special cases for DNA variant files (.bed, VCF, HapMap, etc).
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
sampFiles::VarFile Class Referenceabstract

Base variant file class. More...

#include <varfiles.hpp>

Inheritance diagram for sampFiles::VarFile:
[legend]
Collaboration diagram for sampFiles::VarFile:
[legend]

Public Member Functions

 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 ()
 Destructor.
 
virtual void open ()=0
 Open stream.
 
virtual void close ()=0
 Close stream.
 

Protected Member Functions

 VarFile ()
 Default constructor (protected)
 

Protected Attributes

fstream _varFile
 Variant file stream.
 

Detailed Description

Base variant file class.

Abstract base class for all the input/output formats. Cannot be initialized directly.


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