📄 ghmm_gmlalphabet.h
字号:
/* * * created: 26 Feb 2002 by Wasinee Rungsarityotin * authors: Wasinee Rungsarityotin (rungsari@molgen.mpg.de) * file : $Source: /cvsroot/ghmm/ghmm/ghmm++/GHMM_GMLAlphabet.h,v $ * $Id: GHMM_GMLAlphabet.h,v 1.3 2003/04/24 17:23:57 wasinee Exp $ * revision date : $Date: 2003/04/24 17:23:57 $ _Copyright (C) 1998-2001, ZAIK/ZPR, Universit鋞 zu K鰈n _ _This program is free software; you can redistribute it and/or modify _it under the terms of the GNU General Public License as published by _the Free Software Foundation; either version 2 of the License, or _(at your option) any later version. _ _This program 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 General Public License for more details. _ _You should have received a copy of the GNU General Public License _along with this program; if not, write to the Free Software _Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA _ */#ifndef _GHMM_GMLALPHABET_H#define _GHMM_GMLALPHABET_H 1#include <xmlio/XMLIO_Element.h>#include <ghmm++/GHMM_Alphabet.h>#include <ghmm++/begin_code.h>#ifdef HAVE_NAMESPACESnamespace std {#endifclass GHMM_GMLAlphabet;/** */class GHMM_GMLAlphabet: public GHMM_Alphabet { public: enum READ_CHAR_TYPE { READ_SINGLE_CHAR, READ_NONE }; /** Constructor. */ GHMM_GMLAlphabet(); /** Destructor. */ ~GHMM_GMLAlphabet(); const int XMLIO_writeContent(XMLIO_Document& writer); protected: /** Called by GHMM_Document when a start tag is received. Tag and attributes are passed to this function. */ XMLIO_Element* XMLIO_startTag(const string& tag, XMLIO_Attributes &attrs); void XMLIO_endTag(const string& tag); void XMLIO_getCharacters(const string& characters); private: READ_CHAR_TYPE reading;};/** */class GHMM_GMLClassWriter: public GHMM_Alphabet { public: enum READ_CHAR_TYPE { READ_SINGLE_CHAR, READ_NONE }; /** Constructor. */ GHMM_GMLClassWriter(GHMM_Alphabet *alphabet); const int XMLIO_writeContent(XMLIO_Document& writer);};#ifdef HAVE_NAMESPACES}#endif#include <ghmm++/close_code.h>#endif /* _GHMM_ALPHABET_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -