From ad20e1c8325534d9e646e71753ae402f7367cb08 Mon Sep 17 00:00:00 2001 From: Valk Richard Li <48872266+ValKmjolnir@users.noreply.github.com> Date: Thu, 8 Aug 2019 22:48:55 +0800 Subject: [PATCH] Delete nasal_list.h --- nasal_list.h | 60 ---------------------------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 nasal_list.h diff --git a/nasal_list.h b/nasal_list.h deleted file mode 100644 index a6d11d9..0000000 --- a/nasal_list.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef __NASAL_LIST_H__ -#define __NASAL_LIST_H__ - -#include -#include - - -namespace nasal -{ -#ifndef nil -#define nil -1 -#endif - -class var; - -struct ListUnit -{ - std::string Type; - void *data; - ListUnit* next; -}; - -class NasalList -{ - private: - ListUnit *head; - public: - NasalList(); - NasalList(NasalList &); - ~NasalList(); - void PrintList(); - void Append(void *,const char *); - void Append(void *,std::string &); - NasalList& operator=(const NasalList &); - void SetSize(const int); - NasalList SubVec(const int,const int); - var Pop(); - NasalList Sort(const int,const int); - ListUnit SearchElement(const int); -}; - -class var -{ - public: - std::string Type; - void *data; - bool isGlobal; - var() - { - data=NULL; - } - var(const var &); - ~var(); - var& operator=(const var &); - void Print(); -}; - -} - -#endif