mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 02:18:04 +01:00
Remove trailing whitespace (#3668)
This commit is contained in:
@@ -31,9 +31,9 @@
|
||||
namespace Poco {
|
||||
|
||||
|
||||
template <typename ch, typename tr>
|
||||
template <typename ch, typename tr>
|
||||
class BasicMemoryStreamBuf: public std::basic_streambuf<ch, tr>
|
||||
/// BasicMemoryStreamBuf is a simple implementation of a
|
||||
/// BasicMemoryStreamBuf is a simple implementation of a
|
||||
/// stream buffer for reading and writing from a memory area.
|
||||
///
|
||||
/// This streambuf only supports unidirectional streams.
|
||||
@@ -145,7 +145,7 @@ public:
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
std::streamsize charsWritten() const
|
||||
{
|
||||
return static_cast<std::streamsize>(this->pptr() - this->pbase());
|
||||
@@ -158,7 +158,7 @@ public:
|
||||
this->setg(_pBuffer, _pBuffer, _pBuffer + _bufferSize);
|
||||
this->setp(_pBuffer, _pBuffer + _bufferSize);
|
||||
}
|
||||
|
||||
|
||||
private:
|
||||
char_type* _pBuffer;
|
||||
std::streamsize _bufferSize;
|
||||
@@ -184,13 +184,13 @@ class Foundation_API MemoryIOS: public virtual std::ios
|
||||
public:
|
||||
MemoryIOS(char* pBuffer, std::streamsize bufferSize);
|
||||
/// Creates the basic stream.
|
||||
|
||||
|
||||
~MemoryIOS();
|
||||
/// Destroys the stream.
|
||||
|
||||
MemoryStreamBuf* rdbuf();
|
||||
/// Returns a pointer to the underlying streambuf.
|
||||
|
||||
|
||||
protected:
|
||||
MemoryStreamBuf _buf;
|
||||
};
|
||||
@@ -203,7 +203,7 @@ public:
|
||||
MemoryInputStream(const char* pBuffer, std::streamsize bufferSize);
|
||||
/// Creates a MemoryInputStream for the given memory area,
|
||||
/// ready for reading.
|
||||
|
||||
|
||||
~MemoryInputStream();
|
||||
/// Destroys the MemoryInputStream.
|
||||
};
|
||||
@@ -216,7 +216,7 @@ public:
|
||||
MemoryOutputStream(char* pBuffer, std::streamsize bufferSize);
|
||||
/// Creates a MemoryOutputStream for the given memory area,
|
||||
/// ready for writing.
|
||||
|
||||
|
||||
~MemoryOutputStream();
|
||||
/// Destroys the MemoryInputStream.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user