1 #ifndef __JTOOLS__JTRANSFORMABLEMULTIHISTOGRAM__
2 #define __JTOOLS__JTRANSFORMABLEMULTIHISTOGRAM__
21 namespace JPP {
using namespace JTOOLS; }
34 template<
class JHistogram_t,
39 public JTransformable<JMapLength<JMaplist_t>::value, typename JHistogram_t::abscissa_type>
107 va_start(this->
ap, x);
137 for (
super_iterator i = this->super_begin(); i != this->super_end(); ++i) {
139 const array_type array = (*i).getKey();
145 histogram.transform(
get);
146 histogram.transform(put);
149 this->transformer.reset(transformer.
clone());
164 return object.transformer->read(in);
177 out << static_cast<const JMultiHistogram_t&>(object);
179 return object.transformer->
write(out);
Interface for binary output.
JMultiMap is a general purpose multidimensional map based on a type list of maps. ...
virtual clone_type clone() const =0
Get clone of this object.
virtual int write(const char *buffer, const int length)=0
Write byte array.
The template JSharedPointer class can be used to share a pointer to an object.
Interface for binary input.