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

📄 interpl.hh

📁 Source code for an Numeric Cmputer
💻 HH
字号:
/********************************************************************* Description: interpl.hh*   Mechanism for building lists of arbitrary NML messages, used by*   the canonical interface and interpreter to pass planned sequences*   to the HME.**   Derived from a work by Fred Proctor & Will Shackleford** Author:* License: GPL Version 2* System: Linux*    * Copyright (c) 2004 All rights reserved.** Last change:* $Revision: 1.5 $* $Author: yabosukz $* $Date: 2005/07/08 14:11:12 $********************************************************************/#ifndef INTERP_LIST_HH#define INTERP_LIST_HH#define MAX_NML_COMMAND_SIZE 1000// these go on the interp liststruct NML_INTERP_LIST_NODE {    int line_number;		// line number it was on    union _dummy_union {	int i;	long l;	double d;	float f;	long long ll;	long double ld;    } dummy;			// paranoid alignment variable.    union _command_union {	char commandbuf[MAX_NML_COMMAND_SIZE];	// the NML command;	int i;	long l;	double d;	float f;	long long ll;	long double ld;    } command;};// here's the interp list itselfclass NML_INTERP_LIST {  public:    NML_INTERP_LIST();    ~NML_INTERP_LIST();    int set_line_number(int line);    int get_line_number();    int append(NMLmsg &);    int append(NMLmsg *);    NMLmsg *get();    void clear();    void print();    int len();  private:     LinkedList * linked_list_ptr;    NML_INTERP_LIST_NODE temp_node;	// filled in and put on the list    int next_line_number;	// line number used to fill temp_node    int line_number;		// line number of node from get()};extern NML_INTERP_LIST interp_list;	/* NML Union, for interpreter */#endif

⌨️ 快捷键说明

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