// // file name: block_item.h // written by Ee-Chien Chang // //--------------------------------------- // B L O C K I T E M //---------------------------------------- // this is almost same as class item // // I do not use inheritance, sub-class,...etc // I prefer simple, though tediuos programming. //---------------------------------------- // An interval. // //---------------------------------------- // this value of the request are infact // directly obtain from the USER. // So, most probably, they should form a simple square or circle. //---------------------------------------- #ifndef BLOCK_ITEM_H #define BLOCK_ITEM_H class block_item { public: block_item ( int l, int sr, int er , int sc, int ec, block_item * nextitem ) { level = l; st_row = sr; en_row = er; st_col = sc; en_col = ec; next = nextitem; } ~block_item (); int st_row; int en_row; int st_col; int en_col; int level; block_item * next; }; #endif