sequence.h

来自「本程序是计算机视觉稠密匹配的程序」· C头文件 代码 · 共 25 行

H
25
字号
/*
 *
 *  All Contents Copyright 2000 by Jared Samet. All Rights Reserved.
 *
 */

#ifndef _SEQUENCE_H
#define _SEQUENCE_H

#define new DEBUG_NEW
 
class CSequence
{
public:
    CSequence(unsigned int* pLetters, unsigned int cLetters);	// makes a copy
    virtual ~CSequence();								        // bye-bye
	unsigned int Length(void);							        // how long?
	unsigned int& LetterAt(int i);						        // seq.LetterAt(4) ~ seq[4];
	void DumpSequence(void);							        // print it out
protected:
	unsigned int m_cLetters;							        // How long the sequence is
    unsigned int* m_pLetters;									// what the letters are (stored as ints, not null-terminated)
};

#endif

⌨️ 快捷键说明

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