| 35 | }; |
| 36 | |
| 37 | Variable::Variable( |
| 38 | const std::string& name, |
| 39 | const std::string& type, |
| 40 | const std::string& defaultValue) |
| 41 | { |
| 42 | name_ = name; |
| 43 | type_ = type; |
| 44 | defaultValue_ = defaultValue; |
| 45 | isBuffer_ = false; |
| 46 | constant_ = false; |
| 47 | |
| 48 | copyOf_ = NULL; |
| 49 | |
| 50 | flags_ = 0; |
| 51 | hostPtr_ = NULL; |
| 52 | } |
| 53 | |
| 54 | Variable::Variable() |
| 55 | { |