00001 #ifndef STRING_CONST_EXP_H_
00002 #define STRING_CONST_EXP_H_
00003
00004 #include "const_expression.h"
00005
00006 namespace il
00007 {
00011 class string_const_exp : public il::const_expression
00012 {
00013 friend class boost::serialization::access;
00014
00015 template<class Archive>
00016 void serialize(Archive & ar, const unsigned int version)
00017 {
00018 ar & boost::serialization::base_object<il::const_expression>(*this);
00019 ar & str_const;
00020 }
00021 private:
00022 string str_const;
00023
00024 public:
00025 string_const_exp();
00026 string_const_exp(string str_const, type* t, location loc);
00027 virtual ~string_const_exp();
00028 virtual string to_string() const;
00029 string get_string();
00030 };
00031
00032 }
00033
00034 #endif