19 #include "ICMessage.hpp"
20 #include "ICSerializerRapid.hpp"
21 #include <tobicore/TCException.hpp>
44 return this->classifiers.Get(name);
48 return this->classifiers.Get(name)->classes.Get(label);
52 return this->classifiers.Get(name)->classes.Get(label)->GetValue();
56 this->classifiers.Get(name)->classes.Get(label)->SetValue(value);
60 if(this->classifiers.Empty())
61 throw TCException(
"Ethernal sunshine of an empty message",
69 printf(
"[ICMessage::Dump] TOBI iC message for frame %d\n", GetBlockIdx());
75 while(cit != this->classifiers.End()) {
77 printf(
" + Classifier %s [\"%s\", ValueType=%d, LabelType=%d]\n",
83 printf(
" `--> Class Value=%.6f Label=%s\n",