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

Generic text file output class. More...

#include <varfiles.hpp>

Inheritance diagram for sampFiles::GtxtFileO:
Inheritance graph
[legend]
Collaboration diagram for sampFiles::GtxtFileO:
Collaboration graph
[legend]

Public Member Functions

 GtxtFileO ()
 Default constructor.
 
 GtxtFileO (const string &fileName)
 File name constructor. More...
 
 GtxtFileO (const string &fileName, const bool &head)
 File name constructor with header specification. More...
 
 GtxtFileO (const GtxtFileO &in)=default
 Copy constructor.
 
GtxtFileOoperator= (const GtxtFileO &in)=default
 Copy assignment.
 
 GtxtFileO (GtxtFileO &&in)=default
 Move constructor.
 
GtxtFileOoperator= (GtxtFileO &&in)=default
 Move assignment.
 
 ~GtxtFileO ()
 Destructor.
 
void open ()
 Open stream to write.
 
- 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 ()
 Destructor.
 
virtual void close ()
 Close stream.
 
- 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 ()
 Destructor.
 

Friends

class GtxtFileI
 

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

Generic text file output class.

Writes text files.

Constructor & Destructor Documentation

◆ GtxtFileO() [1/2]

sampFiles::GtxtFileO::GtxtFileO ( const string &  fileName)
inline

File name constructor.

Parameters
[in]fileNamefile name including the extension

◆ GtxtFileO() [2/2]

sampFiles::GtxtFileO::GtxtFileO ( const string &  fileName,
const bool &  head 
)
inline

File name constructor with header specification.

Parameters
[in]fileNamefile name including the extension
[in]headheader presence
Here is the call graph for this function:

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