proteinseq.h

来自「在任务级并行平台P2HP上开发的demo应用」· C头文件 代码 · 共 34 行

H
34
字号
// ProteinSeq.h: interface for the ProteinSeq class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_PROTEINSEQ_H__797F4545_1E94_41B8_91C6_5F1AF7C2428A__INCLUDED_)
#define AFX_PROTEINSEQ_H__797F4545_1E94_41B8_91C6_5F1AF7C2428A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class ProteinSeq  
{
public:
	ProteinSeq(CString& initialStr, int energe);
	virtual ~ProteinSeq();
	int getLength() const;
	int getRecorderEnergy() const;
	CString getSequence() const;
	CString getOriginStr() const;
	bool isReversed() const;
	void reverseSeq();
private:
	CString parseString( const CString& origin, int startPoint);
	int length;
	int recorderEnerge;
	CString originStr;
	CString sequence;
	bool reversed;
};

#endif // !defined(AFX_PROTEINSEQ_H__797F4545_1E94_41B8_91C6_5F1AF7C2428A__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?