libpsynth 0.2.1
Classes | Namespaces | Functions
/home/raskolnikov/dev/psynth/trunk/src/psynth/sound/util.hpp File Reference
#include <psynth/base/compat.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/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 util.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  psynth::sound::deref_base< ConstT, Value, Reference, ConstReference, ArgType, ResultType, IsMutable >
 Helper base class for pixel dereference adaptors. More...
class  psynth::sound::deref_compose< D1, D2 >
 Composes two dereference function objects. More...
struct  psynth::sound::detail::identity< T >
 identity taken from SGI STL. More...
struct  psynth::sound::detail::plus_asymmetric< T1, T2 >
 plus function object whose arguments may be of different type. More...
struct  psynth::sound::detail::inc< T >
 operator++ wrapped in a function object More...
struct  psynth::sound::detail::dec< T >
 operator-- wrapped in a function object More...
struct  psynth::sound::detail::type_to_index< Types, T >
 Returns the index corresponding to the first occurrance of a given given type in a given MPL RandomAccessSequence (or size if the type is not present) More...
struct  psynth::sound::layout< ChannelSpace, SampleMapping >
 Represents a channel space and ordering of samples in memory. More...

Namespaces

namespace  psynth
namespace  psynth::sound
namespace  psynth::sound::detail
 

interleaved_range_get_raw_data, planar_range_get_raw_data - return pointers to the raw data (the samples) of a basic homogeneous range.


Functions

std::ptrdiff_t psynth::sound::iround (float x)
std::ptrdiff_t psynth::sound::iround (double x)
std::ptrdiff_t psynth::sound::ifloor (float x)
std::ptrdiff_t psynth::sound::ifloor (double x)
std::ptrdiff_t psynth::sound::iceil (float x)
std::ptrdiff_t psynth::sound::iceil (double x)
template<typename T >
psynth::sound::align (T val, std::size_t alignment)
template<typename OutPtr , typename In >
PSYNTH_FORCEINLINE OutPtr psynth::sound::psynth_reinterpret_cast (In *p)
template<typename OutPtr , typename In >
PSYNTH_FORCEINLINE const OutPtr psynth::sound::psynth_reinterpret_cast_c (const In *p)
template<class InputIter , class Size , class OutputIter >
std::pair< InputIter, OutputIter > psynth::sound::detail::do_copy_n (InputIter first, Size count, OutputIter result, std::input_iterator_tag)
 copy_n taken from SGI STL.
template<class RAIter , class Size , class OutputIter >
std::pair< RAIter, OutputIter > psynth::sound::detail::do_copy_n (RAIter first, Size count, OutputIter result, std::random_access_iterator_tag)
template<class InputIter , class Size , class OutputIter >
std::pair< InputIter, OutputIter > psynth::sound::detail::do_copy_n (InputIter first, Size count, OutputIter result)
template<class InputIter , class Size , class OutputIter >
std::pair< InputIter, OutputIter > psynth::sound::detail::copy_n (InputIter first, Size count, OutputIter result)
template<typename Value , typename T1 , typename T2 >
void psynth::sound::swap_proxy (T1 &left, T2 &right)
 A version of swap that also works with reference proxy objects.
bool psynth::sound::little_endian ()
 Run-time detection of whether the underlying architecture is little endian.
bool psynth::sound::big_endian ()
 Run-time detection of whether the underlying architecture is big endian.