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

📄 link_node.h

📁 这是处理语音信号的程序
💻 H
字号:
// file: link_node.h//// this is the header file for the linked list node class//// make sure definitions are only made once//#ifndef __ISIP_LINK_NODE#define __ISIP_LINK_NODE// isip include files//#ifndef __ISIP_INTEGRAL#include <integral.h>#endif#ifndef __ISIP_INTEGRAL_CONSTANTS#include <integral_constants.h>#endif// Link_node: a class that holds a bidirectional linked list//class Link_node {  //---------------------------------------------------------------------------  //  // protected data  //  //---------------------------------------------------------------------------protected:  // linked list node data  //  void_p item_d;                // the data contained here  Link_node* prev_d;            // the previous node in the list  Link_node* next_d;            // the next node in the list  //---------------------------------------------------------------------------  //  // public methods  //  //---------------------------------------------------------------------------public:    // required methods  //  char_1* name_cc();  volatile void error_handler_cc(char_1* method_name, char_1* message);  logical_1 debug_cc(FILE *fp, char_1* message);  int_4 size_cc();    // destructors/constructors  //  ~Link_node();  Link_node();                                       // default  Link_node(void_p link);                            // overloaded  Link_node(const Link_node& node);                  // copy  // insert / remove methods  //  logical_1 insert_cc(Link_node* node);  logical_1 remove_cc(Link_node* node);    // set data access methods  //  logical_1 set_item_cc(void_p item) {    item_d = item;    return ISIP_TRUE;  }    logical_1 set_prev_cc(Link_node* node) {    prev_d = node;    return ISIP_TRUE;  }    logical_1 set_next_cc(Link_node* node) {    next_d = node;    return ISIP_TRUE;  }    // get data access methods  //  void_p get_item_cc() {    return item_d;  }    Link_node* get_prev_cc() {    return prev_d;  }    Link_node* get_next_cc() {    return next_d;  }    //---------------------------------------------------------------------------  //  // private methods  //  //---------------------------------------------------------------------------private:};// end of file// #endif

⌨️ 快捷键说明

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