1 #ifndef __JTOOLS__JTRANSFORMABLEMULTIFUNCTION__
2 #define __JTOOLS__JTRANSFORMABLEMULTIFUNCTION__
23 namespace JPP {
using namespace JTOOLS; }
36 template<
class JFunction_t,
41 public JTransformable<JMapLength<JMaplist_t>::value, typename JFunction_t::argument_type>
124 template<
class __JFunction_t,
class __JMaplist_t,
class __JDistance_t>
138 template<
class JHistogram_t,
class __JMaplist_t,
class __JDistance_t>
154 template<
class JMultiFunction_t>
155 void add(
const JMultiFunction_t& input)
157 for (
super_iterator i = this->super_begin(); i != this->super_end(); ++i) {
169 for (
typename function_type::iterator
j = f1.begin();
j != f1.end(); ++
j) {
189 template<
class ...Args>
224 for (
super_iterator i = this->super_begin(); i != this->super_end(); ++i) {
232 function.transform(
get);
233 function.transform(put);
236 this->transformer.reset(transformer.
clone());
252 return object.transformer->read(in);
265 out << static_cast<const multifunction_type&>(object);
267 return object.transformer->
write(out);
284 template<
class JHistogram_t,
285 class JHistogramMaplist_t,
286 class JHistogramDistance_t,
288 class JFunctionMaplist_t,
289 class JFunctionDistance_t>
Interface for binary output.
virtual int write(const char *buffer, const int length)=0
Write byte array.
virtual clone_type clone() const override
Get clone of this object.
The template JSharedPointer class can be used to share a pointer to an object.
do set_variable OUTPUT_DIRECTORY $WORKDIR T
Interface for binary input.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in