libpsynth 0.2.1
Classes | Namespaces | Functions
/home/raskolnikov/dev/psynth/trunk/src/psynth/sound/frame_iterator.hpp File Reference

Time-stamp: <2010-11-03 13:35:35 raskolnikov> More...

#include <cassert>
#include <iterator>
#include <psynth/base/compat.hpp>
#include <psynth/sound/concept.hpp>
#include <psynth/sound/util.hpp>
#include <psynth/sound/frame.hpp>
Include dependency graph for frame_iterator.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  psynth::sound::is_iterator_adaptor< It >
 metafunction predicate determining whether the given iterator is a plain one or an adaptor over another iterator. More...
struct  psynth::sound::const_iterator_type< T * >
 The default implementation when the iterator is a C pointer is to use the standard constness semantics. More...
struct  psynth::sound::const_iterator_type< const T * >
struct  psynth::sound::iterator_is_mutable< It >
 Metafunction predicate returning whether the given iterator allows for changing its values. More...
struct  psynth::sound::iterator_is_mutable< T * >
 The default implementation when the iterator is a C pointer is to use the standard constness semantics. More...
struct  psynth::sound::iterator_is_mutable< const T * >
struct  psynth::sound::dynamic_step_type< Frame * >
struct  psynth::sound::dynamic_step_type< const Frame * >
struct  psynth::sound::channel_space_type< Frame * >
struct  psynth::sound::channel_space_type< const Frame * >
struct  psynth::sound::sample_mapping_type< Frame * >
struct  psynth::sound::sample_mapping_type< const Frame * >
struct  psynth::sound::is_planar< Frame * >
struct  psynth::sound::is_planar< const Frame * >
struct  psynth::sound::sample_type< Frame * >
struct  psynth::sound::sample_type< const Frame * >
struct  psynth::sound::byte_to_memunit< T >
 Support for frame iterator movement measured in memory units (bytes or bits) as opposed to frame type. More...

Namespaces

namespace  psynth
namespace  psynth::sound

Functions

template<typename P >
std::ptrdiff_t psynth::sound::memunit_step (const P *)
template<typename P >
std::ptrdiff_t psynth::sound::memunit_distance (const P *p1, const P *p2)
template<typename P >
void psynth::sound::memunit_advance (P *&p, std::ptrdiff_t diff)
template<typename P >
P * psynth::sound::memunit_advanced (const P *p, std::ptrdiff_t diff)
template<typename P >
P & psynth::sound::memunit_advanced_ref (P *p, std::ptrdiff_t diff)
 memunit_advanced_ref (shortcut to advancing a pointer by a given number of memunits and taking the reference in case the compiler is not smart enough)

Detailed Description

Time-stamp: <2010-11-03 13:35:35 raskolnikov>

Author:
Juan Pedro Bolivar Puente <raskolnikov@es.gnu.org>
Date:
Thu Oct 28 14:01:20 2010

Frame iterator.