Audio Processing Framework (APF) version 0.5.0
Classes | Namespaces | Typedefs | Functions
container.h File Reference

Some containers. More...

#include <memory>
#include <vector>
#include <list>
#include <stdexcept>
#include <algorithm>
#include "apf/iterator.h"

Go to the source code of this file.

Classes

class  apf::fixed_vector< T, Allocator >
 Derived from std::vector, but without memory re-allocations. More...
 
class  apf::fixed_list< T, Allocator >
 Derived from std::list, but without re-sizing. More...
 
class  apf::fixed_matrix< T, Allocator >
 Two-dimensional data storage for row- and column-wise access. More...
 
class  apf::fixed_matrix< T, Allocator >::channels_iterator
 Iterator over fixed_matrix::Channels. More...
 
class  apf::fixed_matrix< T, Allocator >::slices_iterator
 Iterator over fixed_matrix::Slices. More...
 

Namespaces

namespace  apf
 Audio Processing Framework.
 

Typedefs

template<typename... Args>
using apf::internal::if_first_not_integral = typename std::enable_if< !std::is_integral< typename first< Args... >::type >::value >::type
 
template<typename X >
using apf::internal::if_integral = typename std::enable_if< std::is_integral< X >::value >::type
 
template<typename Arg , typename... Args>
using apf::internal::if_last_not_convertible = typename std::enable_if< !std::is_convertible< typename last< Args... >::type, Arg >::value >::type
 

Functions

template<typename L1 , typename L2 >
void apf::append_pointers (L1 &source, L2 &target)
 Append pointers to the elements of the first list to the second list. More...
 
template<typename L1 , typename L2 >
void apf::append_pointers (const L1 &source, L2 &target)
 Const-version of append_pointers() More...
 
template<typename L1 , typename L2 , typename DataMember >
void apf::distribute_list (L1 &source, L2 &target, DataMember member)
 Splice list elements from source to member lists of target. More...
 
template<typename L1 , typename L2 , typename DataMember , typename L3 >
void apf::undistribute_list (const L1 &source, L2 &target, DataMember member, L3 &garbage)
 The opposite of distribute_list() – sorry for the strange name! More...
 

Detailed Description

Some containers.

Definition in file container.h.

Typedef Documentation

◆ if_first_not_integral

template<typename... Args>
using apf::internal::if_first_not_integral = typedef typename std::enable_if< !std::is_integral<typename first<Args...>::type>::value>::type

Definition at line 55 of file container.h.

◆ if_integral

template<typename X >
using apf::internal::if_integral = typedef typename std::enable_if<std::is_integral<X>::value>::type

Definition at line 58 of file container.h.

◆ if_last_not_convertible

template<typename Arg , typename... Args>
using apf::internal::if_last_not_convertible = typedef typename std::enable_if< !std::is_convertible<typename last<Args...>::type, Arg>::value>::type

Definition at line 61 of file container.h.