dfirst_cursor.h

来自「一个类似STL的自动机的源代码库」· C头文件 代码 · 共 70 行

H
70
字号
/* * ASTL - the Automaton Standard Template Library. * C++ generic components for Finite State Machine handling. * Copyright (C) 2000 Vincent Le Maout (vlemaout@lexiquest.fr). *  * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. *  * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU * Lesser General Public License for more details. *  * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA * */// Template files for cursor definitions#ifndef ASTL_CURSORS_TEMPLATES#define ASTL_CURSORS_TEMPLATES#include <cursor.h>    // conceptstemplate < >class dfirst_cursor : public dfirst_cursor_concept{ public:  typedef dfirst_cursor self;  typedef               Tag;  typedef               State;  typedef               Alphabet;  dfirst_cursor()    { }  bool forward() {  }  Alphabet letter() const {  }  bool aim_final() const {  }  bool src_final() const {  }    State src() const {  }    State aim() const {  }  bool operator== (const self &x) const {  }  const Tag& src_tag() const {  }  const Tag& aim_tag() const {  }};#endif 

⌨️ 快捷键说明

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