yat  0.10.4pre
Public Member Functions | Protected Member Functions | Protected Attributes
theplu::yat::omic::BamFile< Derived > Class Template Reference

#include </scratch/bob/jari/tmp/pristine/yat-0.10.x/yat/omic/BamFile.h>

Inheritance diagram for theplu::yat::omic::BamFile< Derived >:
noncopyable

List of all members.

Public Member Functions

 BamFile (void)
virtual ~BamFile (void)
 Destructor.
void close (void)
 close file
bool is_open (void) const

Protected Member Functions

void open_base (const std::string &fn, const std::string &mode, const void *aux)
const std::string & filename (void) const
 filename of bam file

Protected Attributes

samfile_t * sf_

Detailed Description

template<typename Derived>
class theplu::yat::omic::BamFile< Derived >

Base class for bam files

Since:
New in yat 0.10

Constructor & Destructor Documentation

template<class Derived >
theplu::yat::omic::BamFile< Derived >::BamFile ( void  )

Default Constructor

template<class Derived >
theplu::yat::omic::BamFile< Derived >::~BamFile ( void  )
virtual

Destructor.

Closes file if it is open.


Member Function Documentation

template<typename Derived>
const std::string& theplu::yat::omic::BamFile< Derived >::filename ( void  ) const
inlineprotected

filename of bam file

The filename is set in open_base().

template<class Derived >
bool theplu::yat::omic::BamFile< Derived >::is_open ( void  ) const
Returns:
true iff open
template<class Derived >
void theplu::yat::omic::BamFile< Derived >::open_base ( const std::string &  fn,
const std::string &  mode,
const void *  aux 
)
protected

open a bam file named fn with mode mode

See also:
samopen

Member Data Documentation

template<typename Derived>
samfile_t* theplu::yat::omic::BamFile< Derived >::sf_
protected

bam file handler


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

Generated on Mon Nov 11 2013 09:41:45 for yat by  doxygen 1.8.1