📄 vxwlstlib.cpp
字号:
// vxwLstLib.cpp - simple linked list class// Copyright 1995-1999 Wind River Systems, Inc.#include "copyright_wrs.h"//// modification history// --------------------// 01b,23feb99,fle doc : made it refgen compliant// 01a,15jun95,srh written.//// IMPLEMENTS ../../../h/vxwLstLib.h VXWList#include "vxWorks.h"#include "vxwLstLib.h"VXWList::VXWList (const VXWList & aList) { lstInit (&list_); NODE * pLastNode = aList.last (); NODE * pNode = aList.first (); while (pNode) { add (pNode); if (pNode == pLastNode) break; pNode = aList.next (pNode); } }VXWList &VXWList::operator = (const VXWList & aList) { if (this != &aList) { lstFree (&list_); lstInit (&list_); NODE * pLastNode = aList.last (); NODE * pNode = aList.first (); while (pNode) { add (pNode); if (pNode == pLastNode) break; pNode = aList.next (pNode); } } return *this; }char __vxwLstLib_o; // for forced linking in src/config/cplus*.c
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -