Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
gnFileContig Class Reference gnFileContig is used by source classes to track the location of sequence data on disk.
More...
#include <gnFileContig.h >
Inheritance diagram for gnFileContig::
List of all members.
Public Methods
gnFileContig ()
gnFileContig (string nameStr, const uint64 pos, const uint64 len)
gnFileContig (const gnFileContig &fc)
~gnFileContig ()
gnFileContig* Clone () const
void Clear ()
string GetName () const
gnSeqI GetSeqLength () const
pair<uint64 ,uint64 > GetFileStartEnd () const
uint64 GetFileLength () const
pair<uint64 ,uint64 > GetSectStartEnd (const gnContigSection i) const
uint64 GetSectLength (gnContigSection i) const
boolean HasRepeatSeqGap () const
pair<uint32 ,uint32 > GetRepeatSeqGapSize () const
boolean SetName (string nameStr)
boolean SetSeqLength (const gnSeqI len)
boolean AddToSeqLength (const gnSeqI len)
boolean SetFileStart (const uint64 s)
boolean SetFileEnd (const uint64 e)
boolean SetFileStartEnd (const pair< uint64 , uint64 > se)
boolean SetSectStart (const gnContigSection i, const uint64 s)
boolean SetSectEnd (const gnContigSection i, const uint64 e)
boolean SetSectStartEnd (const gnContigSection i, const pair< uint64 , uint64 > se)
boolean SetRepeatSeqGap (const boolean rsg)
boolean SetRepeatSeqGapSize (const pair< uint64 , uint64 > rsgSize)
boolean SetRepeatSeqSize (const uint64 seqSize)
boolean SetRepeatGapSize (const uint64 gapSize)
Private Attributes
string m_name
gnSeqI m_seqLength
pair<uint64 ,uint64 > m_fileStartEnd
pair<uint64 ,uint64 > m_startEndArray [CONTIG_SECTION_SIZE]
boolean m_repeatSeqGap
pair< uint64 , uint64 > m_repeatSeqGapSize
Detailed Description
gnFileContig is used by source classes to track the location of sequence data on disk.
gnFileContig stores the start and end byte offset, and the size of a repeated gap in the sequence data. Also stores whether the sequence data is in the expected format or if it is corrupted.
Definition at line 31 of file gnFileContig.h .
Constructor & Destructor Documentation
gnFileContig::gnFileContig (
)
gnFileContig::gnFileContig (
string nameStr ,
const uint64 pos ,
const uint64 len )
gnFileContig::gnFileContig (
const gnFileContig & fc )
gnFileContig::~gnFileContig (
)
Member Function Documentation
boolean gnFileContig::AddToSeqLength (
const gnSeqI len ) [inline]
void gnFileContig::Clear (
)
gnFileContig * gnFileContig::Clone (
) const [inline, virtual]
uint64 gnFileContig::GetFileLength (
) const [inline]
pair< uint64 , uint64 > gnFileContig::GetFileStartEnd (
) const [inline]
string gnFileContig::GetName (
) const [inline]
Definition at line 83 of file gnFileContig.h .
Referenced by gnSEQSource::GetContigID (), gnGBKSource::GetContigID (), gnFASSource::GetContigID (), gnSEQSource::GetContigName (), gnGBKSource::GetContigName (), gnFASSource::GetContigName (), gnABISource::GetContigName (), gnSEQSource::HasContig (), gnGBKSource::HasContig (), gnFASSource::HasContig (), and main ().
pair< uint32 , uint32 > gnFileContig::GetRepeatSeqGapSize (
) const [inline]
gnSeqI gnFileContig::GetSeqLength (
) const [inline]
boolean gnFileContig::HasRepeatSeqGap (
) const [inline]
boolean gnFileContig::SetName (
string nameStr ) [inline]
Member Data Documentation
string gnFileContig::m_name [private]
boolean gnFileContig::m_repeatSeqGap [private]
gnSeqI gnFileContig::m_seqLength [private]
The documentation for this class was generated from the following files:
Generated at Fri Nov 30 15:36:54 2001 for libGenome by
1.2.8.1 written by Dimitri van Heesch ,
© 1997-2001