ghmm_convertxmltoc.h

来自「General Hidden Markov Model Library 一个通用」· C头文件 代码 · 共 75 行

H
75
字号
/* * * created: 26 Feb 2002 by Wasinee Rungsarityotin * authors: Wasinee Rungsarityotin (rungsari@molgen.mpg.de) * file   : $Source$ * $Id: GHMM_convertXMLtoC.h 267 2003-04-24 17:24:07Z wasinee $ * revision date   : $Date: 2003-04-24 19:24:07 +0200 (Thu, 24 Apr 2003) $  ___copyright__  *//* This header can be read by both C and C++ compilers */#ifndef _GHMM_XML_H#define _GHMM_XML_H 1#include <stdlib.h> #ifdef __cplusplusextern "C" {typedef enum {  DISCRETE,  CONTINUOUS} model_enum;#include <ghmm/model.h>#include <ghmm/sdmodel.h>struct model_wrapper {  model_enum model_id;  void * model_pt;};typedef struct model_wrapper model_t;} /* extern C */#else typedef enum {  DISCRETE,  CONTINUOUS} model_enum;#include <ghmm/model.h>struct model_wrapper {  model_enum model_id;  void * model_pt;};typedef struct model_wrapper model_t;#endif/* * Prevent "name mangled" by C++ compiler * Declare a wrapper function to call C++ methods  */#ifdef __cplusplusextern "C" {#endif #if defined(__STDC__) || defined(__cplusplus)  /* ANSI C prototypes */  extern model_t* graphmldoc_cwrapper(char *filename);#else  /* K&R style */  extern model_t* graphmldoc_cwrapper(char *filename);#endif #ifdef __cplusplus}#endif #endif /*  end of header file */

⌨️ 快捷键说明

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