summaryrefslogtreecommitdiff
path: root/boost/gil/io/read_image_info.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/gil/io/read_image_info.hpp')
-rw-r--r--boost/gil/io/read_image_info.hpp42
1 files changed, 16 insertions, 26 deletions
diff --git a/boost/gil/io/read_image_info.hpp b/boost/gil/io/read_image_info.hpp
index a3c7e54f3e..cf19dc27a0 100644
--- a/boost/gil/io/read_image_info.hpp
+++ b/boost/gil/io/read_image_info.hpp
@@ -1,32 +1,22 @@
-/*
- Copyright 2007-2012 Christian Henning, Andreas Pokorny, Lubomir Bourdev
- Use, modification and distribution are subject to the Boost Software License,
- Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
- http://www.boost.org/LICENSE_1_0.txt).
-*/
-
-/*************************************************************************************************/
-
+//
+// Copyright 2007-2012 Christian Henning, Andreas Pokorny, Lubomir Bourdev
+//
+// Distributed under the Boost Software License, Version 1.0
+// See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt
+//
#ifndef BOOST_GIL_IO_READ_IMAGE_INFO_HPP
#define BOOST_GIL_IO_READ_IMAGE_INFO_HPP
-////////////////////////////////////////////////////////////////////////////////////////
-/// \file
-/// \brief
-/// \author Christian Henning, Andreas Pokorny, Lubomir Bourdev \n
-///
-/// \date 2007-2012 \n
-///
-////////////////////////////////////////////////////////////////////////////////////////
-
-#include <boost/type_traits/is_base_and_derived.hpp>
-#include <boost/mpl/and.hpp>
-#include <boost/utility/enable_if.hpp>
-
#include <boost/gil/io/base.hpp>
#include <boost/gil/io/device.hpp>
+#include <boost/gil/io/get_reader.hpp>
#include <boost/gil/io/path_spec.hpp>
+#include <boost/mpl/and.hpp>
+#include <boost/type_traits/is_base_and_derived.hpp>
+#include <boost/utility/enable_if.hpp>
+
namespace boost{ namespace gil {
/// \ingroup IO
@@ -58,7 +48,7 @@ read_image_info( Device& file
/// \brief Returns the image format backend. Backend is format specific.
/// \param file It's a device. Must satisfy is_adaptable_input_device metafunction.
-/// \param tag Defines the image format. Must satisfy is_format_tag metafunction.
+/// \param tag Defines the image format. Must satisfy is_format_tag metafunction.
/// \return image_read_info object dependent on the image format.
/// \throw std::ios_base::failure
template< typename Device
@@ -91,7 +81,7 @@ read_image_info( Device& file
template< typename String
, typename FormatTag
>
-inline
+inline
typename get_reader_backend< String
, FormatTag
>::type
@@ -108,13 +98,13 @@ read_image_info( const String& file_name
/// \brief Returns the image format backend. Backend is format specific.
/// \param file_name File name. Must satisfy is_supported_path_spec metafunction.
-/// \param tag Defines the image format. Must satisfy is_format_tag metafunction.
+/// \param tag Defines the image format. Must satisfy is_format_tag metafunction.
/// \return image_read_info object dependent on the image format.
/// \throw std::ios_base::failure
template< typename String
, typename FormatTag
>
-inline
+inline
typename get_reader_backend< String
, FormatTag
>::type