00001 /*============================================================================= 00002 * Product : OpenPL 00003 * File : plArray.h 00004 * Author : Juan-Manuel Ahuactzin 00005 * Creation : Wed Mar 21 11:52:28 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 _plArray_h 00019 #define _plArray_h 00020 00021 #include <plVariablesConjunction.h> 00022 #include <plSymbol.h> 00023 #include <plType.h> 00024 00025 /***************************************************************************** 00026 * Classes Definitions 00027 *****************************************************************************/ 00028 00029 00030 //============================================================================ 00035 class plArray : public plVariablesConjunction 00036 { 00037 00038 public: 00039 00047 plArray(const string &print_name, 00048 const plType &variable_type, 00049 const unsigned int &tab_dim, 00050 unsigned int first_dimension,...); 00051 00053 plArray(){}; 00054 00056 virtual ~plArray(){}; 00057 00060 plSymbol operator()(unsigned int first_index,...); 00061 plSymbol operator()(unsigned int first_index,...) const; 00062 00063 void destroy(); 00064 00065 00066 }; 00067 00068 #endif