Go to the documentation of this file. 1 #ifndef NPSTAT_STORABLEMULTIVARIATEFUNCTOR_HH_
2 #define NPSTAT_STORABLEMULTIVARIATEFUNCTOR_HH_
18 #include "Alignment/Geners/interface/ClassId.hh"
51 return (
typeid(*
this) ==
typeid(
r)) && this->
isEqual(r);
58 virtual gs::ClassId
classId()
const = 0;
59 virtual bool write(std::ostream& of)
const = 0;
63 static inline const char*
classname() {
return "npstat::StorableMultivariateFunctor"; }
64 static inline unsigned version() {
return 1; }
82 #endif // NPSTAT_STORABLEMULTIVARIATEFUNCTOR_HH_
const std::string & description() const
virtual gs::ClassId classId() const =0
Interface definition for multidimensional functors.
~StorableMultivariateFunctor() override
bool operator==(const StorableMultivariateFunctor &r) const
StorableMultivariateFunctor()
void validateDescription(const std::string &description) const
virtual bool isEqual(const StorableMultivariateFunctor &) const =0
bool operator!=(const StorableMultivariateFunctor &r) const
static unsigned version()
StorableMultivariateFunctor(const std::string &descr)
static const char * classname()
virtual bool write(std::ostream &of) const =0
static StorableMultivariateFunctor * read(const gs::ClassId &id, std::istream &in)
void setDescription(const std::string &newDescription)