#include <string.h>
#include "BroadcastStream.h"
namespace
{
namespace
{
::
()
:closed(
false
)
,position(
0
)
{
}
::
()
{
}
::
&
::
()
{
return
;
}
bool
::
()
const
{
return
false
;
}
bool
::
()
const
{
return
!
;
}
bool
::
()
const
{
return
false
;
}
bool
::
()
const
{
return
false
;
}
bool
::
()
const
{
return
false
;
}
bool
::
()
const
{
return
!
;
}
void
::
()
{
=
true
;
=-
1
;
}
::
()
const
{
return
;
}
::
()
const
{
return
;
}
void
::
(
)
{
CHECK_FAIL(L"BroadcastStream::Seek(pos_t)#Operation not supported.");
do
{
throw
(
L"BroadcastStream::Seek(pos_t)#Operation not supported."
);}
while
(
0
);
}
void
::
(
)
{
CHECK_FAIL(L"BroadcastStream::SeekFromBegin(pos_t)#Operation not supported.");
do
{
throw
(
L"BroadcastStream::SeekFromBegin(pos_t)#Operation not supported."
);}
while
(
0
);
}
void
::
(
)
{
CHECK_FAIL(L"BroadcastStream::SeekFromEnd(pos_t)#Operation not supported.");
do
{
throw
(
L"BroadcastStream::SeekFromEnd(pos_t)#Operation not supported."
);}
while
(
0
);
}
::
(
void
*
,
)
{
CHECK_FAIL(L"BroadcastStream::Read(void*, vint)#Operation not supported.");
do
{
throw
(
L"BroadcastStream::Read(void*, vint)#Operation not supported."
);}
while
(
0
);
}
::
(
void
*
,
)
{
for
(
=
0
;
i
<
.
();
i
++)
{
=
i
]->
(
,
);
CHECK_ERROR(written == _size, L"BroadcastStream::Write(void*, vint)#Failed to copy data to the output stream.");
do
{
if
(!(
written
==
))
throw
(
L"BroadcastStream::Write(void*, vint)#Failed to copy data to the output stream."
);}
while
(
0
);
}
+=
;
return
;
}
::
(
void
*
,
)
{
CHECK_FAIL(L"BroadcastStream::Peek(void*, vint)#Operation not supported.");
do
{
throw
(
L"BroadcastStream::Peek(void*, vint)#Operation not supported."
);}
while
(
0
);
}
}
}