Fix to include the stream-oriented descriptor and handle classes in the

documentation.
This commit is contained in:
chris_kohlhoff 2008-04-12 13:18:43 +00:00
parent 08a9a825a1
commit 669a845924
7 changed files with 3039 additions and 8 deletions

View File

@ -27,7 +27,8 @@
#include "asio/posix/stream_descriptor_service.hpp"
#include "asio/detail/throw_error.hpp"
#if defined(ASIO_HAS_POSIX_STREAM_DESCRIPTOR)
#if defined(ASIO_HAS_POSIX_STREAM_DESCRIPTOR) \
|| defined(GENERATING_DOCUMENTATION)
namespace asio {
namespace posix {
@ -44,7 +45,7 @@ namespace posix {
* @par Concepts:
* AsyncReadStream, AsyncWriteStream, Stream, SyncReadStream, SyncWriteStream.
*/
template <typename StreamDescriptorservice = stream_descriptor_service >
template <typename StreamDescriptorservice = stream_descriptor_service>
class basic_stream_descriptor
: public basic_descriptor<StreamDescriptorservice>
{
@ -294,6 +295,7 @@ public:
} // namespace asio
#endif // defined(ASIO_HAS_POSIX_STREAM_DESCRIPTOR)
// || defined(GENERATING_DOCUMENTATION)
#include "asio/detail/pop_options.hpp"

View File

@ -19,7 +19,8 @@
#include "asio/posix/basic_stream_descriptor.hpp"
#if defined(ASIO_HAS_POSIX_STREAM_DESCRIPTOR)
#if defined(ASIO_HAS_POSIX_STREAM_DESCRIPTOR) \
|| defined(GENERATING_DOCUMENTATION)
namespace asio {
namespace posix {
@ -31,6 +32,7 @@ typedef basic_stream_descriptor<> stream_descriptor;
} // namespace asio
#endif // defined(ASIO_HAS_POSIX_STREAM_DESCRIPTOR)
// || defined(GENERATING_DOCUMENTATION)
#include "asio/detail/pop_options.hpp"

View File

@ -36,7 +36,8 @@
# endif // !defined(BOOST_WINDOWS) && !defined(__CYGWIN__)
#endif // !defined(ASIO_DISABLE_POSIX_STREAM_DESCRIPTOR)
#if defined(ASIO_HAS_POSIX_STREAM_DESCRIPTOR)
#if defined(ASIO_HAS_POSIX_STREAM_DESCRIPTOR) \
|| defined(GENERATING_DOCUMENTATION)
namespace asio {
namespace posix {
@ -192,6 +193,7 @@ private:
} // namespace asio
#endif // defined(ASIO_HAS_POSIX_STREAM_DESCRIPTOR)
// || defined(GENERATING_DOCUMENTATION)
#include "asio/detail/pop_options.hpp"

View File

@ -27,7 +27,8 @@
#include "asio/windows/stream_handle_service.hpp"
#include "asio/detail/throw_error.hpp"
#if defined(ASIO_HAS_WINDOWS_STREAM_HANDLE)
#if defined(ASIO_HAS_WINDOWS_STREAM_HANDLE) \
|| defined(GENERATING_DOCUMENTATION)
namespace asio {
namespace windows {
@ -44,7 +45,7 @@ namespace windows {
* @par Concepts:
* AsyncReadStream, AsyncWriteStream, Stream, SyncReadStream, SyncWriteStream.
*/
template <typename StreamHandleService = stream_handle_service >
template <typename StreamHandleService = stream_handle_service>
class basic_stream_handle
: public basic_handle<StreamHandleService>
{
@ -294,6 +295,7 @@ public:
} // namespace asio
#endif // defined(ASIO_HAS_WINDOWS_STREAM_HANDLE)
// || defined(GENERATING_DOCUMENTATION)
#include "asio/detail/pop_options.hpp"

View File

@ -19,7 +19,8 @@
#include "asio/windows/basic_stream_handle.hpp"
#if defined(ASIO_HAS_WINDOWS_STREAM_HANDLE)
#if defined(ASIO_HAS_WINDOWS_STREAM_HANDLE) \
|| defined(GENERATING_DOCUMENTATION)
namespace asio {
namespace windows {
@ -31,6 +32,7 @@ typedef basic_stream_handle<> stream_handle;
} // namespace asio
#endif // defined(ASIO_HAS_WINDOWS_STREAM_HANDLE)
// || defined(GENERATING_DOCUMENTATION)
#include "asio/detail/pop_options.hpp"

View File

@ -33,7 +33,8 @@
# endif // defined(ASIO_HAS_IOCP)
#endif // !defined(ASIO_DISABLE_WINDOWS_STREAM_HANDLE)
#if defined(ASIO_HAS_WINDOWS_STREAM_HANDLE)
#if defined(ASIO_HAS_WINDOWS_STREAM_HANDLE) \
|| defined(GENERATING_DOCUMENTATION)
namespace asio {
namespace windows {
@ -169,6 +170,7 @@ private:
} // namespace asio
#endif // defined(ASIO_HAS_WINDOWS_STREAM_HANDLE)
// || defined(GENERATING_DOCUMENTATION)
#include "asio/detail/pop_options.hpp"

File diff suppressed because it is too large Load Diff