ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/zoe/trunk/AwayMessage.hpp
(Generate patch)

Comparing trunk/AwayMessage.hpp (file contents):
Revision 27 by douglas, 2004-07-17T19:21:04-07:00 vs.
Revision 39 by douglas, 2004-07-23T17:52:53-07:00

# Line 20 | Line 20 | public:
20          AwayMessage(const ext::String& message, const Stamp& stamp) :
21                  message(message), stamp(stamp) {}
22          const Stamp& getStamp() const { return stamp; }
23 <        operator const ext::String&() const; // %n, %d, etc.
23 >        operator ext::String() const;
24   };
25  
26 + inline std::ostream& operator<<(std::ostream& sout, const AwayMessage& message)
27 + {
28 +        return sout << ext::String(message);
29 + }
30 +
31   #endif // _AwayMessage_hpp_

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines