/usr/include/libGenome-1.3/libGenome/gnDataBaseSource.h is in libgenome-1.3-dev 1.3.1-10.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | /////////////////////////////////////////////////////////////////////////////
// DataBase: gnDataBaseSource.h
// Purpose: Implements gnBaseSource for .DataBase files
// Description:
// Changes:
// Version: libGenome 0.5.1
// Author: Aaron Darling
// Modified by:
// Copyright: (c) Aaron Darling
// Licenses: See COPYING file for details
/////////////////////////////////////////////////////////////////////////////
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifndef _gnDataBaseSource_h_
#define _gnDataBaseSource_h_
#include "libGenome/gnDefs.h"
#include <string>
#include "gnBaseSource.h"
namespace genome {
/**
* Not yet implemented.
*/
class gnDataBaseSource : public gnBaseSource
{
public:
virtual ~gnDataBaseSourcee(){}
virtual gnDataBaseSource* Clone() const = 0;
virtual gnBaseSource* Clone() const = 0;
virtual boolean Open( std::string openString ) = 0;
virtual boolean Open() = 0;
virtual boolean Close() = 0;
virtual std::string GetOpenString() const = 0;
virtual uint32 GetContigListLength() const = 0;
virtual boolean HasContig( const std::string& name ) const = 0;
virtual uint32 GetContigID( const std::string& name ) const = 0;
virtual std::string GetContigName( const uint32 i ) const = 0;
virtual gnSeqI GetContigSeqLength( const uint32 i ) const = 0;
virtual const gnFilter* GetFilter() const = 0;
virtual boolean SetFilter( gnFilter* filter ) = 0;
virtual boolean Read( const uint64 pos, char* buf, uint32& bufLen) = 0;
virtual boolean SeqRead( const gnSeqI start, char* buf, uint32& bufLen, const uint32 contigI=ALL_CONTIGS ) = 0;
virtual gnGenomeSpec *GetSpec() const = 0;
private:
gnDataBaseSource(){}
};// class gnDataBaseSource
} // end namespace genome
#endif
// _gnDataBaseSource_h_
|