Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef BUNDLESTRING_H_
00009 #define BUNDLESTRING_H_
00010
00011 #include <string>
00012
00013 namespace dtn
00014 {
00015 namespace data
00016 {
00017 class BundleString : public std::string
00018 {
00019 public:
00020 BundleString(std::string value);
00021 BundleString();
00022 virtual ~BundleString();
00023
00028 size_t getLength() const;
00029
00030 private:
00031 friend std::ostream &operator<<(std::ostream &stream, const BundleString &bstring);
00032 friend std::istream &operator>>(std::istream &stream, BundleString &bstring);
00033 };
00034 }
00035 }
00036
00037 #endif