Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
utilities.hpp File Reference

Various utilities not specific to the image library. More...

#include "gil_config.hpp"
#include <functional>
#include <boost/config/no_tr1/cmath.hpp>
#include <cstddef>
#include <algorithm>
#include <utility>
#include <iterator>
#include <boost/static_assert.hpp>
#include <boost/type_traits.hpp>
#include <boost/mpl/size.hpp>
#include <boost/mpl/distance.hpp>
#include <boost/mpl/begin.hpp>
#include <boost/mpl/find.hpp>
#include <boost/mpl/range_c.hpp>
#include <boost/iterator/iterator_adaptor.hpp>
#include <boost/iterator/iterator_facade.hpp>
Include dependency graph for utilities.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  boost::gil::point2< T >
 2D point both axes of which have the same dimension typeModels: Point2DConcept More...
 
struct  boost::gil::point2< T >::axis< D >
 
struct  boost::gil::deref_base< ConstT, Value, Reference, ConstReference, ArgType, ResultType, IsMutable >
 Helper base class for pixel dereference adaptors. More...
 
class  boost::gil::deref_compose< D1, D2 >
 Composes two dereference function objects. More...
 
struct  boost::gil::detail::identity< T >
 identity taken from SGI STL. More...
 
struct  boost::gil::detail::plus_asymmetric< T1, T2 >
 plus function object whose arguments may be of different type. More...
 
struct  boost::gil::detail::inc< T >
 operator++ wrapped in a function object More...
 
struct  boost::gil::detail::dec< T >
 operator-- wrapped in a function object More...
 
struct  boost::gil::detail::type_to_index< Types, T >
 Returns the index corresponding to the first occurrance of a given given type in. More...
 
struct  boost::gil::layout< ColorSpace, ChannelMapping >
 Represents a color space and ordering of channels in memory. More...
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::gil
 
 boost::gil::detail
 

Functions

template<typename T >
bool boost::gil::operator== (const point2< T > &p1, const point2< T > &p2)
 
template<typename T >
bool boost::gil::operator!= (const point2< T > &p1, const point2< T > &p2)
 
template<typename T >
point2< Tboost::gil::operator+ (const point2< T > &p1, const point2< T > &p2)
 
template<typename T >
point2< Tboost::gil::operator- (const point2< T > &p)
 
template<typename T >
point2< Tboost::gil::operator- (const point2< T > &p1, const point2< T > &p2)
 
template<typename T >
point2< double > boost::gil::operator/ (const point2< T > &p, double t)
 
template<typename T >
point2< Tboost::gil::operator* (const point2< T > &p, std::ptrdiff_t t)
 
template<typename T >
point2< Tboost::gil::operator* (std::ptrdiff_t t, const point2< T > &p)
 
template<std::size_t K, typename T >
const Tboost::gil::axis_value (const point2< T > &p)
 
template<std::size_t K, typename T >
Tboost::gil::axis_value (point2< T > &p)
 
std::ptrdiff_t boost::gil::iround (float x)
 Rounding of real numbers / points to integers / integer points. More...
 
std::ptrdiff_t boost::gil::iround (double x)
 
std::ptrdiff_t boost::gil::ifloor (float x)
 
std::ptrdiff_t boost::gil::ifloor (double x)
 
std::ptrdiff_t boost::gil::iceil (float x)
 
std::ptrdiff_t boost::gil::iceil (double x)
 
point2< std::ptrdiff_t > boost::gil::iround (const point2< float > &p)
 
point2< std::ptrdiff_t > boost::gil::iround (const point2< double > &p)
 
point2< std::ptrdiff_t > boost::gil::ifloor (const point2< float > &p)
 
point2< std::ptrdiff_t > boost::gil::ifloor (const point2< double > &p)
 
point2< std::ptrdiff_t > boost::gil::iceil (const point2< float > &p)
 
point2< std::ptrdiff_t > boost::gil::iceil (const point2< double > &p)
 
template<typename T >
T boost::gil::align (T val, std::size_t alignment)
 computing size with alignment More...
 
template<typename OutPtr , typename In >
OutPtr boost::gil::gil_reinterpret_cast (In *p)
 
template<typename OutPtr , typename In >
const OutPtr boost::gil::gil_reinterpret_cast_c (const In *p)
 
template<class InputIter , class Size , class OutputIter >
std::pair< InputIter, OutputIter > boost::gil::detail::_copy_n (InputIter first, Size count, OutputIter result, std::input_iterator_tag)
 copy_n taken from SGI STL. More...
 
template<class RAIter , class Size , class OutputIter >
std::pair< RAIter, OutputIter > boost::gil::detail::_copy_n (RAIter first, Size count, OutputIter result, std::random_access_iterator_tag)
 
template<class InputIter , class Size , class OutputIter >
std::pair< InputIter, OutputIter > boost::gil::detail::_copy_n (InputIter first, Size count, OutputIter result)
 
template<class InputIter , class Size , class OutputIter >
std::pair< InputIter, OutputIter > boost::gil::detail::copy_n (InputIter first, Size count, OutputIter result)
 
template<typename Value , typename T1 , typename T2 >
void boost::gil::swap_proxy (T1 &left, T2 &right)
 A version of swap that also works with reference proxy objects. More...
 
bool boost::gil::little_endian ()
 Run-time detection of whether the underlying architecture is little endian. More...
 
bool boost::gil::big_endian ()
 Run-time detection of whether the underlying architecture is big endian. More...
 

Detailed Description

Various utilities not specific to the image library.

Some are non-standard STL extensions or generic iterator adaptors

Author
Lubomir Bourdev and Hailin Jin
Adobe Systems Incorporated
Date
2005-2007
Last updated on September 18, 2007