remove \r
[extl.git] / extl / intelligence / ann / null_converter.h
blobe46b5a0e41ad1f3f4d13be86d203e516a2273ce3
1 /* ///////////////////////////////////////////////////////////////////////
2 * File: null_converter.h
4 * Created: 09.04.05
5 * Updated: 09.04.05
7 * Brief: The null_converter class
9 * [<Home>]
10 * Copyright (c) 2008-2020, Waruqi All rights reserved.
11 * //////////////////////////////////////////////////////////////////// */
13 #ifndef EXTL_INTELLIGENCE_ANN_NULL_CONVERTER_H
14 #define EXTL_INTELLIGENCE_ANN_NULL_CONVERTER_H
16 /*!\file null_converter.h
17 * \brief null_converter class
20 /* ///////////////////////////////////////////////////////////////////////
21 * Compatibility
23 #if !defined(EXTL_INTELLIGENCE_ANN_NETWORK_SUPPORT)
24 # error null_converter.h is not supported by the current compiler.
25 #endif
27 /* ///////////////////////////////////////////////////////////////////////
28 * Includes
30 #include "prefix.h"
32 /* ///////////////////////////////////////////////////////////////////////
33 * ::extl::intelligence namespace
35 EXTL_INTELLIGENCE_BEGIN_WHOLE_NAMESPACE
38 /*!brief null_converter
40 * \param InN the input demension
41 * \param OutN the output demension
43 * \ingroup extl_group_intelligence
45 template< e_size_t InN
46 , e_size_t OutN
48 class null_converter
50 /// \name Types
51 /// @{
52 public:
53 typedef null_converter class_type;
54 typedef e_size_t size_type;
55 typedef e_bool_t bool_type;
56 typedef e_size_t index_type;
57 typedef e_float_t float_type;
58 typedef typename_type_k vvector_selector<float_type>::vvector_type vector_type;
59 typedef vector_type floats_type;
60 typedef typename_type_k sample_selector<InN, OutN>::float_sample_type sample_type;
61 typedef typename_type_k buffer_selector<sample_type>::large_buffer_type samples_type;
62 /// @}
64 /// \name Methods
65 /// @{
66 public:
67 void convert_input(samples_type& /*sps*/) {}
68 void convert_input(sample_type& /*sp*/) {}
69 void restore_input(sample_type& /*sp*/) {}
70 /// @}
74 /* ///////////////////////////////////////////////////////////////////////
75 * ::extl::intelligence namespace
77 EXTL_INTELLIGENCE_END_WHOLE_NAMESPACE
79 /* //////////////////////////////////////////////////////////////////// */
80 #endif /* EXTL_INTELLIGENCE_ANN_NULL_CONVERTER_H */
81 /* //////////////////////////////////////////////////////////////////// */