Changeset 24:efa33e16e135 in xplcommon for src/xplcommon/win32/StreamBuffer.h
- Timestamp:
- 01/02/13 06:53:35 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/xplcommon/win32/StreamBuffer.h
r23 r24 47 47 * Base class for stream reading and writing buffers. 48 48 */ 49 class StreamBuffer : public ::xplcommon::Buffer, public Completer, 50 public ::xplcommon::FailableReference<StreamBuffer> 49 class StreamBuffer : public ::xplcommon::Buffer, public Completer 51 50 { 52 51 protected: … … 64 63 */ 65 64 BufferedStream& getStream() const; 66 67 private:68 /**69 * Get the failable object.70 */71 const ::xplcommon::Failable& getFailable() const;72 73 /**74 * Get the failable object.75 */76 ::xplcommon::Failable& getFailable();77 78 friend class FailableReference<StreamBuffer>;79 65 }; 80 66 … … 98 84 //------------------------------------------------------------------------------ 99 85 100 inline const ::xplcommon::Failable& StreamBuffer::getFailable() const101 {102 return overlappable;103 }104 105 //------------------------------------------------------------------------------106 107 inline ::xplcommon::Failable& StreamBuffer::getFailable()108 {109 return overlappable;110 }111 112 //------------------------------------------------------------------------------113 114 86 } /* namespace xplcommon::win32 */ } /* namespace xplcommon */ 115 87
Note:
See TracChangeset
for help on using the changeset viewer.