00001 #ifndef QUOTEDSTRING_H
00002 #define QUOTEDSTRING_H
00003
00004 #include <iosfwd>
00005 #include <string>
00006
00007
00012 class QuotedString
00013 {
00014 friend std::istream & operator>>(std::istream & is, QuotedString & str);
00015 public:
00018 QuotedString()
00019 : mStr()
00020 {
00021 }
00022
00027 const std::string & str() const
00028 {
00029 return mStr;
00030 }
00031
00032 private:
00034 std::string mStr;
00035 };
00036
00037
00040 std::istream & operator>>(std::istream & is, QuotedString & str);
00041
00042
00043 #endif
00044