blob: fcc00e7b50cf3322819d9f39a2d97d49edba7f07 [file] [log] [blame]
Mark Slee31985722006-05-24 21:45:31 +00001#ifndef T_STRUCT_H
2#define T_STRUCT_H
3
4#include <vector>
5#include <string>
6
7#include "t_type.h"
8#include "t_list.h"
9
10class t_struct : public t_type {
11 public:
12 t_struct(std::string name, t_list* members) :
13 t_type(name), members_(members) {}
14 ~t_struct() {}
15
16 t_list* get_members() { return members_; }
17 bool is_struct() { return true; }
18
19 private:
20 t_list* members_;
21};
22
23#endif