| Mark Slee | e854063 | 2006-05-30 09:24:40 +0000 | [diff] [blame] | 1 | #ifndef T_SET_H | 
| 2 | #define T_SET_H | ||||
| 3 | |||||
| 4 | #include "t_type.h" | ||||
| 5 | |||||
| 6 | class t_set : public t_type { | ||||
| 7 | public: | ||||
| 8 | t_set(t_type* elem_type) : elem_type_(elem_type) {} | ||||
| 9 | ~t_set() {} | ||||
| 10 | |||||
| 11 | t_type* get_elem_type() const { return elem_type_; } | ||||
| 12 | bool is_set() const { return true; } | ||||
| 13 | |||||
| 14 | private: | ||||
| 15 | t_type* elem_type_; | ||||
| 16 | }; | ||||
| 17 | |||||
| 18 | #endif | ||||