mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-24 22:29:47 +01:00
removed ostream support from AutoDetectStream
This commit is contained in:
@@ -30,7 +30,6 @@ namespace Zip {
|
||||
AutoDetectStreamBuf::AutoDetectStreamBuf(std::istream& in, const std::string& pre, const std::string& post, bool reposition, Poco::UInt32 start):
|
||||
Poco::BufferedStreamBuf(STREAM_BUFFER_SIZE, std::ios::in),
|
||||
_pIstr(&in),
|
||||
_pOstr(0),
|
||||
_eofDetected(false),
|
||||
_matchCnt(0),
|
||||
_prefix(pre),
|
||||
@@ -42,21 +41,6 @@ AutoDetectStreamBuf::AutoDetectStreamBuf(std::istream& in, const std::string& pr
|
||||
}
|
||||
|
||||
|
||||
AutoDetectStreamBuf::AutoDetectStreamBuf(std::ostream& out):
|
||||
Poco::BufferedStreamBuf(STREAM_BUFFER_SIZE, std::ios::out),
|
||||
_pIstr(0),
|
||||
_pOstr(&out),
|
||||
_eofDetected(false),
|
||||
_matchCnt(0),
|
||||
_prefix(),
|
||||
_postfix(),
|
||||
_reposition(false),
|
||||
_start(0u),
|
||||
_length(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
AutoDetectStreamBuf::~AutoDetectStreamBuf()
|
||||
{
|
||||
}
|
||||
@@ -178,12 +162,6 @@ AutoDetectIOS::AutoDetectIOS(std::istream& istr, const std::string& pre, const s
|
||||
}
|
||||
|
||||
|
||||
AutoDetectIOS::AutoDetectIOS(std::ostream& ostr): _buf(ostr)
|
||||
{
|
||||
poco_ios_init(&_buf);
|
||||
}
|
||||
|
||||
|
||||
AutoDetectIOS::~AutoDetectIOS()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user