⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 forward_cursor.h

📁 一个类似STL的自动机的源代码库
💻 H
字号:
/* * 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_FORWARD_CURSORS_TEMPLATES#define ASTL_FORWARD_CURSORS_TEMPLATES#include <cursor.h>    // conceptstemplate < >class forward_cursor : public forward_cursor_concept{public:  typedef forward_cursor         self;  typedef                        tag_type;  typedef                        state_type;  typedef                        char_traits;  typedef char_traits::char_type char_type;  forward_cursor()  { }    state_type src() const   { }  self& operator=(state_type p)   { }  bool sink() const   { }  state_type sink_state() const  { }    bool forward(const char_type &a)   { }  bool src_final() const   { }  const tag_type& src_tag() const    { }  bool exists(const char_type &a) const  { }  self& operator=(const self &x)   { }    bool operator==(const self &x) const   { }  char_type letter() const   { }  bool first_transition()   { }    bool next_transition()   { }  void forward()   { }  bool find(const char_type &a)    { }  state_type aim() const   { }  bool aim_final() const   { }  const tag_type& aim_tag() const   { }};#endif 

⌨️ 快捷键说明

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