3 #ifndef VISR_PML_VECTOR_PARAMETER_HPP_INCLUDED 4 #define VISR_PML_VECTOR_PARAMETER_HPP_INCLUDED 26 template<
typename ElementType>
struct VectorParameterType {};
28 template<>
struct VectorParameterType<float>
31 template<>
struct VectorParameterType<double>
34 template<>
struct VectorParameterType<std::complex<float> >
37 template<>
struct VectorParameterType<std::complex<double> >
46 template<
typename ElementType >
48 public TypedParameterBase<VectorParameter<ElementType>, VectorParameterConfig, VectorParameterType<ElementType>::ptype() >
70 static VectorParameter fromString( std::string
const & initString, std::size_t alignment = 0 );
76 static VectorParameter fromStream( std::istream & stream, std::size_t alignment = 0 );
82 static VectorParameter fromAudioFile( std::string
const & fileName, std::size_t alignment = 0 );
88 static VectorParameter fromTextFile( std::string
const & fileName, std::size_t alignment = 0 );
105 #endif // VISR_PML_VECTOR_PARAMETER_HPP_INCLUDED uint64_t ParameterType
Definition: parameter_type.hpp:13
Definition: vector_parameter.hpp:47
constexpr uint64_t compileTimeHashFNV1(const char *s)
Definition: compile_time_hash_fnv1.hpp:25
Definition: options.cpp:10
Definition: parameter_factory.hpp:20
Definition: parameter_config_base.hpp:22
#define DEFINE_PARAMETER_TYPE(ParameterClassType, ParameterId, ParameterConfigType)
Definition: parameter_type.hpp:60
Definition: basic_vector.hpp:28
Definition: vector_parameter_config.hpp:21