00001 /*============================================================================= 00002 * Product : OpenPL 00003 * File : plSymbol.h 00004 * Author : Juan-Manuel Ahuactzin 00005 * Creation : Wed Mar 21 11:49:21 2001 00006 * 00007 *============================================================================= 00008 * (c) Copyright 2000, Centre National de la Recherche Scientifique, 00009 * all rights reserved 00010 *============================================================================= 00011 * 00012 *------------------------- Description --------------------------------------- 00013 * 00014 * 00015 *----------------------------------------------------------------------------- 00016 */ 00017 00018 #ifndef _plSymbol_h 00019 #define _plSymbol_h 00020 00021 #include <plVariablesConjunction.h> 00022 #include <plType.h> 00023 00024 00025 /***************************************************************************** 00026 * Classes Definitions 00027 *****************************************************************************/ 00028 00029 00030 //============================================================================ 00034 class plSymbol : public plVariablesConjunction 00035 { 00036 00037 private: 00038 00039 00040 public: 00041 00044 plSymbol(const char *print_name, 00045 const plType &variable_type); 00046 00047 00050 plSymbol(const string &print_name, 00051 const plType &variable_type); 00052 00055 plSymbol(const string &print_name, 00056 const plSymbol & symbol); 00057 00059 plSymbol(); 00060 00061 00063 virtual ~plSymbol(){}; 00064 00066 friend class plArray; 00067 00068 00069 void destroy(); 00070 00071 }; 00072 00073 00074 #endif