|
libpsynth 0.2.1
|
container interface over buffer range. More...
#include <buffer.hpp>

Public Types | |
| typedef Alloc::template rebind < unsigned char >::other | allocator_type |
| typedef range_type_from_frame < Frame, IsPlanar >::type | range |
| typedef range::const_type | const_range |
| typedef range::size_type | size_type |
| typedef range::value_type | value_type |
| typedef range::difference_type | difference_type |
| typedef range::reference | reference |
| typedef range::iterator | iterator |
| typedef const_range::iterator | const_iterator |
| typedef range::reverse_iterator | reverse_iterator |
| typedef const_range::reverse_iterator | const_reverse_iterator |
Public Member Functions | |
| buffer (size_type size=0, std::size_t alignment=0, const Alloc alloc_in=Alloc()) | |
| buffer (size_type size, const Frame &frame_in, std::size_t alignment, const Alloc alloc_in=Alloc()) | |
| buffer (const buffer &buf) | |
| template<typename F2 , bool IP2, typename Alloc2 > | |
| buffer (const buffer< F2, IP2, Alloc2 > &buf) | |
| buffer & | operator= (const buffer &buf) |
| template<typename Buf > | |
| buffer & | operator= (const Buf &buf) |
| ~buffer () | |
| Alloc & | allocator () |
| Alloc const & | allocator () const |
| size_type | size () const |
| void | swap (buffer &buf) |
| void | recreate (size_type size, std::size_t alignment=0, const Alloc alloc_in=Alloc()) |
| void | recreate (size_type size_, const Frame &frame_in, std::size_t alignment, const Alloc alloc_in=Alloc()) |
Friends | |
| template<typename F , bool P, typename A > | |
| const buffer< F, P, A >::range & | range (buffer< F, P, A > &buf) |
| template<typename F , bool P, typename A > | |
| const buffer< F, P, A > ::const_range | const_range (const buffer< F, P, A > &buf) |
container interface over buffer range.
Models BufferConcept, FrameBasedConcept
A 1D container whose elements are frames. It is templated over the frame type, a boolean indicating whether it should be planar, and an optional allocator.
Note that its element type does not have to be a frame. buffer can be instantiated with any Regular element, in which case it models the weaker RandomAccessBufferConcept and does not model FrameBasedConcept
| typedef Alloc::template rebind<unsigned char>::other psynth::sound::buffer< Frame, IsPlanar, Alloc >::allocator_type |
| typedef const_range::iterator psynth::sound::buffer< Frame, IsPlanar, Alloc >::const_iterator |
| typedef range::const_type psynth::sound::buffer< Frame, IsPlanar, Alloc >::const_range |
| typedef const_range::reverse_iterator psynth::sound::buffer< Frame, IsPlanar, Alloc >::const_reverse_iterator |
| typedef range::difference_type psynth::sound::buffer< Frame, IsPlanar, Alloc >::difference_type |
| typedef range::iterator psynth::sound::buffer< Frame, IsPlanar, Alloc >::iterator |
| typedef range_type_from_frame<Frame, IsPlanar>::type psynth::sound::buffer< Frame, IsPlanar, Alloc >::range |
| typedef range::reference psynth::sound::buffer< Frame, IsPlanar, Alloc >::reference |
| typedef range::reverse_iterator psynth::sound::buffer< Frame, IsPlanar, Alloc >::reverse_iterator |
| typedef range::size_type psynth::sound::buffer< Frame, IsPlanar, Alloc >::size_type |
| typedef range::value_type psynth::sound::buffer< Frame, IsPlanar, Alloc >::value_type |
| psynth::sound::buffer< Frame, IsPlanar, Alloc >::buffer | ( | size_type | size = 0, |
| std::size_t | alignment = 0, |
||
| const Alloc | alloc_in = Alloc() |
||
| ) | [inline, explicit] |
| psynth::sound::buffer< Frame, IsPlanar, Alloc >::buffer | ( | size_type | size, |
| const Frame & | frame_in, | ||
| std::size_t | alignment, | ||
| const Alloc | alloc_in = Alloc() |
||
| ) | [inline] |
| psynth::sound::buffer< Frame, IsPlanar, Alloc >::buffer | ( | const buffer< Frame, IsPlanar, Alloc > & | buf | ) | [inline] |
| psynth::sound::buffer< Frame, IsPlanar, Alloc >::buffer | ( | const buffer< F2, IP2, Alloc2 > & | buf | ) | [inline] |
| psynth::sound::buffer< Frame, IsPlanar, Alloc >::~buffer | ( | ) | [inline] |
| Alloc& psynth::sound::buffer< Frame, IsPlanar, Alloc >::allocator | ( | ) | [inline] |
| Alloc const& psynth::sound::buffer< Frame, IsPlanar, Alloc >::allocator | ( | ) | const [inline] |
| buffer& psynth::sound::buffer< Frame, IsPlanar, Alloc >::operator= | ( | const Buf & | buf | ) | [inline] |
| buffer& psynth::sound::buffer< Frame, IsPlanar, Alloc >::operator= | ( | const buffer< Frame, IsPlanar, Alloc > & | buf | ) | [inline] |
| void psynth::sound::buffer< Frame, IsPlanar, Alloc >::recreate | ( | size_type | size, |
| std::size_t | alignment = 0, |
||
| const Alloc | alloc_in = Alloc () |
||
| ) | [inline] |
| void psynth::sound::buffer< Frame, IsPlanar, Alloc >::recreate | ( | size_type | size_, |
| const Frame & | frame_in, | ||
| std::size_t | alignment, | ||
| const Alloc | alloc_in = Alloc() |
||
| ) | [inline] |
| size_type psynth::sound::buffer< Frame, IsPlanar, Alloc >::size | ( | ) | const [inline] |
| void psynth::sound::buffer< Frame, IsPlanar, Alloc >::swap | ( | buffer< Frame, IsPlanar, Alloc > & | buf | ) | [inline] |
| const buffer<F, P, A>::const_range const_range | ( | const buffer< F, P, A > & | buf | ) | [friend] |
| const buffer<F, P, A>::range& range | ( | buffer< F, P, A > & | buf | ) | [friend] |
1.7.4